
Statistical Methods with R
Unit B · Chapter 04 · Lecture 04b
Developed by Jeffrey M. Girard
Types of Estimates
The Normal Distribution
Central Limit Theorem
Confidence Intervals
Practical Matters
In statistical inference, we will often want two types of estimates…
What is our single best guess for the
value of the population parameter?
This is usually the sample statistic
Says nothing about uncertainty
e.g., I don’t know the average height of all adult men, but I will guess it equals the average height in my sample
What is a range of reasonable guesses for the value of the population parameter?
Usually the statistic plus/minus an amount reflecting uncertainty
e.g., Given sampling error, any number within 2.9 cm of my sample average is also a reasonable guess
Our uncertainty comes from the fact that sampling error causes different samples to yield different estimates
The sampling distribution shows what statistic values would be more or less common across many such samples
Reasonable values would be those where the sampling distribution is densest (i.e., the values that are the most commonly observed across different samples)
With less uncertainty (e.g., larger samples), the range of reasonable values will be tighter/narrower
Also called the Bell Curve or the Gaussian distribution
We write “x is normal with mean \mu and SD \sigma” as
x \sim \text{Normal}(\mu, \sigma)\\x \sim \mathcal{N}(\mu,\sigma)
\mathcal{N}(0,1) is the standard normal

Changing \mu shifts the distribution left (-) or right (+)
Changing \sigma expands (+) or contracts (-) the distribution
~68.3% of the Normal distribution falls within 1 SD of the mean
~95.4% of the Normal distribution falls within 2 SD of the mean
~99.7% of the Normal distribution falls within 3 SD of the mean
How many SDs contain a given percentage?
We want the middle 95%, so we cut the 5% in half
We thus calculate the 2.5th and 97.5th percentiles
qnorm() does this for the Normal distribution
Our interval should cover the densest part of the sampling distribution
95% of the density of a normal distribution is within ~1.96 SD of the mean
The SD of the sampling distribution is the standard error (SE) of the statistic
So, if we assume the sampling distribution is normally distributed, then…
Our interval estimate is the sample statistic plus/minus 1.96 * SE
\text{CI}_{95} = \bar{x} \pm (1.96 \times s_{\bar{x}})
This is the 95% Confidence Interval (CI), and more on it soon
But this parametric approach all hinges on the assumption of normality (#4)…
What happens to the sampling distribution of \bar{x}
when x itself is not normally distributed?
The sampling distribution of \bar{x} will become more normal
as n increases (even if x itself is not normally distributed)
\text{CI}_{95}= \bar{x}\pm\left(1.96\times\frac{\sigma}{\sqrt{n}}\right)
However, this requires that we know \sigma, the population SD
Usually we estimate \sigma using s, the sample SD
This estimation introduces a bit more uncertainty…
qnorm()qt()As df increases, t(\textit{df},\mu,\sigma) becomes increasingly normal
Sometimes you’ll also see df referred to as \nu
When n is small, the t multiplier is higher (more uncertainty)
As n increases, the multipliers become increasingly similar
\text{CI}_{\%}=\bar{x}\pm z \left(\frac{\sigma}{\sqrt{n}}\right)
Estimate mean and SE
I will teach you easier ways to calculate CIs in R soon.
Always report point and interval estimates together
In text, use this format:
You can also put point and interval estimates in a table or a figure (though be sure to specify that they are X% CIs)
Example Table
| Parameter | Estimate | 95% CI |
|---|---|---|
| Mean Eval | 3.91 | [3.81, 4.00] |
Example Figure


It is common to misinterpret what confidence intervals mean
Incorrect Interpretation
“There is a 95% probability that the population parameter value lies within the 95% CI.”
The above is incorrect because it does not align with the frequentist view of probability
Bayesian interval estimates (credible intervals) actually can be interpreted this way
The correct frequentist interpretation is quite a mouthful
Correct Interpretation
“If we repeated the experiment over and over again (with different samples of the same size) and computed the 95% CI in each sample, then 95% of those intervals would contain the population parameter value.”
Alternatives that are reasonable shortcuts
Acceptable Interpretations
“We can be 95% confident that the 95% CI contains the population mean.”
“The 95% CI contains highly reasonable estimates of the population mean.”
The first alternative isn’t my favorite as it implies a view of probability as belief (which isn’t very frequentist)
Let’s estimate the mean sleep satisfaction of all grad students, using a sample of 16
Calculate the pieces
“We estimate that the mean sleep satisfaction among all grad students is 68.75, 95% CI: [57.78, 79.72]. Thus, our best guess for this value is 68.75 but, given sampling error, any number from 57.78 to 79.72 would also be a highly reasonable guess.”