HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestatistics-0.16.3.0Haskell2010

Statistics.Distribution.Beta

  • 1 type
  • 6 values
datadata BetaDistribution
#

The beta distribution

Instances18Eq, Data, Read, Show, Generic, Binary, …

Constructor

4 declarations
valueimproperBetaDistr
  1. :: Double

    Shape parameter alpha

  2. -> Double

    Shape parameter beta

  3. -> 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.

valueimproperBetaDistrE
  1. :: Double

    Shape parameter alpha

  2. -> Double

    Shape parameter beta

  3. -> 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

2 declarations