03 Random Variables: Covariance, Correlations & Linear Model Flashcards

1
Q

What is covariance?

A
  • measure of the joint variability of two random variables

- strength of dependence of variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference of variance and covariance?

A

variance = covariance with itself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the covariance between x ∈ ℝ¹ and y ∈ ℝ¹ ?

A

σₓᵧ = E[xy] - E[x] E[y] = Cov (x, y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a Cov(x,y) > 0 indicate?

A

that there is a positive relationship between x and y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the variance of x ∈ ℝ¹ ?

A

σₓₓ = Var(x) = E[x²] - (E[x])²

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the covariance matrix of x ∈ ℝᵖ ?

A

Σₚₓₚ = E[(x - μ)(x - μ)ᵀ] => Matrix of ( σₓ₁ₓ₁…. etc) = Matrix of (σ₁₁ … etc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does the covariance help to describe the properties of X ∈ ℝᵖ ?

A

X ~ (μ, Σ) = X ~ ( E[x], Var [x] )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Σₓᵧᵀ?

A

Σᵧₓ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Σₓᵧ ?

A

Cov (X, Y) = E[(x - μ)(y - E[y])ᵀ] = E[XYᵀ] - E[X]E[Yᵀ]

=> Matrix of ( σₓ₁ᵧ₁…. etc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you rewrite Var(A , x+b)?

A

Var(A , x+b) = A Var(X) Aᵀ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How can you rewrite Cov(X+Y , Z)?

A

Cov(X+Y , Z) = Cov ( X, Z) + Cov (Y, Z)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can you rewrite Cov(AX, BY)?

A

Cov(AX, BY) = A Cov(X, Y) Bᵀ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Cov (X, Y) if X and Y are independent?

A

Cov (X, Y) = 0 ₚₓᵩ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you estimate μ?

A

^μ = n⁻¹ Xᵀ 1ₙ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What values can ρ take and what is it?

A

[-1, 1], correlation coefficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can you write the correlation matrix and what do its components mean?

A

P = D⁻¹/² Σ D⁻¹/²
Σ…..Cov (X, Y)
D…..diagonal matrix of variances

17
Q

What is ρ (x, y) when x and y ∈ ℝ¹ ?

A

σₓᵧ / √ [ σₓₓσᵧᵧ ]

18
Q

What does ordinary least squares stand for?

A

That you minimze the sum of squared errors

19
Q

What are the linear regression model and two defining properties?

A
  • Y = Xβ + ε
  • E[ε] = 0ₙ
  • Var(ε) = σ² Iₙ
20
Q

What is the estimator for β?

A

^β = ( XᵀX )⁻¹ XᵀY

21
Q

What is the estimated error term?

A

^ε = Y - ^Y

22
Q

What is the estimated variance?

A

^σ = √ [ (^εᵀ ^ε)/(n-p) ]

23
Q

How can you find D from Σ (in order to find the correlation matrtix)

A

D are the diagonal elements of Σ

24
Q

When given Y and X and you are asked to conduct linear regression analysis, what do you do?

A

1) find estimator ^β
2) calculate the predicted ^Y
3) calculate the error term ^ε
4) calculate the variance ^σ

25
Q

What can help when calculating Σ and P?

A

They are symmetric so only need to calculate half