Copyright | (c) 2010 Alexey Khudyakov |
---|---|

License | BSD3 |

Maintainer | bos@serpentine.com |

Stability | experimental |

Portability | portable |

Safe Haskell | None |

Language | Haskell98 |

The chi-squared distribution. This is a continuous probability distribution of sum of squares of k independent standard normal distributions. It's commonly used in statistical tests

## Synopsis

- data ChiSquared
- chiSquaredNDF :: ChiSquared -> Int
- chiSquared :: Int -> ChiSquared
- chiSquaredE :: Int -> Maybe ChiSquared

# Documentation

data ChiSquared #

Chi-squared distribution

## Instances

chiSquaredNDF :: ChiSquared -> Int #

Get number of degrees of freedom

# Constructors

chiSquared :: Int -> ChiSquared #

Construct chi-squared distribution. Number of degrees of freedom must be positive.

chiSquaredE :: Int -> Maybe ChiSquared #

Construct chi-squared distribution. Number of degrees of freedom must be positive.