Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 5 Generate a random sample of size 500 using the I distribution with shape = 0.1 and rate=0.01. (hint: E(X) 10 e V(X)
Question 5 Generate a random sample of size 500 using the I distribution with shape = 0.1 and rate=0.01. (hint: E(X) 10 e V(X) = 1000) = Plot the denisity of this gamma function in appropriate plot. # Enter the appropriate R command here: Write the R code to generate a sample of 500 observation from this Gamma distribution. #Enter the appropriate R command here: Repeat this procedure 1000 times and for each time compute the sample mean of the obtained sample. #Enter the appropriate R command here: Plot a histogram with the sample means obtained and add normal density of the Central Limit Theorem approximation. #Enter the appropriate R command here: Find the 2.5% and 97.5% quantiles of the sample means. #Enter the appropriate R command here: Obtain the 2.5% and 97.5% quantiles of the Normal distribution with = 10 and = 100. # Enter the appropriate R command here: Comment on your findings.
Step by Step Solution
★★★★★
3.36 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
setseed 600 x rgamma 500shape01scale100 meanx 1 12607 histxprobTmainGammascale100 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started