In this question we will build a function in R that will give a confidence inter
ID: 3059063 • Letter: I
Question
In this question we will build a function in R that will give a confidence interval for the mean of a normally distributed random variable We recall that, if X ~ N(, 2) with unknown and 2, then for an independent random sample Xi,.. . , Xn, with sample mean X and sample variance S2, a) Investigate the rnorm function in R, which can be used to generate random numbers from a normal distribution. For a mean and variance of your choice, run the rnorm command to produce 10 random numbers b) Investigate the qt function in R, which can be used to find values a such that P(tnExplanation / Answer
In this question we will build a function in R that will give a confidence interval for the mean of a normally distributed random variable We recall that, if X ~ N(, 2) with unknown and 2, then for an independent random sample Xi,.. . , Xn, with sample mean X and sample variance S2, a) Investigate the rnorm function in R, which can be used to generate random numbers from a normal distribution. For a mean and variance of your choice, run the rnorm command to produce 10 random numbers b) Investigate the qt function in R, which can be used to find values a such that P(tn
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.