Suppose X has a Poisson distribution whose parameter value is the outcome of an independent exponential random

Question:

Suppose X has a Poisson distribution whose parameter value is the outcome of an independent exponential random variable with parameter μ. 

(i) Write an R function exppois(k,μ) for simulating k copies of such a random variable. 

(ii) Use your function to estimate E[X] for the case μ = 1 and match up with the result of Example 8.7.

Distribution
The word "distribution" has several meanings in the financial world, most of them pertaining to the payment of assets from a fund, account, or individual security to an investor or beneficiary. Retirement account distributions are among the most...
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: