probability-0.1: Computations with discrete random variablesSource codeContentsIndex
Boys
Description
Consider a family of two children. Given that there is a boy in the family, what is the probability that there are two boys in the family?
Documentation
data Child Source
Constructors
Boy
Girl
show/hide Instances
type Family = [Child]Source
birth :: Trans FamilySource
family :: Dist FamilySource
boys :: Int -> Event FamilySource
existsBoy :: Event FamilySource
familyWithBoy :: Dist FamilySource
twoBoys :: ProbabilitySource
countBoys :: Family -> IntSource
numBoys :: Dist IntSource
Produced by Haddock version 2.1.0