If say a question on exam 2 asks you to find the 95% confidence interval for which ...blah blah..
Are you supposed to use mean+- 2sd or find the exam 95% interval by using invNorm function?
Like on MAV 2012, they used mean+-2sd for it, but I'm not sure?
What do you think!?
CI for what random variable? CI differs greatly depending on what the distribution is for the random variable you're trying to create a prediction interval for.
Consider a sequence of random variables X_i's which are independent and identically distributed. We can derive a
)
% CI for

, the mean of this random variable.
Consider the estimator

Using the central limit theorem:
 \implies \frac{\bar{X} - \mu}{\frac{\sigma}{\sqrt{n}}} \rightarrow^{D} N(0,1))
So
 = 1-\alpha)
where

denotes the

percentile of the standard normal.
Thus the CI for

is

But the CI will differ (although not vastly), if say we didn't know

, we would need to estimate it with
^2})
Then our distribution would become the student's t-distribution.
So the CI will be

where

denotes the

percentile of a t distribution.
We could also create CI's for variances, ratio of variances, differences in means, the parameter p in a binomial distribution etc