Quiz 2 Formula Sheet
Quiz 2 Formula Sheet
R-command list (you may also use the built-in help file in R during the quiz)
Formula list:
Cov ( X ,Y )
Definition of correlation: ρ XY =
σXσY
2 2
Properties of covariance: Var ( a X 1 +bX 2 ) =a Var ( X 1 ) +b Var ( X 2 ) +2 ab ¿ σ X σ Y )
Conditional expectations
For discrete random variables:
E ( X ∨Y = y )= ∑ xf ( X=x∨Y = y )
allvalues
of X
E ( g( X)∨Y = y ) = ∑ g( x ) f ( X=x∨Y = y)
allvalues
of X
Box-plot:
Lower limit =Q 1−¿ 1.5*IQR or the min value, whichever higher
By CLT, for a random sample X 1 , X 2 , … , X n follows an iid distribution 𝑓(𝑥)with mean 𝜇 and
variance σ 2, the distribution of sample mean X´ N will become close to a normal distribution
with mean 𝜇 and variance σ 2/𝑛 when the sample size n is very large
100− p
The p% confidence interval ( q= p+ %)
2
σ σ
[ x́n −z q × , x́ n + z q × ] when population variance σ 2 is known
√n √n
Sn Sn
[ x́ n−t q (n−1)× , x́ n +t q (n−1) × ] when population variance σ 2is unknown
√n √n