Professional Documents
Culture Documents
!
Median:(! ! = 0.5
Sample standard deviation ! !
!!! !!
Probabilities of equally likely outcomes DRV probability density function (PDF) ! !! = ! ! ! ! !"
! !!
Number'of'desired'outcomes !!! ! = !! ! ⟹ !!! 0 = !(! ! )
Conditions:)! ! = ! = ! ! ≥ 0!and! ! !! = 1 !"
! Outcome = !!∈ ! CRV variance and standard deviation, !"# ! !or!! !
Total&number&of&outcomes&in&sample
!
! ! !for!! = 0,1,2 … ! !!!! ! = !!! ! ⟹ !!!! 0 = !(! ! ) !!
Combinatorial counting rules ! ! = !" !"# ! = ! ! ! − ! ! !
= !−! ! !
! ! !"
0!otherwise !!
! !
!"# ! = ! ! −! ! = !!!! 0 − [!!! 0 ] !
With replacement W/O replacement DRV cumulative distribution function (CDF)
!!
!
!! (4) Continuous random variables (CRV) (Continuous) != ! !! − ! ! ! = !−! ! !! ! !"
Ordered !
!−! ! ! ! = ! ! ≤ ! , ! ∈ ℝ!and!! ! = !(!! ) !!
! !
1 2
! !
CRV MGF !! − 1 !"# ! = ! !
!"# ! = !! + !! ~!" !! + !! ⟹ !! ~!" !!
12
!! !!! !!! !!! !
‡ !!! ! = ! !"! !
!! ! = ! ! !" = ! !" !(!)!" ! ! (1 − ! !" )
‡ !!! ! = Continuous uniform distribution
!! !(1 − ! ! ) 1 !!! !
!
1 ! > 0, ! !! ! > 0 ⟹ ! ! > 0!
! 1 ! 2!
1 !! > 0, ! ! > 0
!!! ! = !! ! ⟹ !!! 0 = !(! ! ) ! ! = ! − ! ,!for!! ≤ ! ≤ !
!" !!
! 0!otherwise
1 (‡) 2 !(!) !" = 1
!"# ! = ! ! ! − ! ! !
= !!!! 0 − [!!! 0 ]! 2 ! =1 !!
! !
0!for!! < !
!!! !−!
Summary ! ! =! !≤! = !(!) !" = !for!! ≤ ! ≤ ! Linear combinations of the normal distribution
! !−!
Bernoulli distribution, !~Bernoulli(!) 1!for!! > !
DRV CRV 1 !! ± !~!(!! ± !! , !!! + !!! )
!!for!! = 1 !+!
!""#$
! ! = 1 − !!for!! = 0 ! ! =
!""#$ 2 2 !!" ± !~!(!" ± !, ! ! ! ! )
! ! !! ! !! !" ! !" 0!otherwise
!"#$% !
!"#$% !−! 3 !!" ± !"~!(!!! ± !!! , ! ! !!! + ! ! !!! )
0!for!! < 0 !"# ! =
12
! ! = 1 − !!for!0 ≤ ! < 1 !!!
!"# ! ! !! − ! ! !
! !! − ! ! !
1!for!! ≥ 1 Standard normal, = !~!(0,1! )
! !" − ! !" !
‡ !!! ! =
! ! =! !(! − !) 1 !!
!""#$ !""#$
! ! = ! ! ! , ∀! ∈ ℝ
!! ! !" !" 2!
! !(!) ! !(!)!" !"# ! = !(1 − !) 1 !! − ! > 0! ⟹ ! ! > 0
!"#$% !
!"#$% 1 !!
!! ! = 1 − ! + ! ! !
!
1 ! ! !−! ! ! =! ! = ! ! ! !"
2 ! !" = = =1 !! 2!
(5) Common distributions of RV ! !−! !−! ! !−!
1 !! > 0, 1 − ! > 0 ⟹ ! ! > 0 ! ! =0
Binomial distribution, !~!(!, !), from (3) Exponential distribution, from (4)
!
! ! !"# ! = 1
2 ! ! !! = ! + 1 − ! = 1 !!"
! ! = !
! 1 − ! !!! !for!! = 0,1,2 … ! ! ! = !! !for!! > 0, ! > 0
!!! 0!for!! ≤ 0 !−! !−! !−! !−!
0!otherwise ! !<!<! =! <!< =! −!
! ! ! !
Poisson distribution, !~!"(!) 0!for!! ≤ 0
0!when!! < 0 ! ! =
!
! ! 1 − ! !!" !for!! > 0 Poisson approximation of the binomial distribution
! ! =
! 1 − ! !!! !for$ ! = 0,1,2 … ! ! !! !!
!!! ! !for!! = 0,1,2 … 1
! ! = !! ! ! = !~! !, ! ⟹ !" ≤ 5 ⟹ !~!"(!" = !)
0!otherwise !
! ! = !"
Normal approximation of the binomial distribution
! 1
!"# ! = !"(1 − !) !! !"# ! =
! !!
,!for!! = 0,1,2 … !! !~! !, ! ⟹ !" ≥ 5!and!! 1 − ! ≥ 5 …
! ! = !!
!!!
!! ! = ! ! ! + 1 − ! !
!
0!otherwise !! ! = … ⟹ !~! !", !" 1 − !
!−!
1 !! ≥ 0, 1 − ! ≥ 0 ⟹ ! ! ≥ 0 ! ! =!
1 !! > 0, ! !!" > 0 ⟹ ! ! > 0 CC1: !(! ≤ !) ≈ ! ! ≤ ! + 0.5
! CC2: !(! < !) ≈ ! ! < ! − 0.5
! ! !!! ! ! !"# ! = !
2 ! ! 1−! = !+ 1−! =1 =1 !! !! CC3: !(! ≥ !) ≈ ! ! ≥ ! − 0.5
!
CC4: !(! > !) ≈ ! ! > ! + 0.5
!!!
!! ! = ! ! ! ! !! 2 !! !!" !" = −1 −!! !!" !" = −[! !!" ]!!
! =1
!! !
Discrete uniform distribution (‡) Normal approximation of the Poisson distribution
1 !! !! > 0, !! ≥ 0, !! ≥ 0 ⟹ ! ! ≥ 0
1 ‡ !Memoryless:*! ! > ! + ! ! > ! = ! ! > ! , !, ! ≥ 0
!~!" ! ⟹ ! > 10 ⟹ !~!(!, !)
! ! = ! ! = ! = ! ,!∀! = 1,2 … !
! !
! !! !! !!
2 ! = ! !! = ! !! ! ! = 1 Normal distribution, !~!(!, ! ! )
0!otherwise !! !! ! ! = ! = ! ! − 0.5 < ! < ! + 0.5 !by#CC
!!! !!!
1 !!! !
0!for!! < 0 !
(6) Multivariate random variables
! !
! ! ! = ! !! ! , ∀! ∈ℝ
1 ! ! 2!
! ! = ,!∀! = 1,2 … ! Note:! ≈ ! ! !(Taylor(series(approximation)
! !! Discrete joint probability function
!!! !!! !
1 !!! !
!
1!for!! > ! ! ! = ! !! ! !"
Linear combinations of the Poisson distribution !! ! 2! ! !, ! = !(! = ! ∩ ! = !) ≡ !!" (!, !)
! + 1!
! ! = 0.5!~!"(0.5!) ! ! =!
2
! !
3 4
! ! !
Method of moments estimator (MME)
Conditions:)! !, ! ≥ 0!∀ !, ! !and! ! !, ! = 1 Discrete(&(independent:(! !! ∩ !! … !! = !(!! ) (23) Point estimation II
!!! !!! !!! Sample moment Population moment
!
1 ! Standard error
Discrete univariate marginal distribution !! = !! = ! ⟹ ! ! ! =!
Continuous(&(independent:!! !! ∩ !! … !! = !(!! ) ! !!!
1 ! !
! !!! !! = !!! ⟹ ! ! + ! ! ! ! ! = ! ! + !! !" ! =
! !
!! ! = ! = ! ! = !, ! , ! ∈ {!! , !! , … , !! } !!!
! !
7 8
(30) Inference for correlation coefficients and Identifying intervals ! for continuous distributions
!
variances Perform'a'two!tailed'T'test'at'!!level$of$significance !!" − !!"
! !
! !(!!!)(!!!) = !
~!(!!!)(!!!)
Number'of'intervals = !ie.$(!! ≥ 5) !!"
Correlation coefficient !!! 5
! ! > ! ~!!,!!!!,!!!!
!! 100
!"#(!, !) Test if probability of A from X is the same as B from Y
! = !"## !, ! = !"## !, ! = Interval)! = %
! 5
!"# ! !"#(!) Do not write |F| or F !A"from"X + !B"from"Y
!=
! − !! !
!{ ! − ! ! !−! ! } (31) Goodness of fit tests = !!!!.!…
⟹ !
! !! − ! ! ! [! ! ! − ! ! ! ] !!! = !!!!
Test if the distribution fits the data
(32) Contingency tables
Sample correlation coefficient !! : !!" = !!" !vs#!! : !!" ≠ !!"
Category Test if two distributions are independent
1 2 Total
! (Discrete) Perform'a'one!tailed'! ! !test$at$!!level$of$significance
!!!(!! − !)(!! − !)
!=
Category !!"
!
!! − ! ! !
!! − ! ! (−!! , !! ] (−!! , !! ] Total !!" − !!"
!
!!! !!! (Continuous) Category 1 ! !
! !!"!!!!!! = ~!(!!!)(!!!)
1 2 Total !!"
! ! !! !! !! !! = !
!" − !" − !!! !!! !!" !!!
⟹ ! = 1
(33) Introduction to linear regression analysis
! ! ! !
! − 1 ! !!! !!! !! !! !! 1 Category
!! − !! − 2 !!" !!! !!!
! ! 2 Linear regression model
!! !! !! !! = !! = ! Total !!! !!! !
! ≥1
!! = !! + !! !! + !!
Test if 2 samples are correlated !! − !! !! − !! !! − !! !! − !! !!!
!!! = × !!! !! !!
! (!! − !)(!! − !) !! !! −
!! = = !
!! :!! = 0!vs#!! :!! < 0 !! − !! !
!! − !! !
!! − !! ! !! − !! ! ! !! !
(!! − !) !!! −
!! !! !! !! !!" !
Perform'a'one!tailed'T'test'at'!!level$of$significance Category 1
!! !! − !!!
Always'aggregate'!! ≥ 5 1 2 Total ⟹
!−2 !!! − !! !
! !<! ~!!!! 1 !!! !!" !!!
1 − !! !! = !! !!
Category !! = ! − !! !
2 !!" !!! !!!
2
F-distribution (All parameters in PDF known) Total !!! !!! ! Normal linear regression model
Test if the slope of a regression model is non-zero Confidence interval for ! ! = !(!)
!! : !! = !!vs!!! :!!! ≠ ! ! ! ! = ! !! + ! !! ! = !! + !! !
Perform'a'one!tailed'T'test'at'!!level$of$significance !! !! − ! !
!"# ! ! = × !
! !! − !
!! − !
! != ~!!!!
!"(!! ) 1 !−! !
1 − !!interval: !! ± !!/!,!!! ! ! +
! !! − ! !
Residual analysis
!
!! = !! − !! + !! !! 1 !
Where%! ! = !! − !! − !! !!
!−2
Plot%!! !against'!! !should'yield'no'discernible!pattern !!!
(35) Linear regression analysis with minitab The confidence interval only covers the true
expectation ! ! = !(!). It does not span the entire !
ANOVA
Predictive interval for ! − ! !
!
Total&SS = !! − ! ! ! !−! ! = ! − !! + !! ! = 0
!!!
!! !! − ! !
! !"# ! − ! ! = !! + × !
! !! − !
Regression)SS = !!! !! − ! !
!!!
1 !−! !
! 1 − !!interval: !! ± !!/!,!!! ! ! 1 + +
! ! !! − ! !
Residual)SS = Total&SS − Regression)SS = !! − !! − !! !!
!!!
!
Regression)SS (! − 2)!!! !!!! !! − ! !
!!
!= = =
Residual)SS !! − !! − !! !!
!
!" !!
!−2
!! : !! = 0!vs!!! :!!! ≠ 0
Perform'a'one!tailed'F'test'at'!!level$of$significance
!
!!
! != ~!!,!!!
!" !!
!
11