Professional Documents
Culture Documents
Chapter 7
3 ...
0 1/16 1/4
1/2
9/26/2009
Discrete Distributions
p( x ) = 1
i
all xi
9/26/2009
Number of Households
1,218
32,379
37,961
19,387
7,714
2,842
101,501
p(x)
0
1
2
3
4
5
1218/Total = .012
.319
.374
.191
.076
.028
1.000
9/26/2009
Solution
P(S)=.2
P(SC)=.8
P(S)=.2
SSS
P(SC)=.8
P(S)= 2
P(S)=.2
S S SC
S SC S
P(SC)=.8
P(S)=.2
S SC SC
SC S S
P(SC)=.8
P(S)=.2
SC S SC
SC SC S
P(SC)=.8
SC SC SC
P(SC)=.8
P(S)=.2
P(SC)=.8
(.2)(.2)(.8)= .032
X
3
2
1
0
P(x)
.2
23 = .008
008
3(.032)=.096
3(.128)=.384
.83 = .512
E( X ) = = x i p( x i )
all xi
9/26/2009
Population Variance
Let
Solution
E(X) = = xip(xi) = 0p(0)+1p(1)+2p(2)+=
0(.012)+1(.319)+2(.374)+ = 2.084
V(X) = 2 = (xi - )2p(xi) = (0-2.084)2p(0=.012)+(12.084)2p(1=.319) + (2-2.084)2+ =1.107
Using a shortcut formula
= 1.1071/2 = 1.052
Solution continued
V ( X ) = 2 = E( X 2 ) 2 = x i2 p( x i ) 2 =
all xi
= 1.107
9/26/2009
Laws of Variance
E(c) = c
E(X + c) = E(X) + c
E(cX) = cE(X)
V(c) = 0
V(X + c) = V(X)
V(cX) = c2V(X)
(pg. 190)
Variance ( 2 )
= V(X) = (xi- )2 p(xi)
(pg. 190)
= (0-1.0)2(.4) + (1-1.0) 2(.3) + (2-1.0) 2(.2) + (3-1.0) 2(.1)
= 1.0
Standard Deviation ( )
= 2
= 1.0
(pg. 191)
9/26/2009
2. V(3X) 3. E(X + 4)
4. E(4X + 3) 5. V(4X + 3)
2. V(3X) 3. E(X + 4)
4. E(4X + 3) 5. V(4X + 3)
9/26/2009
Binomial Experiment
There are n trials (n is finite and fixed).
Each trial can result in a success or a failure.
The probability p of success is the same for all the
trials.
All the trials of the experiment are independent.
independent
S1
S3 P(SSS)=p3
F3 P(SSF)=p2(1-p)
S3 P(SFS)=p(1-p)p
P(S2|S1
F2
S2
F3 P(SFF)=p(1-p)2
S3 P(FSS)=(1-p)p2
F3 P(FSF)=(1-p)p(1-p)
S3 P(FFS)=(1-p)2p
F1
F2
F3 P(FFF)=(1-p)3
9/26/2009
X=3
33p2(1-p)
(1 )
X =22
P(X = 1) = 3p(1-p)2
X=1
X=0
2(1-p)
P(SSF)=p
SS
S S
P(SFS)=p(1-p)p
P(SFF)=p(1-p)2
2
SS
P(FSS)=(1-p)p
P(FSF)=(1-p)p(1-p)
P(FFS)=(1-p)2p
This multiplier is calculated in the following formula
P(FFF)=(1-p)3
P( X = x) = p( x) = C nx p x (1 p) nx
where C nx =
n!
x! (n x)!
! Is called a factorial:
If we had 3! it converts to 1 x 2 x 3 = 6
If we had 5! It converts to 1 x 2 x 3 x 4 x 5 = 120
9/26/2009
Solution
Solution Continued
P( X = x) = p( x) = C nx p x (1 p) nx
where C nx =
P( X = 0) =
n!
x! (n x)!
10!
(.20) 0 (.80)10 0 = .1074
0! (10 0)!
Solution Continued
P( X = x) = p( x) = C nx p x (1 p) nx
where C nx =
P ( X = 2) =
n!
x! (n x)!
10!
(.20) 2 (.80)10 2 = .3020
2! (10 2)!
10
9/26/2009
Solution Continued
Solution
= np = 10(.2) = 2.
2 = np(1-p) = 10(.2)(.8) = 1.6
= 1.2649
11
9/26/2009
Poisson Distribution
Please skip this section (7.5)
12