Question: Hi, could you please solve this question using R? Please show me every steps used in R clearly. Thank you very much! Really appreciate that.

Hi, could you please solve this question using R? Please show me every steps used in R clearly. Thank you very much! Really appreciate that.

Hi, could you please solve this question using R? Please show me

2. (a) Consider random variable X1, X2,..., X, from a Poisson distribution with a = 2. State the probability density function (pdf) and its parameter(s). Compute the expected value and the variance of the random variable. (4 marks) b) Generate random sample of size n = 30 from the assigned distribution. Calculate the sample mean and sample standard deviation of the generated sample, give your answer in 3 decimal places. (5 marks) c) Calculate a 95% confidence interval based on sample generated in part b). Assuming it is normally distributed. (4 marks) d) Perform 1,000 repetitions from part (b). Plot the histograms and compute the E[ X ] and Var( X) . Comment on your findings in the context of the central limit theorem. (15 marks) e) Calculate a 95% confidence interval based on the 1,000 samples in part d). (4 marks) f) Compare the answer of confidence intervals in part c) and e). Which confidence interval do you prefer more? Justify your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!