| 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 | Haskell98 |
Statistics.Distribution.Beta
Contents
Description
- data BetaDistribution
- betaDistr :: Double -> Double -> BetaDistribution
- improperBetaDistr :: Double -> Double -> BetaDistribution
- bdAlpha :: BetaDistribution -> Double
- bdBeta :: BetaDistribution -> Double
Documentation
data BetaDistribution
The beta distribution
Instances
Constructor
Arguments
| :: Double | Shape parameter alpha |
| -> Double | Shape parameter beta |
| -> BetaDistribution |
Create beta distribution. Both shape parameters must be positive.
Arguments
| :: Double | Shape parameter alpha |
| -> Double | Shape parameter beta |
| -> BetaDistribution |
Create beta distribution. This construtor doesn't check parameters.
Accessors
bdAlpha :: BetaDistribution -> Double
Alpha shape parameter
bdBeta :: BetaDistribution -> Double
Beta shape parameter