probability-0.1: Computations with discrete random variablesSource codeContentsIndex
NBoys
Description

Ceneralization of 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?

Documentation
data Child Source
Constructors
Boy
Girl
show/hide Instances
type Family = [Child]Source
birth :: Trans FamilySource
family :: Int -> Dist FamilySource
countBoys :: Family -> IntSource
boys :: Int -> Event FamilySource
nBoys :: Int -> Int -> Int -> ProbabilitySource
numBoys :: Int -> Int -> Dist IntSource
onlyBoys1 :: Int -> ProbabilitySource
Produced by Haddock version 2.1.0