statistics-0.13.2.3: A library of statistical types, data, and functions

Copyright | (c) 2010 Alexey Khudyakov
License | BSD3
Maintainer | bos@serpentine.com
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell98

Statistics.Distribution.ChiSquared

Description

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
- chiSquared :: Int -> ChiSquared
- chiSquaredNDF :: ChiSquared -> Int

# Documentation

data ChiSquared Source

Chi-squared distribution

Instances

Eq ChiSquared Source |
Data ChiSquared Source |
Read ChiSquared Source |
Show ChiSquared Source |
Generic ChiSquared Source |
ToJSON ChiSquared Source |
FromJSON ChiSquared Source |
Binary ChiSquared Source |
ContGen ChiSquared Source |
Entropy ChiSquared Source |
MaybeEntropy ChiSquared Source |
Variance ChiSquared Source |
MaybeVariance ChiSquared Source |
Mean ChiSquared Source |
MaybeMean ChiSquared Source |
ContDistr ChiSquared Source |
Distribution ChiSquared Source |
type Rep ChiSquared Source |

chiSquared :: Int -> ChiSquared Source

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

chiSquaredNDF :: ChiSquared -> Int Source

Get number of degrees of freedom