Estimate the mean and variance of a Poisson random variable whose mean is 7.2
by simulating 10000 Poisson pseudorandom numbers. Compare with the
theoretical values.
Please include R-code
R-code Input:
R-code output:
Here we get,
Theoretical mean=7.2
Theoretical variance=7.2
Sample mean=7.2212
Sample variance=7.180271
Both sample and theoretical values are nearly equal
Get Answers For Free
Most questions answered within 1 hours.