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

Copyright(c) 2011 Aleksey Khudyakov
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Statistics.Distribution.StudentT

Description

Student-T distribution

Synopsis

Documentation

data StudentT #

Student-T distribution

Instances

Eq StudentT # 
Data StudentT # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StudentT -> c StudentT #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StudentT #

toConstr :: StudentT -> Constr #

dataTypeOf :: StudentT -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StudentT) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StudentT) #

gmapT :: (forall b. Data b => b -> b) -> StudentT -> StudentT #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StudentT -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StudentT -> r #

gmapQ :: (forall d. Data d => d -> u) -> StudentT -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StudentT -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StudentT -> m StudentT #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StudentT -> m StudentT #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StudentT -> m StudentT #

Read StudentT # 
Show StudentT # 
Generic StudentT # 

Associated Types

type Rep StudentT :: * -> * #

Methods

from :: StudentT -> Rep StudentT x #

to :: Rep StudentT x -> StudentT #

ToJSON StudentT # 
FromJSON StudentT # 
Binary StudentT # 

Methods

put :: StudentT -> Put #

get :: Get StudentT #

putList :: [StudentT] -> Put #

ContGen StudentT # 

Methods

genContVar :: PrimMonad m => StudentT -> Gen (PrimState m) -> m Double #

Entropy StudentT # 

Methods

entropy :: StudentT -> Double #

MaybeEntropy StudentT # 
MaybeVariance StudentT # 
MaybeMean StudentT # 
ContDistr StudentT # 
Distribution StudentT # 
type Rep StudentT # 
type Rep StudentT = D1 (MetaData "StudentT" "Statistics.Distribution.StudentT" "statistics-0.13.3.0-5G6LnnwwEAsBXhZQyOoIJ5" True) (C1 (MetaCons "StudentT" PrefixI True) (S1 (MetaSel (Just Symbol "studentTndf") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))

studentT :: Double -> StudentT #

Create Student-T distribution. Number of parameters must be positive.

studentTUnstandardized #

Arguments

:: Double

Number of degrees of freedom

-> Double

Central value (0 for standard Student T distribution)

-> Double

Scale parameter

-> LinearTransform StudentT 

Create an unstandardized Student-t distribution.