Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please input every question into R. thank you! 2. (a) Consider random variable X1, X2,..., X,. from a Poisson distribution with 2 = 2. State

Please input every question into R. thank you!

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 Poisson distribution with 2 = 2. 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_2

Step: 3

blur-text-image_3

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

Finite Math And Applied Calculus

Authors: Stefan Waner, Steven Costenoble

2nd Edition

0534366309, 9780534366308

More Books

Students also viewed these Mathematics questions