Question: Need help using R to compute confidence interval Question #2: (3 pts)(Use R to compute the Confidence Interval) (a) (2 pts) Generate 20 data points
Need help using R to compute confidence interval

Question #2: (3 pts)(Use R to compute the Confidence Interval) (a) (2 pts) Generate 20 data points from the standard Normal distribution N(O,l), and use t.test to (i) construct the 95% confidence interval of the mean; (ii) construct the 95% upper confidence bound of the mean. (b) (1 pts) Simulate 15 data points from the Normal distribution N(1,1) as group 1, and simulate another 15 data points from N(1.5,1) as group 2. Construct the 95% confidence interval for the difference in means
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
