Professional Documents
Culture Documents
probability distributions:
The normal and standard
normal
decreases the
spread.
f ( x)
Note constants:
=3.14159
e=2.71828
1 x 2
(
)
2
1
2
1 x 2
(
)
e 2 dx
Normal distribution is
defined by its mean and
standard
dev.
1
E(X)= =
1 x 2
(
)
2
e
dx
Var(X)= =
2
x2
Standard Deviation(X)=
1 x 2
(
)
2
dx ) 2
68-95-99.7 Rule
68% of
the data
95% of the data
99.7% of the data
68-95-99.7 Rule
in Math terms
1
2
1
2
1
2
1 x 2
(
)
e 2 dx
.68
1 x 2
(
)
e 2 dx
.95
1 x 2
(
)
2
e
dx
.997
112.3
127.8
143.3
25
20
P
e
r
c
e
n
t
15
10
0
80
90
100
110
120
POUNDS
130
140
150
160
96.8
127.8
158.8
25
20
P
e
r
c
e
n
t
15
10
0
80
90
100
110
120
POUNDS
130
140
150
160
81.3
127.8
174.3
25
20
P
e
r
c
e
n
t
15
10
0
80
90
100
110
120
POUNDS
130
140
150
160
Example
Example
BUT
What if you wanted to know the math SAT
score corresponding to the 90th percentile
(=90% of students are lower)?
P(XQ) = .90
1 x 500 2
)
50
dx
(
1
e 2
(50) 2
200
.90
1
p( Z )
e
(1) 2
1 Z 0 2
(
)
2 1
e
2
1
( Z )2
2
Comparing X and Z
units
100
0
200
2.0
X
Z
( = 100, = 50)
( = 0, = 1)
Example
For example: Whats the probability of getting a math SAT score of 575 or less, =500 and =50?
575 500
Z
1.5
50
i.e., A score of 575 is 1.5 standard deviations above the mean
575
P ( X 575)
(50)
200
1 x 500 2
(
)
2
50
e
dx
1.5
1
2
1
Z2
e 2 dz
Yikes!
But to look up Z= 1.5 in standard normal chart (or enter
into SAS) no problem! = .9332
Practice problem
a.
b.
Answer
a.
Answer
b. What is the chance of obtaining a birth
weight of 120 or lighter?
120 109
Z
.85
13
From the chart or SAS Z of .85 corresponds to a left tail area of:
P(Z.85) = .8023= 80.23%
Looking up probabilities in
the standard normal table
What is the area to
the left of Z=1.51 in
a standard normal
curve?
Z=1.51
Z=1.51
Area is 93.45%
Normal probabilities in
SAS
data _null_;
theArea=probnorm(1.5);
put theArea;
run;
0.9331927987
And if you wanted to go the other direction (i.e., from the area to the Z score
(called the so-called Probit function
data _null_;
The probit(p) function gives you
theZValue=probit(.93);
the Z-value that corresponds to a
put theZValue;
left-tail area of p (here .93) from a
run;
standard normal curve. The probit
1.4757910282
function is also known as the
inverse standard normal function.
2.
3.
4.
5.
SD = 2.6
Range = 1 to 10
(~ 4
SD = 15.2
Range = 0 to 64
(= 4
SD = 1.8
Range = 2 to 10
(~ 5
SD = 1.3
Range = 4 to 10
(~4-5
3.7
8.9
3.7 8.9
24.8
40
0 40
70
9.5
10
7.7 +/2*1.8=
4.1 10+
10
7.7 +/3*1.8=
2.3 10+
10
7.7 +/4*1.8=
0.5 10+
9.4
6.8 +/- 2*1.3
=
4.2 9.4
10+
6.8 +/- 3*1.3
=
2.9 10+
)
n 1
where is the probit function, which gives the Z value
that corresponds to a particular left - tail area
Concave down
(indicates leftskewed) and
bimodal
Right-Skewed!
(concave up)
Closer to
normal, but
slight left
skew
Closest to a
straight line
Results:
Math Love: Strong evidence of nonnormality (p<.01)
Coffee: Strong evidence of non-normality
(p<.005)
Clinton: Moderate evidence of nonnormality (p=.02)
Sleep: No evidence of non-normality
(p>.25)
Normal approximation to
the binomial
When you have a binomial distribution where n
is large and p is middle-of-the road (not too
small, not too big, closer to .5), then the
binomial starts to look like a normal
distribution in fact, this doesnt even take a
particularly large n
Normal approximation to
the binomial
When you have a binomial distribution
where n is large and p isnt too small
(rule of thumb: mean>5), then the
binomial starts to look like a normal
distribution
.27
Recall: smoking
example
6 7
Normal approximation to
binomial
.27
6 7
2 (4.8) 2.8
Z
2
1.39
1.39
P(Z<2)=.022
A little off, but in the right ballpark we could also use the value
to the left of 1.5 (as we really wanted to know less than but not
including 2; called the continuity correction)
2.37
1.39
1.39
P(Z-2.37) =.0069
Practice problem
1. You are performing a cohort study. If the
probability of developing disease in the
exposed group is .25 for the study duration,
then if you sample (randomly) 500 exposed
people, Whats the probability that at most
120 people develop the disease?
Answer
By hand (yikes!):
P(X120) = P(X=0) + P(X=1) + P(X=2) + P(X=3) + P(X=4)+.+ P(X=120)=
500
120
120
380
(.25) (.75)
500
2
498
(.25) (.75)
500
1
499
(.25) (.75)
OR Use SAS:
data _null_;
Cohort=cdf('binomial', 120, .25, 500);
put Cohort;
run;
0.323504227
500
0
500
(.25) (.75)
Proportions
Differs by
a factor
of n.
x np (1 p )
For proportion:
P-hat stands for sample
proportion.
p p
np (1 p) p (1 p)
2
n
n
p (1 p )
p
n
p
2
Differs
by a
factor
of n.