Math Assignment
Math Assignment
Probability
I
Calculating PMF
For two rolls of a tetrahedral die ie H faced die
9
5 6 7 8
3 4 5 6 7
4 SecondRoll
of Die 2
3 4 56
I 2 3 4 5
Rod Die
X First of
Let every possible outcome have a probability of 1 16
Z X Y
to find plz
collect all possible outcomes which 2 3
add their probabilities for
pay
o
g illiii
Bernoulli's Random Variable Parameter
with p Eco
I up p
x
o
up t t
It models a trial that results in either a or
H or T etc
Indicator Random Variable of an event A
L A
Ia iff occurs
Random Variable X X w W
Model
of complete ignorance
a a
special case a b
bin pyx
It I
a att b K a 2
Binomial Random Variable
Model
of Number
of successes in a
given number of
independent trials
n
p
I P 3
HHT
p ni
IP P HTH
p go 2
p TH H 1
t t b
pp
THT go
Ip
TTH 700 O
TTT
Px Ck 1 place pink K O I
for
n
Geometric Random Variable
Param O
p pet
Experiment Infinitely many independent tosses of a coin
P Heads
p
Sample space Set of infinite sequences of H T
Random Variables X no
of
tosses until the first Heads
Model
of waiting times no
of trials until a success
Px k P no heads ever
pxlb p lb
I a s n s d e to
I 2 wp 5110
I
Interpretation Average in large number of independent
repetitions of the experiment
Definition EG I xp x
Caution
If we have infinite sum it needs to be
well defined
We assume
I 14pyle a
to up p
mo p Ip
X is the indicator event A
If of an
In general Ecg X EX
g
Linearity of Expectation E Lax b a ECxJtb
n
g 5
or 5
0.3 so 4
p
prob
3 3.3
25 o 2
Variance A measure
of the spread of a PMF
Random Variable X with mean M EXT
Distance mean X te
from
Standard Deviation Ox ay
Properties Variance
of
var lax b a'var x
Notation
ME EX
Let Y Xtb where Y ax
of Bernoulli's
Variance
x
to up p
w.p I p
var x EG EET px x
var x E X EXT
Conditional PMF and expectation
px x P xx pya CA PIX HA
Ipx x I E pXIA D I
AT AzOB
for fox is
Similarly x
Px a PCA
px A x t Plan PX An Ca
EX PRADECXIA It PLANE EX An
X no
of independent coin tosses until first head PCH
p
Px k I f he 1,2
p
pick Memorylessness No of
remaining
coin tosses conditioned on Tails in
the first toss is geometric
with parameter p
I m
p
The mean
of geometric
EX Ekpx Ck ÉkCI pimp
EXT
Ip
Multiple Random Variable and joint PMF's
x px
Y py
Joint PMF x Px x
24 y
px y y
I
Eye PX Y x
y
Y x
foxed Ipx y
pyly Efx 4 x y
The mean
of Binomial
X binomial with parameters n
p
no
of successes in n independent trials
where Xi I ith trial
ifotherwise success
Xi O
X X Xat Xm
EX É k
I p Cy pink
or in simple words EXT np
Conditional PME
PYA HA P X KIA foxy PIX MY y
Hy
such that pyly so
fay Hy pyp.gg
defined
for y
Ep xx Hy 1
pay z k ly
z on
fx y1z x
yz
we can simplify with regards to Multiplication Rule
Px4,2 x
yz fox x
pyx Cylon fax 212y
Conditional Expectation
Ecg x y y EgGopxlyGuy
Total Probability and Expectation Theorem
Ai An partition of a
Px 2 PCA
pya a t Plan pxlAnCx
EX EX Y y
Jpy y
it is also valid when Y is a discrete RV that ranges
over an infinite net as long as ECX1 a
Independence
X Y Z are independent
if
2 A n
fox 4,2 x
yz px x pyly pz yz
Independence 1 Expectation
In general E Eg Xy
g CECI ELY
Exceptions Elaxt b aE x tb
also
g x and h ly are independent
Independence Variances
Variance
of the Binomial
X binomial with parameters n f
number of success in n independent trials
Xi I ith trial
Xi 0
if otherwise is a success
X X Xat Xm
Continuous Random Variables
A R.V is continuous
if it can be described
by
a PDF
pain
Plas XE b
Plas X Ib n.az
bxG pxlnlzoEpxCd
1 fyi20 ffkldx l
Plaexsb dx
fx sc
1 feudal
Expectation Mean of a continuous random variable
EX Expx x EEN
f xfx Goda
assume
fjklfxcddi.co
Properties Expectations
of
X 20 then EX 20
J
X sb then as EXT Eb
J as
Ecg x
EgGDfoxed I get fx Code
E x'J J X
f Goda
Linearity
ElaXtb a EETtb
Variance and its Properties
EEg x
Igloofx Code
var x
12 x a f Golda gac x
pet
Standard Deviation ox Tax
var lax tb a'var x
bat
I I a att
EXT ALL
b
E x
f xfxGodie
du
fab no Ia att
EXT Joe b
Fa
da
ya g
EXT EXT
var X
Standard Deviation
BEI
big
t
E
Ci p p
I tr
te azo
fan xc o
O
E x
Tx Xé doc
I
E X
Jail e dx
Ig
var x E X CE XJ
PC x2 do
a
fixe
ea a s t
feudal at
t C e
ng
ta
e t.at e
lead
Standard Normal Gaussian Random Variable
Standard Normal N O 1
J die ran
fx x e e
EX O
var x 1
x
General Normal Gaussian Random Variable
2 Ck mat
General NCpe 0
fx x
fye
EX he war x o
A A
normal o smaller a
Let y ax tb X V N
fu o
ELY qutb
var Y aka
Fact Yu NCalutb att
Epxialic 7 ft a codicil
conditional PDF X that XEA
of given
PCxexpgptf.IE
PCxspcExtIItXpEy
fxixen is A
yo
FIT if Kea
Memorylessness
of the coponential PDF
Do prefer a used or a new coponential
you
bulb
light
Bulle lifetime T cofonential X
PCT D é 220
for
we are told that t t
r v X remaining lifetime T t
Now
PCT
tE.IE PltottEn
t
eF
e
PCEEE
X
Xe 220
fila for
PCOSTS 8 a FCO S XS
PCETEESIT E ITS
A AND
PCB Pla PLBApt PLAN PCBAm
A AND
pxcxFPCA.ly a Got tPCAmlpxIAC2
at Aonb
p yea P CAPP XENA
fx a
PCA
t
FLA 2 t
PCAR
EXAM
EX PCADEENAJ PLAMIECHAM
PLAN
ECXIAL
PLAN
E XIAO
P A2 23 fxia V
unit 6,83
EX PCADECHAI PCADEGLAD
x1 t 7
3 n
43
It 116
IT o
Mixed Distributions
FxGc PCYe Nt CI p PC D
f
pFyGot I p Ecu
ECXJ PECYTT CI P JEEZ
X uniform on
0,27 with prob ya CA
with prob 112 Aa
Fxlan FXAyla
l 112 l
ppg
o I o
FxCu
Slope Yy
y
4a slope
I I
0
I 2 I
On Joint PDFs
PAX Y EB G y dxdy
f
GYIEB
fx
fayGuy fy.gg
iffylyls A PGcEXE2t8
8 where PLA 0
Zfx1ACK
Plexsutsly SY Sgt E I
fxg.ggf fxyG4y
Definition PCXEA14 91
f fay rly dx
I fxiycuyldx f stx.gg l
g
Multiplication Rule
Independence
Px y ay px a byCy f x y
fay ay fxGa fyly t my
fx y la y fxly Caly fy y
equivalent to fay Hy f xGc t y with fyly so lax
YX Y are independent
EX YF EEXTENT
var x 4 var X van y
glx 2h14 are also independent
Y d
d le
Break a stick of length l twice
first break at X uniform in Co LJ
second break at Y uniform in O D
fay ay fxhdfylxly.ly I
fun n
e n x
y