Section 6.4

Likelihood Estimation: Multiple Roots

[19/0%]
Show
LaTeX
Problem 6.4.1

Let

u(t)={c∫0te−1/x(1−x)dx for 0<t<10 for t≤01 for t≥1 u(t)= \begin{cases} c \int _{0}^{t} e^{-1 / x(1-x)} d x & \text{ for } 0<t<1 \\ 0 & \text{ for } t \leq 0 \\ 1 & \text{ for } t \geq 1\end{cases}

Show that for a suitable cc, the function uu is continuous and infinitely differentiable for −∞<t<∞-\infty <t<\infty.

?
Problem 6.4.2

Show that the density (4.1) with Ω=(0,∞)\Omega =(0, \infty ) satisfies all conditions of Theorem 3.10 with the exception of (d) of Theorem 2.6.

?
Problem 6.4.3

Show that the density (4.4) with Ω=(0,∞)\Omega =(0, \infty ) satisfies all conditions of Theorem 3.10.

?
Problem 6.4.4

In Example 4.5, evaluate the estimators (4.8) and (4.14) for the Cauchy case, using for θ~n\tilde{\theta }_{n} the sample median.

?
Problem 6.4.5

In Example 4.7, show that l(θ)l(\theta ) is concave.

?
Problem 6.4.6

In Example 4.7, if η=ξ\eta =\xi, show how to obtain a n\sqrt{n}-consistent estimator by equating sample and population second moments.

?
Problem 6.4.7

In Theorem 4.8, show that σ11=σ12\sigma_{11}=\sigma_{12}.

?
Problem 6.4.8

Without using Theorem 4.8, in Example 4.13 show that the EM sequence converges to the MLE.

?
Problem 6.4.9

Consider the following 12 observations from a bivariate normal distribution with parameters μ1=μ2=0,σ12,σ22,ρ\mu_{1}=\mu_{2}=0, \sigma_{1}^{2}, \sigma_{2}^{2}, \rho :

x1x_{1}11-1-122-2-2****
x2x_{2}1-11-1****22-2-2

where " ∗* " represents a missing value.

?
(a)

Show that the likelihood function has global maxima at ρ=±1/2,σ12=σ22=8/3\rho = \pm 1 / 2, \sigma_{1}^{2}=\sigma_{2}^{2}=8 / 3, and a saddlepoint at ρ=0,σ12=σ22=5/2\rho =0, \sigma_{1}^{2}=\sigma_{2}^{2}=5 / 2.

(b)

Show that if an EM sequence starts with ρ=0\rho =0, then it remains with ρ=0\rho =0 for all subsequent iterations.

(c)

Show that if an EM sequence starts with ρ\rho bounded away from zero, it will converge to a maximum.

Remark.
?

This problem is due to Murray (1977), and is discussed by Wu (1983).

Problem 6.4.10

Show that if the EM complete-data density f(y,z∣θ)f(\mathbf{y}, \mathbf{z} \mid \theta ) of (4.21) is in a curved exponential family, then the hypotheses of Theorem 4.12 are satisfied.

?
Problem 6.4.11

In the EM algorithm, calculation of the E-step, the expectation calculation, can be complicated. In such cases, it may be possible to replace the E-step by a Monte Carlo evaluation, creating the MCEM algorithm (Wei and Tanner 1990). Consider the following MCEM evaluation of Q(θ∣θ^(j),y)Q\left(\theta \mid \hat{\theta }_{(j)}, \mathbf{y}\right) : Given θ^(j)(k)\hat{\theta }_{(j)}^{(k)}

  1. Generate Z1,⋯ ,ZkZ_{1}, \cdots , Z_{k}, iid, from k(z∣θ^(j)(k),y)k\left(\mathbf{z} \mid \hat{\theta }_{(j)}^{(k)}, \mathbf{y}\right),

  2. Let Q^(θ∣θ^(j)(k),y)=1k∑i=1klog⁡L(θ∣y,z)\hat{Q}\left(\theta \mid \hat{\theta }_{(j)}^{(k)}, \mathbf{y}\right)=\frac{1}{k} \sum_{i=1}^{k} \log L(\theta \mid \mathbf{y}, \mathbf{z})

and then calculate θ^(j+1)(k)\hat{\theta }_{(j+1)}^{(k)} as the value that maximizes Q^(θ∣θ^(j)(k),y)\hat{Q}\left(\theta \mid \hat{\theta }_{(j)}^{(k)}, \mathbf{y}\right).

?
(a)

Show that Q^(θ∣θ^(j)(k),y)→Q^(θ∣θ^(j),y)\hat{Q}\left(\theta \mid \hat{\theta }_{(j)}^{(k)}, \mathbf{y}\right) \rightarrow \hat{Q}\left(\theta \mid \hat{\theta }_{(j)}, \mathbf{y}\right) as k→∞k \rightarrow \infty.

(b)

What conditions will ensure that L(θ^(j+1)(k)∣y)≥L(θ^(j)(k)∣y)L\left(\hat{\theta }_{(j+1)}^{(k)} \mid \mathbf{y}\right) \geq L\left(\hat{\theta }_{(j)}^{(k)} \mid \mathbf{y}\right) for sufficiently large kk? Are the hypotheses of Theorem 4.12 sufficient?

Problem 6.4.12

For the mixture distribution of Example 4.7, that is,

Xi∼θg(x)+(1−θ)h(x),i=1,…,n, independent  X_{i} \sim \theta g(x)+(1-\theta ) h(x), \quad i=1, \ldots , n, \text{ independent }

where g(⋅)g(\cdot ) and h(⋅)h(\cdot ) are known, an EM algorithm can be used to find the ML estimator of θ\theta. Let Z1,⋯ ,ZnZ_{1}, \cdots , Z_{n}, where ZiZ_{i} indicates from which distribution XiX_{i} has been drawn, so

Xi∣Zi=1∼g(x)Xi∣Zi=0∼h(x). \begin{align} & X_{i} \mid Z_{i}=1 \sim g(x) \\ & X_{i} \mid Z_{i}=0 \sim h(x). \end{align}
?
(a)

Show that the complete-data likelihood can be written

L(θ∣x,z)=∏i=1n[zig(xi)+(1−zi)h(xi)]θzi(1−θ)1−zi. L(\theta \mid \mathbf{x}, \mathbf{z})=\prod _{i=1}^{n}\left[z_{i} g\left(x_{i}\right)+\left(1-z_{i}\right) h\left(x_{i}\right)\right] \theta ^{z_{i}}(1-\theta )^{1-z_{i}}.
(b)

Show that E[Zi∣θ,xi]=θg(xi)/[θg(xi)+(1−θ)h(xi)]\mathbb {E}\left[Z_{i} \mid \theta , x_{i}\right]=\theta g\left(x_{i}\right) /\left[\theta g\left(x_{i}\right)+(1-\theta ) h\left(x_{i}\right)\right] and hence that the EM sequence is given by

θ^(j+1)=1n∑i=1nθ^(j)g(xi)θ^(j)g(xi)+(1−θ^(j))h(xi). \hat{\theta }_{(j+1)}=\frac{1}{n} \sum _{i=1}^{n} \frac{\hat{\theta }_{(j)} g\left(x_{i}\right)}{\hat{\theta }_{(j)} g\left(x_{i}\right)+\left(1-\hat{\theta }_{(j)}\right) h\left(x_{i}\right)}.
(c)

Show that θ^(j)→θ^\hat{\theta }_{(j)} \rightarrow \hat{\theta }, the ML estimator of θ\theta.

Problem 6.4.13

For the situation of Example 4.10:

?
(a)

Show that the M-step of the EM algorithm is given by

μ^=(∑i=14∑j=1niyij+z1+z2)/12, \hat{\mu }=\left(\sum _{i=1}^{4} \sum _{j=1}^{n_{i}} y_{i j}+z_{1}+z_{2}\right) / 12, α^i=(∑j=12yij+zi)/3−μ^,i=1,3=(∑j=13yij)/3−μ^,i=2,4. \begin{align} \hat{\alpha }_{i} & =\left(\sum _{j=1}^{2} y_{i j}+z_{i}\right) / 3-\hat{\mu }, \quad i=1,3 \\ & =\left(\sum _{j=1}^{3} y_{i j}\right) / 3-\hat{\mu }, \quad i=2,4. \end{align}
(b)

Show that the E-step of the EM algorithm is given by

zi=E[Yi3∣μ=μ^,αi=α^i]=μ^+α^ii=1,3. z_{i}=\mathbb {E}\left[Y_{i 3} \mid \mu =\hat{\mu }, \alpha _{i}=\hat{\alpha }_{i}\right]=\hat{\mu }+\hat{\alpha }_{i} \quad i=1,3.
(c)

Under the restriction ∑iαi=0\sum_{i} \alpha_{i}=0, show that the EM sequence converges to α^i=yˉi.−μ^\hat{\alpha }_{i}= \bar{y}_{i.}-\hat{\mu }, where μ^=∑iyˉi./4\hat{\mu }=\sum_{i} \bar{y}_{i.} / 4.

(d)

Under the restriction ∑iniαi=0\sum_{i} n_{i} \alpha_{i}=0, show that the EM sequence converges to α^i=yˉi.−μ^\hat{\alpha }_{i}= \bar{y}_{i.}-\hat{\mu }, where μ^=∑ijyij/10\hat{\mu }=\sum_{i j} y_{i j} / 10.

(e)

For a general one-way layout with aa treatments and nijn_{i j} observations per treatment, show how to use the EM algorithm to augment the data so that each treatment has nn observation. Write down the EM sequence, and show what it converges to under the restrictions of parts (c) and (d).

[The restrictions of parts (c) and (d) were encountered in Example 3.4.9, where they led, respectively, to an unweighted means analysis and a weighted means analysis.]

Problem 6.4.14

In the two-way layout (see Example 3.4.11), the EM algorithm can be very helpful in computing ML estimators in the unbalanced case. Suppose that we observe

Yijk:N(ξij,σ2),i=1,…,I,j=1,…,J,k=1,…,nij, Y_{i j k}: N\left(\xi _{i j}, \sigma ^{2}\right), \quad i=1, \ldots , I, \quad j=1, \ldots , J, \quad k=1, \ldots , n_{i j},

where ξij=μ+αi+βj+γij\xi_{i j}=\mu +\alpha_{i}+\beta_{j}+\gamma_{i j}. The data will be augmented so that the complete data have nn observations per cell.

?
(a)

Show how to compute both the E-step and the M-step of the EM algorithm.

(b)

Under the restriction ∑iαi=∑jβj=∑iγij=∑jγij=0\sum_{i} \alpha_{i}=\sum_{j} \beta_{j}=\sum_{i} \gamma_{i j}=\sum_{j} \gamma_{i j}=0, show that the EM sequence converges to the ML estimators corresponding to an unweighted means analysis.

(c)

Under the restriction ∑ini.αi=∑jn⋅jβj=∑ini⋅γij=∑j⋅jγij=0\sum_{i} n_{i}. \alpha_{i}=\sum_{j} n_{\cdot j} \beta_{j}=\sum_{i} n_{i \cdot } \gamma_{i j}=\sum_{j} \cdot j \gamma_{i j}=0, show that the EM sequence converges to the ML estimators corresponding to a weighted means analysis.

Problem 6.4.15

For the one-way layout with random effects (Example 3.5.1), the EM algorithm is useful for computing ML estimates. (In fact, it is very useful in many mixed models; see Searle et al. 1992, Chapter 8.) Suppose we have the model

Xij=μ+Ai+Uij(j=1,…,ni,i=1,…,s) X_{i j}=\mu +A_{i}+U_{i j} \quad \left(j=1, \ldots , n_{i}, i=1, \ldots , s\right)

where AiA_{i} and UijU_{i j} are independent normal random variables with mean zero and known variance. To compute the ML estimates of μ,σU2\mu , \sigma_{U}^{2}, and σU2\sigma_{U}^{2} it is typical to employ an EM algorithm using the unobservable AiA_{i} 's as the augmented data. Write out both the E-step and the M-step, and show that the EM sequence converges to the ML estimators.

?
Problem 6.4.16

Maximum likelihood estimation in the probit model of Section 3.6 can be implemented using the EM algorithm. We observe independent Bernoulli variables X1,…,XnX_{1}, \ldots , X_{n}, which depend on unobservable variables ZiZ_{i} distributed independently as N(ζi,σ2)N\left(\zeta_{i}, \sigma^{2}\right), where

Xi={0 if Zi≤u1 if Zi>u. X_{i}= \begin{cases} 0 & \text{ if } Z_{i} \leq u \\ 1 & \text{ if } Z_{i}>u.\end{cases}

Assuming that uu is known, we are interested in obtaining ML estimates of ζ\zeta and σ2\sigma^{2}.

?
(a)

Show that the likelihood function is pΣxi(1−p)n−Σxip^{\Sigma x_{i}}(1-p)^{n-\Sigma x_{i}}, where

p=P(Zi>u)=Φ(ζ−uσ). p=\mathbb {P}\left(Z_{i}>u\right)=\Phi \left(\frac{\zeta -u}{\sigma }\right).
(b)

If we consider Z1,…,ZnZ_{1}, \ldots , Z_{n} to be the complete data, the complete-data likelihood is

∏i=1n12πσe−12σ2(zi−ζ)2 \prod _{i=1}^{n} \frac{1}{\sqrt{2 \pi } \sigma } e^{-\frac{1}{2 \sigma ^{2}}\left(z_{i}-\zeta \right)^{2}}

and the expected complete-data log likelihood is

−n2log⁡(2πσ2)−12σ2∑i=1n[E[Zi2∣Xi]−2ζE[Zi∣Xi]+ζ2]. -\frac{n}{2} \log \left(2 \pi \sigma ^{2}\right)-\frac{1}{2 \sigma ^{2}} \sum _{i=1}^{n}\left[\mathbb {E}\left[Z_{i}^{2} \mid X_{i}\right]-2 \zeta \mathbb {E}\left[Z_{i} \mid X_{i}\right]+\zeta ^{2}\right].
(c)

Show that the EM sequence is given by

ζ^(j+1)=1n∑i=1nti(ζ^(j),σ^(j)2)σ^(j+1)2=1n[∑i=1nvi(ζ^(j),σ^(j)2)−1n(∑i=1nti(ζ^(j),σ^(j)2))2] \begin{align} & \hat{\zeta }_{(j+1)}=\frac{1}{n} \sum _{i=1}^{n} t_{i}\left(\hat{\zeta }_{(j)}, \hat{\sigma }_{(j)}^{2}\right) \\ & \hat{\sigma }_{(j+1)}^{2}=\frac{1}{n}\left[\sum _{i=1}^{n} v_{i}\left(\hat{\zeta }_{(j)}, \hat{\sigma }_{(j)}^{2}\right)-\frac{1}{n}\left(\sum _{i=1}^{n} t_{i}\left(\hat{\zeta }_{(j)}, \hat{\sigma }_{(j)}^{2}\right)\right)^{2}\right] \end{align}

where

ti(ζ,σ2)=E[Zi∣Xi,ζ,σ2] and vi(ζ,σ2)=E[Zi2∣Xi,ζ,σ2]. t_{i}\left(\zeta , \sigma ^{2}\right)=\mathbb {E}\left[Z_{i} \mid X_{i}, \zeta , \sigma ^{2}\right] \quad \text{ and } \quad v_{i}\left(\zeta , \sigma ^{2}\right)=\mathbb {E}\left[Z_{i}^{2} \mid X_{i}, \zeta , \sigma ^{2}\right].
(d)

Show that

E[Zi∣Xi,ζ,σ2]=ζ+σHi(u−ζσ)E[Zi2∣Xi,ζ,σ2]=ζ2+σ2+σ(u+ζ)Hi(u−ζσ) \begin{align} & \mathbb {E}\left[Z_{i} \mid X_{i}, \zeta , \sigma ^{2}\right]=\zeta +\sigma H_{i}\left(\frac{u-\zeta }{\sigma }\right) \\ & \mathbb {E}\left[Z_{i}^{2} \mid X_{i}, \zeta , \sigma ^{2}\right]=\zeta ^{2}+\sigma ^{2}+\sigma (u+\zeta ) H_{i}\left(\frac{u-\zeta }{\sigma }\right) \end{align}

where

Hi(t)={φ(t)1−Φ(t) if Xi=1−φ(t)Φ(t) if Xi=0 H_{i}(t)= \begin{cases} \frac{\varphi (t)}{1-\Phi (t)} & \text{ if } X_{i}=1 \\ -\frac{\varphi (t)}{\Phi (t)} & \text{ if } X_{i}=0\end{cases}
(e)

Show that ζ^(j)→ζ^\hat{\zeta }_{(j)} \rightarrow \hat{\zeta } and σ^(j)2→σ^2\hat{\sigma }_{(j)}^{2} \rightarrow \hat{\sigma }^{2}, the ML estimates of ζ\zeta and σ2\sigma^{2}.

Problem 6.4.17

Verify (4.30).

?
Problem 6.4.18

The EM algorithm can also be implemented in a Bayesian hierarchical model to find a posterior mode. Recall the model (4.5.5.1),

X∣θ∼f(x∣θ),Θ∣λ∼π(θ∣λ),Λ∼γ(λ), \begin{align} & X \mid \theta \sim f(x \mid \theta ), \\ & \Theta \mid \lambda \sim \pi (\theta \mid \lambda ), \\ & \Lambda \sim \gamma (\lambda ), \end{align}

where interest would be in estimating quantities from π(θ∣x)\pi (\theta \mid x). Since

π(θ∣x)=∫π(θ,λ∣x)dλ, \pi (\theta \mid x)=\int \pi (\theta , \lambda \mid x) d \lambda ,

where π(θ,λ∣x)=π(θ∣λ,x)π(λ∣x)\pi (\theta , \lambda \mid x)=\pi (\theta \mid \lambda , x) \pi (\lambda \mid x), the EM algorithm is a candidate method for finding the mode of π(θ∣x)\pi (\theta \mid x), where λ\lambda would be used as the augmented data.

?
(a)

Define k(λ∣θ,x)=π(θ,λ∣x)/π(θ∣x)k(\lambda \mid \theta , x)=\pi (\theta , \lambda \mid x) / \pi (\theta \mid x), and show that

log⁡π(θ∣x)=∫log⁡π(θ,λ∣x)k(λ∣θ∗,x)dλ−∫log⁡k(λ∣θ,x)k(λ∣θ∗,x)dλ. \log \pi (\theta \mid x)=\int \log \pi (\theta , \lambda \mid x) k\left(\lambda \mid \theta ^{*}, x\right) d \lambda -\int \log k(\lambda \mid \theta , x) k\left(\lambda \mid \theta ^{*}, x\right) d \lambda .
(b)

If the sequence {θ^(j)}\left\{ \hat{\theta }_{(j)}\right\} satisfies

max⁡θ∫log⁡π(θ,λ∣x)k(λ∣θ(j),x)dλ=∫log⁡π(θ(j+1),λ∣x)k(λ∣θ(j),x)dλ, \max _{\theta } \int \log \pi (\theta , \lambda \mid x) k\left(\lambda \mid \theta _{(j)}, x\right) d \lambda =\int \log \pi \left(\theta _{(j+1)}, \lambda \mid x\right) k\left(\lambda \mid \theta _{(j)}, x\right) d \lambda ,

show that log⁡π(θ(j+1)∣x)≥log⁡π(θ(j)∣x)\log \pi \left(\theta_{(j+1)} \mid x\right) \geq \log \pi \left(\theta_{(j)} \mid x\right). Under what conditions will the sequence {θ^(j)}\left\{ \hat{\theta }_{(j)}\right\} converge to the mode of π(θ∣x)\pi (\theta \mid x)?

(c)

For the hierarchy

X∣θ∼N(θ),1),Θ∣λ∼N(λ,1)),Λ∼Uniform⁡(−∞,∞), \begin{align} & X \mid \theta \sim N(\theta ), 1), \\ & \Theta \mid \lambda \sim N(\lambda , 1)), \\ & \Lambda \sim \operatorname {Uniform}(-\infty , \infty ), \end{align}

show how to use the EM algorithm to calculate the posterior mode of π(θ∣x)\pi (\theta \mid x).

Problem 6.4.19

There is a connection between the EM algorithm and Gibbs sampling, in that both have their basis in Markov chain theory. One way of seeing this is to show that the incomplete-data likelihood is a solution to the integral equation of successive substitution sampling (see Problems 4.5.9-4.5.11), and that Gibbs sampling can then be used to calculate the likelihood function. If L(θ∣y)L(\theta \mid \mathbf{y}) is the incomplete-data likelihood and L(θ∣y,z)L(\theta \mid \mathbf{y}, \mathbf{z}) is the complete-data likelihood, define

L∗(θ∣y)=L(θ∣y)∫L(θ∣y)dθL∗(θ∣y,z)=L(θ∣y,z)∫L(θ∣y,z)dθ \begin{align} L^{*}(\theta \mid \mathbf{y}) & =\frac{L(\theta \mid \mathbf{y})}{\int L(\theta \mid \mathbf{y}) d \theta } \\ L^{*}(\theta \mid \mathbf{y}, \mathbf{z}) & =\frac{L(\theta \mid \mathbf{y}, \mathbf{z})}{\int L(\theta \mid \mathbf{y}, \mathbf{z}) d \theta } \end{align}
?
(a)

Show that L∗(θ∣y)L^{*}(\theta \mid \mathbf{y}) is the solution to

L∗(θ∣y)=∫[∫L∗(θ∣y,z)k(z∣θ′,y)dz]L∗(θ′∣y)dθ′ L^{*}(\theta \mid \mathbf{y})=\int \left[\int L^{*}(\theta \mid \mathbf{y}, \mathbf{z}) k\left(\mathbf{z} \mid \theta ^{\prime }, \mathbf{y}\right) d \mathbf{z}\right] L^{*}\left(\theta ^{\prime } \mid \mathbf{y}\right) d \theta ^{\prime }

where, as usual, k(z∣θ,y)=L(θ∣y,z)/L(θ∣y)k(\mathbf{z} \mid \theta , \mathbf{y})=L(\theta \mid \mathbf{y}, \mathbf{z}) / L(\theta \mid \mathbf{y}).

(b)

Show how the sequence θ(j)\theta_{(j)} from the Gibbs iteration,

θ(j)∼L∗(θ∣y,z(j−1))z(j)∼k(z∣θ(j),y) \begin{align} & \theta _{(j)} \sim L^{*}\left(\theta \mid \mathbf{y}, \mathbf{z}_{(j-1)}\right) \\ & \mathbf{z}_{(j)} \sim k\left(\mathbf{z} \mid \theta _{(j)}, \mathbf{y}\right) \end{align}

will converge to a random variable with density L∗(θ∣y)L^{*}(\theta \mid \mathbf{y}) as j→∞j \rightarrow \infty. How can this be used to compute the likelihood function L(θ∣y)L(\theta \mid \mathbf{y})?

[Using the functions L(θ∣y,z)L(\theta \mid \mathbf{y}, \mathbf{z}) and k(z∣θ,y)k(\mathbf{z} \mid \theta , \mathbf{y}), the EM algorithm will get us the ML estimator from L(θ∣y)L(\theta \mid \mathbf{y}), whereas the Gibbs sampler will get us the entire function. This likelihood implementation of the Gibbs sampler was used by Casella and Berger (1994) and is also described by Smith and Roberts (1993). A version of the EM algorithm, where the Markov chain connection is quite apparent, was given by Baum and Petrie (1966) and Baum et al. (1970).]