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

Statistics.Distribution.Binomial

Contents

Description

The binomial distribution. This is the discrete probability distribution of the number of successes in a sequence of n independent yes/no experiments, each of which yields success with probability p.

Synopsis

# Documentation

The binomial distribution.

Instances
 Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BinomialDistribution -> c BinomialDistribution #gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BinomialDistribution #dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BinomialDistribution) #dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BinomialDistribution) #gmapT :: (forall b. Data b => b -> b) -> BinomialDistribution -> BinomialDistribution #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BinomialDistribution -> r #gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BinomialDistribution -> r #gmapQ :: (forall d. Data d => d -> u) -> BinomialDistribution -> [u] #gmapQi :: Int -> (forall d. Data d => d -> u) -> BinomialDistribution -> u #gmapM :: Monad m => (forall d. Data d => d -> m d) -> BinomialDistribution -> m BinomialDistribution #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BinomialDistribution -> m BinomialDistribution #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BinomialDistribution -> m BinomialDistribution # Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Associated Typestype Rep BinomialDistribution :: Type -> Type # Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial MethodsputList :: [BinomialDistribution] -> Put # Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial Methods Source # Instance detailsDefined in Statistics.Distribution.Binomial type Rep BinomialDistribution = D1 (MetaData "BinomialDistribution" "Statistics.Distribution.Binomial" "statistics-0.15.2.0-FCVAYbUNN6k6ys2hOZ1wTy" False) (C1 (MetaCons "BD" PrefixI True) (S1 (MetaSel (Just "bdTrials") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "bdProbability") SourceUnpack SourceStrict DecidedStrict) (Rec0 Double)))

# Constructors

Arguments

 :: Int Number of trials. -> Double Probability. -> BinomialDistribution

Construct binomial distribution. Number of trials must be non-negative and probability must be in [0,1] range

Arguments

 :: Int Number of trials. -> Double Probability. -> Maybe BinomialDistribution

Construct binomial distribution. Number of trials must be non-negative and probability must be in [0,1] range

# Accessors

Number of trials.

Probability.