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

Statistics.Distribution.ChiSquared

Contents

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

# Documentation

Chi-squared distribution

Instances

 Source # Methods Source # Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChiSquared -> c ChiSquared #gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChiSquared #dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ChiSquared) #dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChiSquared) #gmapT :: (forall b. Data b => b -> b) -> ChiSquared -> ChiSquared #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChiSquared -> r #gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChiSquared -> r #gmapQ :: (forall d. Data d => d -> u) -> ChiSquared -> [u] #gmapQi :: Int -> (forall d. Data d => d -> u) -> ChiSquared -> u #gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChiSquared -> m ChiSquared #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChiSquared -> m ChiSquared #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChiSquared -> m ChiSquared # Source # Methods Source # MethodsshowList :: [ChiSquared] -> ShowS # Source # Associated Typestype Rep ChiSquared :: * -> * # Methods Source # MethodstoJSONList :: [ChiSquared] -> Value # Source # Methods Source # MethodsputList :: [ChiSquared] -> Put # Source # MethodsgenContVar :: PrimMonad m => ChiSquared -> Gen (PrimState m) -> m Double Source # Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods type Rep ChiSquared Source # type Rep ChiSquared = D1 (MetaData "ChiSquared" "Statistics.Distribution.ChiSquared" "statistics-0.14.0.1-5c5AR88qYXNBEkm1yvRri0" True) (C1 (MetaCons "ChiSquared" PrefixI True) (S1 (MetaSel (Just Symbol "chiSquaredNDF") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Get number of degrees of freedom

# Constructors

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

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