probability-0.2.2.1: Probabilistic Functional Programming

Numeric.Probability.Example.NBoys

Contents

Description

Ceneralization of Numeric.Probability.Example.Boys

Consider a family of n children. Given that there are k boys in the family, what is the probability that there are m boys in the family?

Synopsis

Documentation

Special cases

onlyBoys1 :: Int -> ProbabilitySource

only boys in a family that has one boy