statistics-0.16.1.2: A library of statistical types, data, and functions
Copyright (c) 2009 Bryan O'Sullivan
License BSD3
Maintainer bos@serpentine.com
Stability experimental
Portability portable
Safe Haskell None
Language Haskell2010

Statistics.Distribution.Binomial

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

data BinomialDistribution Source #

The binomial distribution.

Instances

Instances details
Eq BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Data BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Read BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Show BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Generic BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

ToJSON BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

FromJSON BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Binary BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Entropy BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

MaybeEntropy BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Variance BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

MaybeVariance BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Mean BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

MaybeMean BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

DiscreteDistr BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

Distribution BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

type Rep BinomialDistribution Source #
Instance details

Defined in Statistics.Distribution.Binomial

type Rep BinomialDistribution = D1 (' MetaData "BinomialDistribution" "Statistics.Distribution.Binomial" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' 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

binomial Source #

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

binomialE Source #

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