Lab 10 handouts
From SeedWiki
Student Name ___________________________ Student ID ___________________________________
Poisson and exponential distribution
Wikipedia has very informative articles on Poisson distribution and Exponential distribution.
An important fact to remember: The intervals between successive Poisson events follow the Exponential distribution.
- Generate 100000 samples from a poisson distribution with λ = 0.1. Use poissrnd to generate the samples. Find the mean and variance of the samples. Plot the CDF.
- A:
- Use the above samples to generate samples from exponential distribution. Find the mean and variance of the samples from the exponential distribution. Plot the CDF.
- A:
- Generate 10000 samples from exponential distribution with λ = 0.3. Use exprnd function to generate the samples. Find the mean and variance of the samples. Plot the CDF.
- A:
- Now using the samples you generated from the exponential distribution in the last question to generate independent samples from Poisson distribution with λ = 0.3. Find the mean and variance. Plot the CDF.
- A: