Copyright | (c) 2010 Alexey Khudyakov |
---|---|
License | BSD3 |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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 Source #
Chi-squared distribution
Instances
chiSquaredNDF :: ChiSquared -> Int Source #
Get number of degrees of freedom
Constructors
chiSquared :: Int -> ChiSquared Source #
Construct chi-squared distribution. Number of degrees of freedom must be positive.
chiSquaredE :: Int -> Maybe ChiSquared Source #
Construct chi-squared distribution. Number of degrees of freedom must be positive.