東京大学 情報理工学系研究科 コンピュータ科学専攻 2019年8月実施 専門科目II 問題6
Author
zephyr
Description
The probability density function of the normal distribution N ( μ , σ 2 ) N(\mu, \sigma^2) N ( μ , σ 2 ) with mean μ ∈ R \mu \in \mathbb{R} μ ∈ R and variance σ 2 > 0 \sigma^2 > 0 σ 2 > 0 is given by
f ( x ) = 1 2 π σ 2 exp ( − ( x − μ ) 2 2 σ 2 ) . f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x - \mu)^2}{2\sigma^2}\right). f ( x ) = 2 π σ 2 1 exp ( − 2 σ 2 ( x − μ ) 2 ) .
Let X X X and Z Z Z be random variables that independently follow N ( μ , 1 ) N(\mu, 1) N ( μ , 1 ) and N ( 0 , 1 ) N(0, 1) N ( 0 , 1 ) , respectively, and define Y = θ X + Z Y = \theta X + Z Y = θX + Z for some constant θ ∈ R \theta \in \mathbb{R} θ ∈ R . For an integer n > 1 n > 1 n > 1 , let ( X 1 , Y 1 ) , ( X 2 , Y 2 ) , … , ( X n , Y n ) (X_1, Y_1), (X_2, Y_2), \ldots, (X_n, Y_n) ( X 1 , Y 1 ) , ( X 2 , Y 2 ) , … , ( X n , Y n ) be two-dimensional random variables that independently follow the same distribution as ( X , Y ) (X, Y) ( X , Y ) , for which we write X ( n ) = ( X 1 , X 2 , … , X n ) X^{(n)} = (X_1, X_2, \ldots, X_n) X ( n ) = ( X 1 , X 2 , … , X n ) and Y ( n ) = ( Y 1 , Y 2 , … , Y n ) Y^{(n)} = (Y_1, Y_2, \ldots, Y_n) Y ( n ) = ( Y 1 , Y 2 , … , Y n ) .
Answer the following questions.
(1) Express the expectation E [ Y ] \mathbb{E}[Y] E [ Y ] and variance V [ Y ] \mathbb{V}[Y] V [ Y ] of Y Y Y using μ \mu μ and θ \theta θ .
(2) Show that the conditional distribution of X X X given Y Y Y is a normal distribution, and express its expectation E [ X ∣ Y ] \mathbb{E}[X|Y] E [ X ∣ Y ] and variance V [ X ∣ Y ] \mathbb{V}[X|Y] V [ X ∣ Y ] using μ \mu μ , θ \theta θ , and Y Y Y .
(3) Let ( x ( n ) , y ( n ) ) (x^{(n)}, y^{(n)}) ( x ( n ) , y ( n ) ) denote a realization of ( X ( n ) , Y ( n ) ) (X^{(n)}, Y^{(n)}) ( X ( n ) , Y ( n ) ) . Express the joint probability density function p μ , θ ( x ( n ) , y ( n ) ) p_{\mu, \theta}(x^{(n)}, y^{(n)}) p μ , θ ( x ( n ) , y ( n ) ) of ( X ( n ) , Y ( n ) ) (X^{(n)}, Y^{(n)}) ( X ( n ) , Y ( n ) ) using μ , θ , x ( n ) = ( x 1 , x 2 , … , x n ) \mu, \theta, x^{(n)} = (x_1, x_2, \ldots, x_n) μ , θ , x ( n ) = ( x 1 , x 2 , … , x n ) and y ( n ) = ( y 1 , y 2 , … , y n ) y^{(n)} = (y_1, y_2, \ldots, y_n) y ( n ) = ( y 1 , y 2 , … , y n ) .
(4) Consider maximum-likelihood estimation of ( μ , θ ) (\mu, \theta) ( μ , θ ) by the EM algorithm for the case where the observation of X n X_n X n is missing from ( X ( n ) , Y ( n ) ) (X^{(n)},Y^{(n)}) ( X ( n ) , Y ( n ) ) , that is, the case where ( X ( n − 1 ) , Y ( n ) ) (X^{(n-1)},Y^{(n)}) ( X ( n − 1 ) , Y ( n ) ) is observed. Then the update rule of estimators of ( μ , θ ) (\mu, \theta) ( μ , θ ) by the EM algorithm for some initial value ( μ 0 , θ 0 ) ∈ R 2 (\mu_0, \theta_0) \in \mathbb{R}^2 ( μ 0 , θ 0 ) ∈ R 2 is given by
( μ t + 1 , θ t + 1 ) = arg max ( μ , θ ) ∈ R 2 E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) ) ] , t = 0 , 1 , … , (\mu_{t+1}, \theta_{t+1}) = \mathop{\arg\max}\limits_{(\mu, \theta) \in \mathbb{R}^2} \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)}[\log p_{\mu, \theta}(X^{(n)},Y^{(n)})], \quad t = 0, 1, \ldots, ( μ t + 1 , θ t + 1 ) = ( μ , θ ) ∈ R 2 arg max E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) )] , t = 0 , 1 , … ,
where μ ˉ \bar{\mu} μ ˉ and σ ˉ 2 \bar{\sigma}^2 σ ˉ 2 are the values obtained by the substitution ( μ , θ , Y ) : = ( μ t , θ t , Y n ) (\mu, \theta, Y) := (\mu_t, \theta_t, Y_n) ( μ , θ , Y ) := ( μ t , θ t , Y n ) in the expressions of E [ X ∣ Y ] \mathbb{E}[X|Y] E [ X ∣ Y ] and V [ X ∣ Y ] \mathbb{V}[X|Y] V [ X ∣ Y ] obtained in question (2), respectively, and E X n ∼ N ( μ ˉ , σ ˉ 2 ) \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)} E X n ∼ N ( μ ˉ , σ ˉ 2 ) denotes the expectation when X n X_n X n follows N ( μ ˉ , σ ˉ 2 ) N(\bar{\mu}, \bar{\sigma}^2) N ( μ ˉ , σ ˉ 2 ) and ( X ( n − 1 ) , Y ( n ) ) (X^{(n-1)},Y^{(n)}) ( X ( n − 1 ) , Y ( n ) ) is fixed.
(i) Express E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) ) ] \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)}[\log p_{\mu, \theta}(X^{(n)},Y^{(n)})] E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) )] using μ , θ , μ ˉ , σ ˉ 2 , X ( n − 1 ) \mu, \theta, \bar{\mu}, \bar{\sigma}^2, X^{(n-1)} μ , θ , μ ˉ , σ ˉ 2 , X ( n − 1 ) and Y ( n ) Y^{(n)} Y ( n ) .
(ii) Express ( μ t + 1 , θ t + 1 ) (\mu_{t+1}, \theta_{t+1}) ( μ t + 1 , θ t + 1 ) using n , μ ˉ , σ ˉ 2 , X ( n − 1 ) n, \bar{\mu}, \bar{\sigma}^2, X^{(n-1)} n , μ ˉ , σ ˉ 2 , X ( n − 1 ) and Y ( n ) Y^{(n)} Y ( n ) .
题目描述
均值为 μ ∈ R \mu\in\mathbb R μ ∈ R 、方差为 σ 2 > 0 \sigma^2>0 σ 2 > 0 的正态分布
N ( μ , σ 2 ) N(\mu,\sigma^2) N ( μ , σ 2 ) 的密度为
f ( x ) = 1 2 π σ 2 exp ( − ( x − μ ) 2 2 σ 2 ) . f(x)=\frac1{\sqrt{2\pi\sigma^2}}
\exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right). f ( x ) = 2 π σ 2 1 exp ( − 2 σ 2 ( x − μ ) 2 ) .
设随机变量 X , Z X,Z X , Z 相互独立,分别服从 N ( μ , 1 ) N(\mu,1) N ( μ , 1 ) 与 N ( 0 , 1 ) N(0,1) N ( 0 , 1 ) ,并令
Y = θ X + Z Y=\theta X+Z Y = θX + Z ,其中 θ ∈ R \theta\in\mathbb R θ ∈ R 。对整数 n > 1 n>1 n > 1 ,令
( X i , Y i ) ( i = 1 , … , n ) (X_i,Y_i)\ (i=1,\ldots,n) ( X i , Y i ) ( i = 1 , … , n ) 独立同分布于 ( X , Y ) (X,Y) ( X , Y ) ,记
X ( n ) = ( X 1 , … , X n ) X^{(n)}=(X_1,\ldots,X_n) X ( n ) = ( X 1 , … , X n ) 、Y ( n ) = ( Y 1 , … , Y n ) Y^{(n)}=(Y_1,\ldots,Y_n) Y ( n ) = ( Y 1 , … , Y n ) 。回答下列问题。
(1)用 μ , θ \mu,\theta μ , θ 表示 E [ Y ] \mathbb E[Y] E [ Y ] 和 V [ Y ] \mathbb V[Y] V [ Y ] 。
(2)证明给定 Y Y Y 时 X X X 的条件分布仍为正态分布,并用
μ , θ , Y \mu,\theta,Y μ , θ , Y 表示 E [ X ∣ Y ] \mathbb E[X\mid Y] E [ X ∣ Y ] 与 V [ X ∣ Y ] \mathbb V[X\mid Y] V [ X ∣ Y ] 。
(3)设 ( x ( n ) , y ( n ) ) (x^{(n)},y^{(n)}) ( x ( n ) , y ( n ) ) 是
( X ( n ) , Y ( n ) ) (X^{(n)},Y^{(n)}) ( X ( n ) , Y ( n ) ) 的一个实现。用
μ , θ , x ( n ) , y ( n ) \mu,\theta,x^{(n)},y^{(n)} μ , θ , x ( n ) , y ( n ) 写出其联合密度
p μ , θ ( x ( n ) , y ( n ) ) p_{\mu,\theta}(x^{(n)},y^{(n)}) p μ , θ ( x ( n ) , y ( n ) ) 。
(4)现在 X n X_n X n 缺失,仅观测到 ( X ( n − 1 ) , Y ( n ) ) (X^{(n-1)},Y^{(n)}) ( X ( n − 1 ) , Y ( n ) ) ,用 EM 算法估计
( μ , θ ) (\mu,\theta) ( μ , θ ) 。从任意初值 ( μ 0 , θ 0 ) (\mu_0,\theta_0) ( μ 0 , θ 0 ) 出发,更新规则为
( μ t + 1 , θ t + 1 ) = arg max ( μ , θ ) ∈ R 2 E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) ) ] , (\mu_{t+1},\theta_{t+1})
=\mathop{\arg\max}_{(\mu,\theta)\in\mathbb R^2}
\mathbb E_{X_n\sim N(\bar\mu,\bar\sigma^2)}
[\log p_{\mu,\theta}(X^{(n)},Y^{(n)})], ( μ t + 1 , θ t + 1 ) = arg max ( μ , θ ) ∈ R 2 E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) )] ,
其中 μ ˉ , σ ˉ 2 \bar\mu,\bar\sigma^2 μ ˉ , σ ˉ 2 分别是在第(2)问的条件均值、条件方差表达式中代入
( μ , θ , Y ) = ( μ t , θ t , Y n ) (\mu,\theta,Y)=(\mu_t,\theta_t,Y_n) ( μ , θ , Y ) = ( μ t , θ t , Y n ) 所得;取期望时固定
( X ( n − 1 ) , Y ( n ) ) (X^{(n-1)},Y^{(n)}) ( X ( n − 1 ) , Y ( n ) ) 。
(i)用 μ , θ , μ ˉ , σ ˉ 2 , X ( n − 1 ) , Y ( n ) \mu,\theta,\bar\mu,\bar\sigma^2,X^{(n-1)},Y^{(n)} μ , θ , μ ˉ , σ ˉ 2 , X ( n − 1 ) , Y ( n )
表示上述期望对数似然。
(ii)用 n , μ ˉ , σ ˉ 2 , X ( n − 1 ) , Y ( n ) n,\bar\mu,\bar\sigma^2,X^{(n-1)},Y^{(n)} n , μ ˉ , σ ˉ 2 , X ( n − 1 ) , Y ( n )
表示更新后的 ( μ t + 1 , θ t + 1 ) (\mu_{t+1},\theta_{t+1}) ( μ t + 1 , θ t + 1 ) 。
Kai
(1)
The random variable Y Y Y is defined as Y = θ X + Z Y = \theta X + Z Y = θX + Z , where X ∼ N ( μ , 1 ) X \sim N(\mu, 1) X ∼ N ( μ , 1 ) and Z ∼ N ( 0 , 1 ) Z \sim N(0, 1) Z ∼ N ( 0 , 1 ) . Since X X X and Z Z Z are independent, we can calculate the expectation and variance of Y Y Y as follows:
Expectation of Y Y Y :
E [ Y ] = E [ θ X + Z ] = θ E [ X ] + E [ Z ] = θ μ + 0 = θ μ \mathbb{E}[Y] = \mathbb{E}[\theta X + Z] = \theta \mathbb{E}[X] + \mathbb{E}[Z] = \theta \mu + 0 = \theta \mu E [ Y ] = E [ θX + Z ] = θ E [ X ] + E [ Z ] = θ μ + 0 = θ μ
Variance of Y Y Y :
V [ Y ] = V [ θ X + Z ] = θ 2 V [ X ] + V [ Z ] = θ 2 ⋅ 1 + 1 = θ 2 + 1 \mathbb{V}[Y] = \mathbb{V}[\theta X + Z] = \theta^2 \mathbb{V}[X] + \mathbb{V}[Z] = \theta^2 \cdot 1 + 1 =\theta^2 + 1 V [ Y ] = V [ θX + Z ] = θ 2 V [ X ] + V [ Z ] = θ 2 ⋅ 1 + 1 = θ 2 + 1
(2)
To find the conditional distribution of X X X given Y Y Y , note that Y = θ X + Z Y = \theta X + Z Y = θX + Z , where X ∼ N ( μ , 1 ) X \sim N(\mu, 1) X ∼ N ( μ , 1 ) and Z ∼ N ( 0 , 1 ) Z \sim N(0, 1) Z ∼ N ( 0 , 1 ) . The joint distribution of ( X , Y ) (X, Y) ( X , Y ) is bivariate normal, which implies that the conditional distribution X ∣ Y X|Y X ∣ Y is also normal.
Expectation of X ∣ Y X|Y X ∣ Y :
E [ X ∣ Y ] = μ + θ θ 2 + 1 ( Y − θ μ ) \mathbb{E}[X|Y] = \mu + \frac{\theta}{\theta^2 + 1} (Y - \theta\mu) E [ X ∣ Y ] = μ + θ 2 + 1 θ ( Y − θ μ )
Variance of X ∣ Y X|Y X ∣ Y :
V [ X ∣ Y ] = 1 θ 2 + 1 \mathbb{V}[X|Y] = \frac{1}{\theta^2 + 1} V [ X ∣ Y ] = θ 2 + 1 1
This can be derived using the properties of conditional distributions for bivariate normal distributions.
(3)
The joint probability density function p μ , θ ( x ( n ) , y ( n ) ) p_{\mu, \theta}(\mathbf{x}^{(n)}, \mathbf{y}^{(n)}) p μ , θ ( x ( n ) , y ( n ) ) for the random variables X ( n ) = ( X 1 , X 2 , … , X n ) \mathbf{X}^{(n)} = (X_1, X_2, \ldots, X_n) X ( n ) = ( X 1 , X 2 , … , X n ) and Y ( n ) = ( Y 1 , Y 2 , … , Y n ) \mathbf{Y}^{(n)} = (Y_1, Y_2, \ldots, Y_n) Y ( n ) = ( Y 1 , Y 2 , … , Y n ) can be expressed as the product of the marginal distributions of X i X_i X i and the conditional distributions of Y i Y_i Y i given X i X_i X i :
p μ , θ ( x ( n ) , y ( n ) ) = ∏ i = 1 n ( 1 2 π exp ( − ( x i − μ ) 2 2 ) ⋅ 1 2 π exp ( − ( y i − θ x i ) 2 2 ) ) p_{\mu, \theta}(\mathbf{x}^{(n)}, \mathbf{y}^{(n)}) = \prod_{i=1}^{n} \left( \frac{1}{\sqrt{2\pi}} \exp\left(-\frac{(x_i - \mu)^2}{2}\right) \cdot \frac{1}{\sqrt{2\pi}} \exp\left(-\frac{(y_i - \theta x_i)^2}{2}\right) \right) p μ , θ ( x ( n ) , y ( n ) ) = i = 1 ∏ n ( 2 π 1 exp ( − 2 ( x i − μ ) 2 ) ⋅ 2 π 1 exp ( − 2 ( y i − θ x i ) 2 ) )
Expanding this, we get:
p μ , θ ( x ( n ) , y ( n ) ) = 1 ( 2 π ) n exp ( − ∑ i = 1 n [ ( x i − μ ) 2 2 + ( y i − θ x i ) 2 2 ] ) p_{\mu, \theta}(\mathbf{x}^{(n)}, \mathbf{y}^{(n)}) = \frac{1}{(2\pi)^{n}} \exp\left(-\sum_{i=1}^{n} \left[\frac{(x_i - \mu)^2}{2} + \frac{(y_i - \theta x_i)^2}{2}\right]\right) p μ , θ ( x ( n ) , y ( n ) ) = ( 2 π ) n 1 exp ( − i = 1 ∑ n [ 2 ( x i − μ ) 2 + 2 ( y i − θ x i ) 2 ] )
(4)
(i)
The expectation E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) ) ] \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)}[\log p_{\mu, \theta}(\mathbf{X}^{(n)}, \mathbf{Y}^{(n)})] E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) )] is given by:
E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) ) ] = E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ − ∑ i = 1 n − 1 ( ( x i − μ ) 2 2 + ( y i − θ x i ) 2 2 ) − ( ( X n − μ ) 2 2 + ( y n − θ X n ) 2 2 ) ] \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)}[\log p_{\mu, \theta}(\mathbf{X}^{(n)}, \mathbf{Y}^{(n)})] = \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)}\left[-\sum_{i=1}^{n-1} \left(\frac{(x_i - \mu)^2}{2} + \frac{(y_i - \theta x_i)^2}{2}\right) - \left(\frac{(X_n - \mu)^2}{2} + \frac{(y_n - \theta X_n)^2}{2}\right)\right] E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) )] = E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ − i = 1 ∑ n − 1 ( 2 ( x i − μ ) 2 + 2 ( y i − θ x i ) 2 ) − ( 2 ( X n − μ ) 2 + 2 ( y n − θ X n ) 2 ) ]
Simplifying further using the properties of the expectation for a normal distribution:
E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) ) ] = − ∑ i = 1 n − 1 ( ( x i − μ ) 2 2 + ( y i − θ x i ) 2 2 ) − 1 2 ( ( μ ˉ − μ ) 2 + σ ˉ 2 + ( y n − θ μ ˉ ) 2 θ 2 + 1 ) \mathbb{E}_{X_n \sim N(\bar{\mu}, \bar{\sigma}^2)}[\log p_{\mu, \theta}(\mathbf{X}^{(n)}, \mathbf{Y}^{(n)})] = -\sum_{i=1}^{n-1} \left(\frac{(x_i - \mu)^2}{2} + \frac{(y_i - \theta x_i)^2}{2}\right) - \frac{1}{2}\left((\bar{\mu} - \mu)^2 + \bar{\sigma}^2 + \frac{(y_n - \theta \bar{\mu})^2}{\theta^2 + 1}\right) E X n ∼ N ( μ ˉ , σ ˉ 2 ) [ log p μ , θ ( X ( n ) , Y ( n ) )] = − i = 1 ∑ n − 1 ( 2 ( x i − μ ) 2 + 2 ( y i − θ x i ) 2 ) − 2 1 ( ( μ ˉ − μ ) 2 + σ ˉ 2 + θ 2 + 1 ( y n − θ μ ˉ ) 2 )
(ii)
The update rule for ( μ t + 1 , θ t + 1 ) (\mu_{t+1}, \theta_{t+1}) ( μ t + 1 , θ t + 1 ) in the EM algorithm is obtained by maximizing the expression found in part (i):
( μ t + 1 , θ t + 1 ) = arg max ( μ , θ ) ∈ R 2 [ − ∑ i = 1 n − 1 ( ( x i − μ ) 2 2 + ( y i − θ x i ) 2 2 ) − 1 2 ( ( μ ˉ − μ ) 2 + σ ˉ 2 + ( y n − θ μ ˉ ) 2 θ 2 + 1 ) ] (\mu_{t+1}, \theta_{t+1}) = \mathop{\arg\max}\limits_{(\mu, \theta) \in \mathbb{R}^2} \left[-\sum_{i=1}^{n-1} \left(\frac{(x_i - \mu)^2}{2} + \frac{(y_i - \theta x_i)^2}{2}\right) - \frac{1}{2}\left((\bar{\mu} - \mu)^2 + \bar{\sigma}^2 + \frac{(y_n - \theta \bar{\mu})^2}{\theta^2 + 1}\right)\right] ( μ t + 1 , θ t + 1 ) = ( μ , θ ) ∈ R 2 arg max [ − i = 1 ∑ n − 1 ( 2 ( x i − μ ) 2 + 2 ( y i − θ x i ) 2 ) − 2 1 ( ( μ ˉ − μ ) 2 + σ ˉ 2 + θ 2 + 1 ( y n − θ μ ˉ ) 2 ) ]
Solving this for μ \mu μ and θ \theta θ , we find:
μ t + 1 = 1 n ( ∑ i = 1 n − 1 x i + μ ˉ ) \mu_{t+1} = \frac{1}{n} \left(\sum_{i=1}^{n-1} x_i + \bar{\mu}\right) μ t + 1 = n 1 ( i = 1 ∑ n − 1 x i + μ ˉ )
θ t + 1 = ∑ i = 1 n − 1 y i x i + y n μ ˉ ∑ i = 1 n − 1 x i 2 + μ ˉ 2 + 1 θ 2 + 1 \theta_{t+1} = \frac{\sum_{i=1}^{n-1} y_i x_i + y_n \bar{\mu}}{\sum_{i=1}^{n-1} x_i^2 + \bar{\mu}^2 + \frac{1}{\theta^2 + 1}} θ t + 1 = ∑ i = 1 n − 1 x i 2 + μ ˉ 2 + θ 2 + 1 1 ∑ i = 1 n − 1 y i x i + y n μ ˉ
This update rule depends on the observed data X ( n − 1 ) , Y ( n ) \mathbf{X}^{(n-1)}, \mathbf{Y}^{(n)} X ( n − 1 ) , Y ( n ) and the estimates μ ˉ , σ ˉ 2 \bar{\mu}, \bar{\sigma}^2 μ ˉ , σ ˉ 2 obtained from the conditional expectation.
Knowledge
正态分布 条件分布 数值期望 EM算法 最大似然估计
难点思路
推导条件分布涉及到二元正态分布的性质,尤其是推导条件期望和方差时,需要对协方差矩阵有深刻理解。EM 算法的难点在于构建对数似然函数的期望,并通过优化找到参数的更新规则。
解题技巧和信息
条件分布 :对于二元正态分布,条件分布仍然是正态分布,且其参数可以通过边际分布的参数计算得到。
EM 算法 :EM 算法通过最大化对数似然函数的期望来迭代更新参数,对于缺失数据的问题尤为有效。
最大似然估计 :通常情况下,EM 算法能够保证参数的渐进一致性,即经过多次迭代,参数估计会收敛到真值。
重点词汇
Expectation-Maximization (EM) Algorithm : 期望最大化算法
Conditional distribution : 条件分布
Maximum likelihood estimation : 最大似然估计
Normal distribution : 正态分布
参考资料
Bishop, C. M. (2006). Pattern Recognition and Machine Learning . Springer. Chapter 9: Mixture Models and EM.
Casella, G., & Berger, R. L. (2001). Statistical Inference (2nd ed.). Duxbury. Chapter 7: Estimation.