



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




1
Shopping R e v isite d
Let p (w h ere 0 < p < 1) be th e pro po rtio n o f A m eric an ad u lts th at fi n d sh o ppin g fru stratin g. Wh at is th e pro po rtio n o f A m eric an ad u lts th at d o n o t fi n d sh o ppin g fru stratin g? We tak e a sim ple ran d o m sam ple o f n peo ple fro m th is po pu latio n : Y 1 , Y 2 , · · · , Yn, w h ere Yi = 1 if th e ith in d ivid u al in th e sam ple fi n d s sh o ppin g fru stratin g , an d Yi = 0 o th erw ise. Wh at is th e ex pec ted valu e o f Y 1?
μY 1 = E(Y 1 ) = 0(1 − p) + 1(p) = p
Wh at is th e ex pec ted valu e fo r Yi w h ere 1 ≤ i ≤ n? Wh at is th e varian c e o f Y 1?
E[(Y 1 −μY 1 )^2 ] = E[(Y 1 −p)^2 ] = (0−p)^2 (1−p)+(1−p)^2 (p)
= (p)^2 (1−p)+(1−p)^2 (p) = p(1−p)(p+(1−p)) = p(1−p)
2
Let X = Y 1 + Y 2 + · · · , Yn =
∑n i= 1 Yi. W^ h a t is E(X)?
μX = E(X) = E(Y 1 + Y 2 + · · · + Yn)
= E(Y 1 ) + E(Y 2 ) + · · · + E(Yn) =
∑^ n
i= 1
E(Yi)
∑^ n
i= 1
p = n p
W h a t is V a r (X)?
σ^2 X = V a r (X) = V a r (Y 1 + Y 2 + · · · + Yn)
= V a r (Y 1 )+V a r (Y 2 )+· · ·+V a r (Yn) =
∑^ n i= 1
V a r (Yi)
∑^ n
i= 1
p(1 − p) = n p(1 − p)
W h a t is th e d istrib u tio n o f X?
X ∼ B(n, p). R e c all that the e q u atio n fo r bin o m ial p ro babilitie s is
P (X = k) =
n k
pk(1 − p)n−k
Binomial C alc u lations for C omp ou nd E v e nts Fo r a c o m p o u n d e v e n t su ch as P (X ≤ k), the p ro bability is g iv e n by
P (X ≤ k) =
∑^ k
j=
P (X = j)
The N o rm a l A p p ro x im a tio n to the B in o m ia l
S ho p p in g C o n tin u ed : S u ppo se we d raw an S R S o f 1 5 0 0 A m eric an A d u lts and are selec ted u sing a sim ple rand o m sam ple, and each ind iv id u al is interv iewed. If p = .1 2 , what is the ex pted nu m ber o f peo ple in the sam ple that fi nd sho pping fru strating?
E(X) = n p = 1 5 0 0 (.1 2 ) = 1 8 0
W hat is the pro bability that the sam ple c o ntains 1 7 0 o r less peo ple that fi nd sho pping fru strating?
j= 0
P (X = j)
j= 0
j
(0 .1 2 )j^ (0 .8 8 )^1500 −j
T hat’s pretty u g ly. Is there an easier way?
5
It tu rn s o u t th a t a s n g ets la rg er, th e B in o m ia l d istrib u tio n lo o k s in c rea sin g ly lik e th e N o rm a l d is- trib u tio n.
6
Consider the follow ing B inom ial histog ram s, eac h rep resenting 1 0, sam p les from a B inom ial distrib u tion w ith p = 0.1 : n = 5
Value
Probability
0 1 2 3 4
0.^ 0.^ 0.^ 0.^ 0.^ 0.^
n = 10
Value
Probability
0 1 2 3 4 5 6
0.^ 0.^ 0.^ 0.^
n = 50
Value
Probability
0.00 0 5 10 15
n = 100
Value
Probability
0.00 0 5 10 15 20
0.^ 0.^
n = 500
Value
Probability 0.00 30 40 50 60 70 80
0.^
n = 1000
Value
Probability 0.00 70 80 90 100 110 120 130 140
Pa ra m e te rs o f th e A p p ro x im a tin g D istrib u tio n
The ap p ro x im atin g N o rm al d istribu tio n has the sam e m ean an d stan d ard d ev iatio n as the u n d erlyin g B in o m ial d istribu tio n. Thu s, if X ∼ B(n , p), hav in g m ean E[X] = n p an d stan d ard d ev iatio n S D (X) =
n p(1 − p), it is ap p ro x im ated by a N o rm al d istribu tio n. X is ap p ro x im ately N
μX = n p, σX =
n p(1 − p)
X is the c o u n t o f “ su c c esses”. W hat abo u t ˆp = X n (the sam p le p ro p o rtio n o f “ su c c esses” )? pˆ is ap p ro x im ately N
μX = p, σX =
p(1−p) n
Sampling D istrib u tio ns
The N o rm al appro x im atio n to the B in o m ial d istribu tio n is, in fac t, a spec ial c ase o f a m o re g en eral phen o m en o n.
The g en eral reaso n fo r this phen o m en o n d epen d s o n the n o tio n o f a sampling d istribu tio n.
C o n sid er the fo llo win g setu p: We o bserv e a sam ple o f siz e n fro m so m e po pu latio n an d c o m pu te the m ean
¯x =^1 n
∑^ n
i=
xi
In lec tu re 5 we d efi n ed the sampling d istrib u tio n o f a statistic to be the d istribu tio n o f the statistic in all po ssible sam ples o f the sam e siz e fro m the sam e po pu latio n. If we repeated ly d rew sam ples o f siz e n an d c alc u lated x¯, we c o u ld asc ertain the sampling d istrib u tio n o f ¯x.
13
A Wo rd o n N o ta tio n
The thin g to keep in m in d is that ¯x is a fixed n u m ber, w hile X¯ is a ra n do m va ria ble. The au thors of the book are n ot very c arefu l in m akin g this d istin c tion , an d they d en ote ¯x as the ran d om variable.
14
The M ea n a n d S ta n d a rd D ev ia tio n o f X¯
What are the m ean an d stan d ard d eviatio n o f X¯?
L et’s be m o re sp ec ifi c abo u t what we m ean by a sam p le o f siz e n. We c o n sid er the sam p le to be a c o llec tio n o f n independent a nd identica lly distrib u ted o r iid ran d o m variables X 1 , X 2 ,... , Xn, with c o m m o n m ean μ an d c o m m o n stan d ard d eviatio n σ.
T hu s,
E( X¯) = E (^) n^1
X^ n i= 1
Xi
! = n^1
X^ n i= 1
E(Xi)
= n^1
X^ n i= 1
μ =^1 n (nμ) = μ
Var( X¯) = Var (^1) n
X^ n i= 1
Xi
! = (^) n^12
X^ n i= 1
Var(Xi)
= (^) n^12
X^ n i= 1
σ^2 = (^) n^12 (nσ^2 ) = σ
2 n
S D (X) =
p Var(X) = √σn
The C en tra l L im it Theo rem Now we k n ow th a t X¯ h a s m ea n μ a n d sta n d a rd d evia tion √σn , b u t wh a t is its d istrib u tion? If X 1 , X 2 ,... , Xn a re Normally distribu ted, th en X¯ is a lso n orm a lly d istrib u ted. T h u s,
Xi ∼ N (μ, σ), ∀i =⇒ X¯ ∼ N
μ, √σn
If X 1 , X 2 ,... , Xn a re n ot Norm a lly d istrib u ted , th en th e C en tra l L im it T h eorem tells u s th a t X¯ is ap p rox imately Norm a l. The C en tra l L im it Theo rem S u p p ose X 1 , X 2 ,... , Xn a re iid ra n d om va ria b les with m ea n μ a n d fi n ite sta n d a rd d evia tion σ. If n is su ffi c ien tly la rg e, th e sa m p lin g d istrib u tion of X¯ is a p p rox im a tely Norm a l with m ea n μ a n d sta n d a rd d evia tion √σn.
Normal A p p rox imation to th e B in omial R e visite d
What d o es all this have to d o w ith the N o rm al ap p ro x im atio n to the B in o m ial?
An o bservatio n fro m a B in o m ial d istribu tio n Y is ac tu ally the su m o f n in d ep en d en t o bservatio n s fro m a sim p ler d istribu tio n , the Bernoulli d istribution.
A B e rn ou lli ran d om variab le X tak es the valu e 1 w ith p ro bability p o r the valu e 0 w ith p ro bability 1 − p, an d has E[X] = p an d S D (X) =
p(1 − p).
L ettin g X 1 ,... , Xn be n iid B ern o u lli ran d o m variables,
Y =
∑^ n i= 1
Xi = n X¯
According to th e C L T , X¯ h as a N (μ, σ) distrib u tion, w h e re μ = p and σ =
p √(1−p) n. It tu rns ou t th at n X¯ is also N orm al, and it h as
E[n X¯] = nE[ ¯X] = nμ = np
Var(nX) = n^2 Var(X) = n^2 σ^2 = n^2
p(1 − p) n =^ np(1^ −p) T h u s, in ge ne ral, if X 1 ,... , Xn are iid random variab le s w ith m e an μ and standard de viation σ, th e n (^) n ∑
i= 1
Xi ∼˙ N (nμ,
nσ)