\(X\) is a random variable.
If the number of samples \(N\) is large enough, then \[\overline X \sim \text{Normal}\left(E[X], \frac{SD[X]}{\sqrt{N}}\right)\]
\[X = \begin{cases}0 & 1-p\\1 & p\end{cases}\ \ \ \ \ \ \text{compute}\ \overline X_n,\ \ \ n=\{2, 3, ..., 500\}\]
\[X \sim \text{Exponential}(\lambda), \ \ \lambda = 0.25, 1, 4\\ E[X] = \frac{1}{\lambda}\ \ \ SD[X] = \frac{1}{\lambda}\]
Exponential distributions are very skewed (not symmetric)
The CLT allows us to
use the normal distribution to approximate almost any sample average
calculate confidence regions and probabilities easily
test whether our assumptions about the world are true (hypothesis testing)
New York City conducts a squirrel census periodically1.
We’ll use the 2020 Squirrel Census conducted March 1, 2020 across several parks in Manhattan. A total of 433 squirrels were recorded.
Define \(X = \begin{cases} 1 & \text{grey primary fur color}\\0 &\text{otherwise}\end{cases}\)
\[\overline X = \frac{390}{433} = 0.9006928\] \[SE[\overline X] = \sqrt{\frac{\frac{390}{433}\cdot\frac{43}{433}}{433}} = 0.0143726\]
Assuming that the parks sampled during the 2020 squirrel census are a random sample of squirrels in NYC, what is the probability that the true proportion of gray squirrels in NYC is between .875 and .925?
\[\begin{align}P\left(.875 < p < .925\right) &= P\left(\overline X - .875 < \overline X - p < \overline X - .925\right) \\&= P\left(\frac{\overline X - .875}{SE[p]} < \frac{\overline X - p}{SE[p]} < \frac{\overline X - .925}{SE[p]}\right) \\&\approx P\left(\frac{0.901 - .875}{0.0144} < Z < \frac{0.901 - .925}{0.0144}\right) \\&=P\left(-1.667 < Z < 1.806\right)\end{align}\]
Steve and Jimmy are two squirrels who live in McCarren Park in Brooklyn.
Jimmy, a grey squirrel, prefers to hoard acorns from local oak trees, while Steve, a red squirrel, collects conifer seeds and mushrooms. Over a 30 day period, each squirrel keeps track of the “take” (in calories) from their respective foraging activities.
Calculate the 95th percentile for each squirrel’s average take, measured in calories.
| Steve | Jimmy |
|---|---|
| \(\overline X = 250\) | \(\overline X = 320\) |
| \(SE[\overline X] = 30.25\) | \(SE[\overline X] = 45.15\) |
We can use a normal distribution to quantify the variability around sample statistics.
Estimate \(\pm 1.96 \cdot SE\) gives us an interval that covers 95% of the distribution of our estimate!
When \(N\) is large enough, we can describe the precision of our estimate \(\overline X\) with an interval
There is a 95% probability that the true value \(p\) (or \(\mu, \pi, \rho\)1) falls within \(1.96\cdot \hat{\text{SE}}[\overline X]\) of \(\overline X\).
\[P\left(\underset{\text{lower bound}}{\underbrace{\overline X - 1.96\cdot \hat{\text{SE}}[\overline X]}} \leq p \leq \underset{\text{upper bound}}{\underbrace{\overline X + 1.96\cdot \hat{\text{SE}}[\overline X]}}\right) = 0.95\]
We interpret the \((a,b)\) interval \(\left[\overline X - 1.96\cdot \hat{\text{SE}}[\overline X], \overline X + 1.96\cdot \hat{\text{SE}}[\overline X]\right]\) as:
We are 95% confident that
the long-run average {… context …} \(p\)1
lies between \(a\) and \(b\),
{add specific problem context about what a and b mean here}.
If there is a specific value that is important, add another sentence evaluating whether that value falls within the interval, and what that might tell you about the plausibility of the value.
