statistics-0.16.1.2: A library of statistical types, data, and functions
Copyright (C) 2012 Edward Kmett
License BSD-style (see the file LICENSE)
Maintainer Edward Kmett <ekmett@gmail.com>
Stability provisional
Portability DeriveDataTypeable
Safe Haskell None
Language Haskell2010

Statistics.Distribution.Beta

Description

Synopsis

Documentation

data BetaDistribution Source #

The beta distribution

Instances

Instances details
Eq BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Data BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Methods

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

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

toConstr :: BetaDistribution -> Constr Source #

dataTypeOf :: BetaDistribution -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Read BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Show BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Generic BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

ToJSON BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

FromJSON BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Binary BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

ContGen BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Entropy BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

MaybeEntropy BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Variance BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

MaybeVariance BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Mean BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

MaybeMean BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

ContDistr BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

Distribution BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

type Rep BetaDistribution Source #
Instance details

Defined in Statistics.Distribution.Beta

type Rep BetaDistribution = D1 (' MetaData "BetaDistribution" "Statistics.Distribution.Beta" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' False ) ( C1 (' MetaCons "BD" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "bdAlpha") ' SourceUnpack ' SourceStrict ' DecidedStrict ) ( Rec0 Double ) :*: S1 (' MetaSel (' Just "bdBeta") ' SourceUnpack ' SourceStrict ' DecidedStrict ) ( 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