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

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

# Documentation

data ChiSquared #

Chi-squared distribution

chiSquared :: Int -> ChiSquared #

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

chiSquaredNDF :: ChiSquared -> Int #

Get number of degrees of freedom