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

Copyright(c) 2009 Bryan O'Sullivan
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

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

Constructors

binomial

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

Accessors

bdTrials :: BinomialDistribution -> Int

Number of trials.