Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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(tn

Explanation / 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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote