variance :: BinomialDistribution -> Double
variance (BD n p) = fromIntegral n * p * (1 - p)
variance :: BinomialDistribution -> Double
variance (BD n p) = fromIntegral n * p * (1 - p)
variance (BD n p) = fromIntegral n * p * (1 - p)