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 |
Synopsis
- data BetaDistribution
- betaDistr :: Double -> Double -> BetaDistribution
- betaDistrE :: Double -> Double -> Maybe BetaDistribution
- improperBetaDistr :: Double -> Double -> BetaDistribution
- improperBetaDistrE :: Double -> Double -> Maybe BetaDistribution
- bdAlpha :: BetaDistribution -> Double
- bdBeta :: BetaDistribution -> Double
Documentation
data BetaDistribution Source #
The beta distribution
Instances
Constructor
:: Double |
Shape parameter alpha |
-> Double |
Shape parameter beta |
-> BetaDistribution |
Create beta distribution. Both shape parameters must be positive.
:: Double |
Shape parameter alpha |
-> Double |
Shape parameter beta |
-> Maybe BetaDistribution |
Create beta distribution. Both shape parameters must be positive.
:: 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.
:: 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