Produces and examines random
integers (Monte Carlo). The simulation (such as Excel RANDBETWEEN)
is tested.
The expected values are:
μ = (nLO + nHI)
⁄ 2; σ² =
(K² − 1) ⁄ 12, with
K = nHI − nLO + 1
(cardinality).
Plots the simulated pdf, f(p),
and cdf, F(p), integral of the simulated.
Standard deviation...
Other suggested data: 1, 7 (μ,
σ = 4, 2); 1, 26 (13.5, 7.5);
52, 148 (100, 28). |