Matrix 안의 elements 들이 단순한 숫자들이 아닌 Random Variable 이라고 생각해보자.
그렇다면 평균과 분산등은 어떤식 으로 표현될까?
이번 포스팅은 Random Vectors 와 Random matrices의 특징등을 기술 하였다.
1. Expectation (평균)
▶ Expectation properties
만약 aa 가 constants vector라면 , E[a]=a
만약 a 가 constant vector라면, E[aTy]=aTE[y]
만약 A 가 constant matrix 라면, E[Ay]=AE[y]
2. Variance (분산)
우선적으로 a random variable Y의 평균을 μ라 할 때 분산을 아래와 같이 적음을 상기시켜보자
E[(Y−μ)2]
Random variable을 element 로 가지는 Random vector y 의 분산 (covariance matrix)은 아래와 같다
var y=E[(y−μ)(y−μ)T]
▶Variance properties
y 를 random vector 라 하고, var y=V 라 하자.
만약 a 가 constant vector라면, var aTy=aTVa
만약 A 가 constance matrix 라면, var Ay=AVAT
3. Multivariate Normal Distribution (MVN)
▶ linear model을 위한 정의
z∈Rk×1,A∈Rn×k,b∈Rn×1 이라고 하자.
x=AX+b
을 만족하는 x 는 multivariate normal distribution을 따른다
이때 μ=b, Σ=AAT 라 하면
아래와 같이 표현할 수 있다.
x∼MVN(μ,Σ)
▶Linear combination of MVN 은 MVN 이다.
x∼MVN(μ,Σ) 일 때,
y=AX+b
를 만족하는 y 또한 MVN 을 만족하며 아래와 같다
y=AX+b∼MVN(Aμ+b,AΣAT)
4. Random quadratic forms
▶expectation
E[y]=μ, var y=V 라 하자
E[yTAy]=tr(AV)+μTAμ
▶noncentral χ2 distribution
y∼MVN(μ,I)을 만족하는 k×1 random vector를 생각해보자
그렇다면 x=yTy 을 만족하는 x는 noncentral χ2 distribution을 따르고
k degree of freedom 과 noncentrality parameter λ=12μTμ를 가진다.
x∼χ2k,λ
위의 내용을 적용하여 Linear model을 해석하기 위한 corollary를 살펴보자
y∼MVN(0,σ2I) 를 만족하는 n×1 random vector 와
n×n을 만족하는 A가 주어지면
1σ2yTAy는 k degrees of freedom 과 noncentrality parameter λ=12σ2μTAμ를 가지는 noncentral χ2 distribution을 가진다.
▶ var y가 I 아닌 경우
위의 경우는 random vector 간의 collinearity가 존재하는 경우를 의미하며,
y∼MVN(μ,V) 이라 하면
yTAy는 k degree of freedom 과
noncentrality parameter λ=12μTAμ를 parameter로 포함하는 noncentral χ2 distribution을 가진다.
이 정의의 필요충분 조건은
AV 가 idempotent 하고 k rank를 가져야한다.
'호주 대학원 생존기 > Mathematics' 카테고리의 다른 글
[Computational Statistics] Confidence Interval of linear model parameters (선형모델-2) (0) | 2021.08.04 |
---|---|
[Computational Statistics] Linear model (선형모델) (0) | 2021.08.01 |
[Computational Statistics] Linear algebra for the linear models (선형모델해석을 위한 선형대수) (0) | 2021.07.27 |
[Numerical Analysis] Numerical Integration (0) | 2021.07.07 |
[Numerical Analysis] Polynomial Interpolation (0) | 2021.07.06 |