Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed
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

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

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

More Books

Students also viewed these Mathematics questions

Question

1. Information that is currently accessible (recognition).

Answered: 1 week ago