Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, could you please solve this question using R? Thank you so much! 2. (a) Consider random variable X1, X2,..., X, from a Poisson distribution

Hi, could you please solve this question using R? Thank you so much!

image text in transcribed
2. (a) Consider random variable X1, X2,..., X, from a Poisson distribution with 2 = 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Discrete Mathematics With Applications

Authors: Susanna S Epp, Robert Gatewood,

4th Edition

1133168663, 9781133168669

More Books

Students also viewed these Mathematics questions

Question

2. What do the others in the network want to achieve?

Answered: 1 week ago

Question

1. What do I want to achieve?

Answered: 1 week ago