Discreet Probability Distributions
Discreet Probability Distributions
PART 1 Generalities
I Random Variables and Discrete Distributions
Let I be the sample space that compromises all the outcomes of a random
experiment It is often useful to assign to each outcome we r a numerical
value via a certain function This function is what we call a random variable
range
R of X This assignment describes the distribution of the random
variable X For discrete RVs the function that assigns to each NER
a IP X N e Co I is the function
probability probability mass
X
r s IR
p Po X p
h
0,1
Example Here are the pints of the RVs X Y and Z from the last example
1 X a Yo Un 1 6 apt
p
f o o
2 Y p
n 42 An 1,2
i s is
3 Z Z
maps 11 5 to 1 12,61 to 2 431 to 3 141 to 0
Yz
z 1 3
IP 2 27 YG of 43 1 4321 46 y
1 I 1 I 7 z
0 I 2 3
For X r R e IR discrete
Prop any
s
Erp n L
Proof Suppose for simplicity that the sample spacer itself is discrete
Er Palm
Er PKW NW RS EE wife a
IPC Lws
PEWS 1
In D
In a the probability distribution of X dictates how the total
way
of all outcomes in R is distributed allocated to values
probability 1
in the R of X
range
Example Throw 2 fair dice and let X be the sum of the numbers
N 2 3 4 5 6 7 8 9 10 11 12
3 4 5 6 3
Path 436 436 36 36 36 36 736 4 36 36 436 436
0 otherwise
Exercise We draw 7 cards from a deck of 52 cards without replacement
Let X be the random variable counting the number of spades in
the sample Compute the of X
p.m f
Exercise We draw 7 cards from a deck of 52 cards without replacement
Let X be the random variable counting the number of spades in
the sample Compute the of X
p.m f
Check ftp.lal 1
L y
O otherwise
Note This is a
special distribution known as the hypergeometric
distribution More on that in Part 2
I Cumulative Distribution Function
N 2 3 4 5 6 7 8 9 10 11 12
3 6 10 15 21 26 33 35
Fx n 436 36 36 36 36 36 363036 36 36 1
after
1
OF
o s
2 3 Y 5 6 I 8 to 11 12 N
CPF of X sum of 2
fair dice
The cd f for discrete RVs is a step function
Properties of the c d f
1
Prop tiny Fx a and
kik Fx n O
We
skip the proof Also notice that the cd f is always non deceasing
Equality above holds between the points of mass i.e on fei Nit where
Ute Ni Rin Px Ni 0
Another important
property
is that for
RV X the c d f and p.m f
a
completely describe one another meaning that we only need one of them to
Psni Fx Ni Fx ni
Pla e Xe b Fx b Fx a
Hence
p
Ca Pl X a FxCal Fx a see on graph
Note We can define and study RVs using their distributions without reference to
an
underlying sample space r This is
what we do from now on
Example Example 3.13 in book the pint of a RV Y is
given
in this table
y I 2 4 8 16
We compute the c d f
Fly
Ky 1 Fly O
F I P Ye 1
Hye 1,2 Fly 0.05
I
p
fye 12,4 Fly F 2 PLY a 2 1
p plz 0.15
O get
D 0.15 Leg Y
0.5
Key 8
0.9 8 eye 16
plot in Figure 3.5 book
s y 16
Exercise The RV X has the c d f below Compute the p.m f
O N C I
rant 0 72 3 ER 20
Prop Fx is
right
continuous i.e Une IR
Flat FLA F x
fig
III Expected Value
by 14
or EX is
given by
EX Plan
Eg x
p
Cal
Ern
that
granted Er IN pins ex
X 1 2 3 4 5 6 21 3.5
I 6
the order being irrelevant The lottery committee then selects 6 integers at
random asthe winning numbers
If all 6 chosen numbers match the winning number then the player
wins 1,200 000
For 5 matches out of 6 the player wins 800
For 4 matches out of 6 theplayer wins 35
what is the expected value of the amount won in a
game
Solution Let X be the amount won in a in
game
8
Pl X 800 I 0 000018
1
PL X 353 E Y 7 0 00097
Y
PIX 0 1 PIXEL35,800 1200000 0 999 011 928
EX I a
p
n 0.13
Emp In ex
kn if 2 1 2,3 ne N't
pate
L o otherwise
1 Compute k
2 Does EX exist
Solution
1 To compute k recall that 1 In this
Er pin case
É Ma k
E I L
We know that EI it k 6 2
Harmonic Series
2 EX É m
p la É m
En f E I x diverges
In general
p n Pl X n
p 1
p
if l 2,3
n
O otherwise
Note that the distribution of X depends on a parameter here This is
p
common For the f above X is said to follow a geometric
very p.m
distribution with parameter e lo 1 We write Xn geom p
p
We start
by checking that p is a legitimate p.m f i.e
Epix 1
E p tat p EY Ci p p IE d p p I up
Plp 1
verified
fp Ep E CI p f p top Ip 1 Pipe Yp
Hence EX Yp If
p Ya we an
equally likely to get a boy or a
girl we can expect to see the first boy on the second birth
all b a EA b
Flax b heal p n
E at b Pala
a n b a EX Ib a EX b
up pain
D
2
3 7 3 X 7 3 116.08 7 355.24
Exercise The
daily number of sales S of distributed follows
an
employee is as
s I 2 3 4 5 6
s I 2 3 4 5 6
S I 2 3 4 5 6
b his 51 54 59 66 70 70
56.9
I Variana and Standard Deviation
Vai X
Er n
p pen
The following is an easier formula for the variance that uses the first
2 moments of X
Prop Ven X x2 Ex
VenCh X
Er hea EL NXD pain
For h affine there is a simpler formula for Vai ha that only uses Vai x
However unlike the mean the variance is not linear