The normal distribution has a symmetric bell shaped curve
The picture above is for the so called standard normal distribution.
Has a mean \(\mu = 0\) and standard deviation \(\sigma = 1\)
Notation \(X\sim N(\mu,\sigma)\) means the random variable X has a normal distribution.
It is what z-scores are based on. (There are other distributions).
Long long ago before computers existed people wanted to calculate probabilities from z-scores.
The table was first made by Christian Kramp in 1799.
It was improved upon ( for more read this).
Head lengths of brushtail possums follow a nearly normal distribution (it is also a continuous random variable) with mean 92.6 mm and standard deviation 3.6 mm. Compute the [percentiles] for possums with head lengths of 95.4 mm and 85.8 mm.
Which of the two brushtail possum observations in the previous guided practice is more unusual?
\(X \sim N(\mu = 92.6 , \sigma = 3.6)\)
We use pnorm()
to find percentiles.
This finds the probability to the left of q.
openintro
package[1] 0.9705466
The function f(x) below defines the pdf of the bell curve.
\[ f(x) = \frac{1}{\sigma \sqrt{2 \pi}} e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2 } \]
The probability is the area under the curve and can be represented as:
\[ \int_a^b \frac{1}{\sigma \sqrt{2 \pi}} e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2 } dx \]
We will not be computing these values by hand.
Draw the curve and the integral that goes with the possum area under the normal distribution.
Draw a picture of the standard normal bell curve. Mark -1 and 1 \(\sigma\) away from the mean.
Using R find the probability we get values between -1 and 1. shade your picture.
Repeat this process for [-2,2] and [-3,3].
From the text:
SAT scores closely follow the normal model with mean μ=1500 and standard deviation σ=300. About what percent of test takers score 900 to 2100? What percent score between 1500 and 2100
Shannon is a randomly selected SAT taker, and nothing is known about Shannon’s SAT aptitude. What is the probability that Shannon scores at least 1630 on their SATs?
Edward earned a 1400 on their SAT. What is their percentile?
What percent did better than Edward?
qnorm
outputs quantiles from percents.[1] 0.02945336
[1] 85.8
qnorm()
is for finding quantiles pnorm()
is for finding percentiles.
OI 4.2 d
Note on notation.
\(X \sim N(\mu = 92.6 , \sigma = 3.6)\)
or
\(X \sim N(\bar{x} = 92.6 , s= 3.6)\)
We estimate \(\sigma\) with s - The sample proportion.
[1] 3.573349
[1] 92.60288