Exercise

Exercise 4 - Confidence Interval Calculation

We will use \(\bar{X}\) as our estimate of the heights in the population from our sample size \(N\). We know from previous exercises that the standard estimate of our error \(\bar{X}-\mu\) is \(\sigma/\sqrt{N}\).

Construct a 95% confidence interval for \(\mu\).

Instructions

100 XP
  • Use the sd and sqrt functions to define the standard error se
  • Calculate the 95% confidence intervals using the qnorm function. Save the lower then the upper confidence interval to a variable called ci.