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

Copyright(C) 2012 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
PortabilityDeriveDataTypeable
Safe HaskellNone
LanguageHaskell98

Statistics.Distribution.Beta

Contents

Description

 

Synopsis

Documentation

data BetaDistribution Source #

The beta distribution

Instances

Eq BetaDistribution Source # 
Data BetaDistribution Source # 

Methods

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

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

toConstr :: BetaDistribution -> Constr #

dataTypeOf :: BetaDistribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BetaDistribution Source # 
Show BetaDistribution Source # 
Generic BetaDistribution Source # 
ToJSON BetaDistribution Source # 
FromJSON BetaDistribution Source # 
Binary BetaDistribution Source # 
ContGen BetaDistribution Source # 
Entropy BetaDistribution Source # 
MaybeEntropy BetaDistribution Source # 
Variance BetaDistribution Source # 
MaybeVariance BetaDistribution Source # 
Mean BetaDistribution Source # 
MaybeMean BetaDistribution Source # 
ContDistr BetaDistribution Source # 
Distribution BetaDistribution Source # 
type Rep BetaDistribution Source # 
type Rep BetaDistribution = D1 (MetaData "BetaDistribution" "Statistics.Distribution.Beta" "statistics-0.14.0.0-9xPMo3QbnR7BEP0FkvUcUB" False) (C1 (MetaCons "BD" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "bdAlpha") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double)) (S1 (MetaSel (Just Symbol "bdBeta") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double))))

Constructor

betaDistr Source #

Arguments

:: Double

Shape parameter alpha

-> Double

Shape parameter beta

-> BetaDistribution 

Create beta distribution. Both shape parameters must be positive.

betaDistrE Source #

Arguments

:: Double

Shape parameter alpha

-> Double

Shape parameter beta

-> Maybe BetaDistribution 

Create beta distribution. Both shape parameters must be positive.

improperBetaDistr Source #

Arguments

:: Double

Shape parameter alpha

-> Double

Shape parameter beta

-> BetaDistribution 

Create beta distribution. Both shape parameters must be non-negative. So it allows to construct improper beta distribution which could be used as improper prior.

improperBetaDistrE Source #

Arguments

:: Double

Shape parameter alpha

-> Double

Shape parameter beta

-> Maybe BetaDistribution 

Create beta distribution. Both shape parameters must be non-negative. So it allows to construct improper beta distribution which could be used as improper prior.

Accessors

bdAlpha :: BetaDistribution -> Double Source #

Alpha shape parameter

bdBeta :: BetaDistribution -> Double Source #

Beta shape parameter