Estimasi kemungkinan maksimum EM untuk distribusi Weibull


24

Catatan: Saya memposting pertanyaan dari mantan mahasiswa saya yang tidak dapat memposting sendiri karena alasan teknis.

Diberikan sampel iid x1,,xn dari distribusi Weibull dengan pdf

fk(x)=kxk1exkx>0
apakah ada variabel yang hilang representasi berguna
fk(x)=Zgk(x,z)dz
dan karenanya sebuah terkait EM (harapan-maksimisasi) algoritma yang dapat digunakan untuk mencari MLE darik , daripada menggunakan optimasi numerik langsung?

2
Apakah ada sensor?
ocram

2
Apa yang salah dengan newton rhapson?
probabilityislogic

2
@probabilityislogic: tidak ada yang salah dengan apa pun! Murid saya ingin tahu apakah ada versi EM, itu saja ...
Xi'an

1
Bisakah Anda memberikan contoh apa yang Anda cari dalam konteks yang berbeda dan lebih sederhana, misalnya dengan pengamatan terhadap variabel acak Gaussian atau seragam? Ketika semua data diamati, saya (dan beberapa poster lainnya, berdasarkan komentar mereka) tidak melihat bagaimana EM relevan dengan pertanyaan Anda.
ahfoss

1
@probabilityislogic Saya pikir Anda seharusnya mengatakan, "Oh, maksud Anda Anda ingin MENGGUNAKAN Newton Raphson?". Weibulls adalah keluarga biasa ... Saya pikir, jadi solusi ML adalah unik. Karenanya, EM tidak memiliki apa pun untuk "E" selesai, jadi Anda hanya "M" ing ... dan menemukan akar persamaan skor adalah cara terbaik untuk melakukannya!
AdamO

Jawaban:


7

Saya pikir jawabannya adalah ya, jika saya telah memahami pertanyaan dengan benar.

Tulis . Kemudian EM jenis algoritma iterasi, dimulai dengan misalnya k = 1 , adalahzi=xikk^=1

  • E z^i=xik^

  • M k^=n[(z^i1)logxi]

Ini adalah kasus khusus (kasus tanpa sensor dan tanpa kovariat) dari iterasi yang disarankan untuk model bahaya proporsional Weibull oleh Aitkin dan Clayton (1980). Itu juga dapat ditemukan di Bagian 6.11 dari Aitkin et al (1989).

  • Aitkin, M. dan Clayton, D., 1980. Pemasangan distribusi nilai eksponensial, Weibull dan ekstrim untuk data survival yang disensor kompleks menggunakan GLIM. Statistik Terapan , hal.156-163.

  • Aitkin, M., Anderson, D., Francis, B. dan Hinde, J., 1989. Pemodelan Statistik dalam GLIM . Oxford University Press. New York.


Terima kasih banyak, David! Memperlakukan sebagai varian yang hilang tidak pernah terlintas di benak saya ...! xik
Xi'an

7

The Weibull MLE hanya numerik dipecahkan:

Biarkan dengan

fλ,β(x)={βλ(xλ)β1e(xλ)β,x00,x<0
β,λ>0 .

1) Likelihoodfunction :

Lx^(λ,β)=i=1Nfλ,β(xi)=i=1Nβλ(xiλ)β1e(xiλ)β=βNλNβei=1N(xiλ)βi=1Nxiβ1

log-Likelihoodfunction :

x^(λ,β):=lnLx^(λ,β)=NlnβNβlnλi=1N(xiλ)β+(β1)i=1Nlnxi

2) MLE-Masalah : 3) Maksimalisasidengan0-gradien: l

max(λ,β)R2x^(λ,β)s.t.λ>0β>0
0
lλ=Nβ1λ+βi=1Nxiβ1λβ+1=!0lβ=NβNlnλi=1Nln(xiλ)eβln(xiλ)+i=1Nlnxi=!0
It follows:
Nβ1λ+βi=1Nxiβ1λβ+1=0β1λN+β1λi=1Nxiβ1λβ=01+1Ni=1Nxiβ1λβ=01Ni=1Nxiβ=λβ
λ=(1Ni=1Nxiβ)1β

Plugging λ into the second 0-gradient condition:

β=[i=1Nxiβlnxii=1Nxiβlnx¯]1

This equation is only numerically solvable, e.g. Newton-Raphson algorithm. β^ can then be placed into λ to complete the ML estimator for the Weibull distribution.


11
Unfortunately, this does not appear to answer the question in any discernible way. The OP is very clearly aware of Newton-Raphson and related approaches. The feasibility of N-R in no way precludes the existence of a missing-variable representation or associated EM algorithm. In my estimation, the question is not concerned at all with numerical solutions, but rather is probing for insight that might become apparent if an interesting missing-variable approach were demonstrated.
cardinal

@cardinal It is one thing to say there was only numerical solution, and it is another thing to show there is only numerical solution.
emcor

5
Dear @emcor, I think you may be misunderstanding what the question is asking. Perhaps reviewing the other answer and associated comment stream would be helpful. Cheers.
cardinal

@cardinal I agree it is not direct answer, but it is the exact expressions for the MLE's e.g. can be used to verify the EM.
emcor

4

Though this is an old question, it looks like there is an answer in a paper published here: http://home.iitk.ac.in/~kundu/interval-censoring-REVISED-2.pdf

In this work the analysis of interval-censored data, with Weibull distribution as the underlying lifetime distribution has been considered. It is assumed that censoring mechanism is independent and non-informative. As expected, the maximum likelihood estimators cannot be obtained in closed form. In our simulation experiments it is observed that the Newton-Raphson method may not converge many times. An expectation maximization algorithm has been suggested to compute the maximum likelihood estimators, and it converges almost all the times.


1
Can you post a full citation for the paper at the link, in case it goes dead?
gung - Reinstate Monica

1
This is an EM algorithm, but does not do what I believe the OP wants. Rather, the E-step imputes the censored data, after which the M-step uses a fixed point algorithm with the complete data set. So the M-step is not in closed form (which I think is what the OP is looking for).
Cliff AB

1
@CliffAB: thank you for the link (+1) but indeed the EM is naturally induced in this paper by the censoring part. My former student was looking for a plain uncensored iid Weibull likelihood optimisation via EM.
Xi'an

-1

In this case the MLE and EM estimators are equivalent, since the MLE estimator is actually just a special case of the EM estimator. (I am assuming a frequentist framework in my answer; this isn't true for EM in a Bayesian context in which we're talking about MAP's). Since there is no missing data (just an unknown parameter), the E step simply returns the log likelihood, regardless of your choice of k(t). The M step then maximizes the log likelihood, yielding the MLE.

EM would be applicable, for example, if you had observed data from a mixture of two Weibull distributions with parameters k1 and k2, but you didn't know which of these two distributions each observation came from.


6
I think you may have misinterpreted the point of the question, which is: Does there exist some missing-variable interpretation from which one would obtain the given Weibull likelihood (and which would allow an EM-like algorithm to be applied)?
cardinal

4
The question statement in @Xi'an's post is quite clear. I think the reason it hasn't been answered is because any answer is likely nontrivial. (It's interesting, so I wish I had more time to think about it.) At any rate, your comment appears to betray a misunderstanding of the EM algorithm. Perhaps the following will serve as an antidote:
cardinal

6
Let f(x)=πφ(xμ1)+(1π)φ(xμ2) where φ is the standard normal density function. Let F(x)=xf(u)du. With U1,,Un iid standard uniform, take Xi=F1(Ui). Then, X1,,Xn is a sample from a Gaussian mixture model. We can estimate the parameters by (brute-force) maximum likelihood. Is there any missing data in our data-generation process? No. Does it have a latent-variable representation allowing for the use of an EM algorithm? Yes, absolutely.
cardinal

4
My apologies @cardinal; I think I have misunderstood two things about your latest post. Yes, in the GMM problem you could search R2×[0,1] via a brute force ML approach. Also, I now see that the original problem looks for a solution that involves introducing a latent variable that allows for an EM approach to estimating the parameter k in the given density kxk1exk. An interesting problem. Are there any examples of using EM like this in such a simple context? Most of my exposure to EM has been in the context of mixture problems and data imputation.
ahfoss

3
@ahfoss: (+1) to your latest comment. Yes! You got it. As for examples: (i) it shows up in censored data problems, (ii) classical applications like hidden Markov models, (iii) simple threshold models like probit models (e.g., imagine observing the latent Zi instead of Bernoulli Xi=1(Zi>μ)), (iv) estimating variance components in one-way random effects models (and much more complex mixed models), and (v) finding the posterior mode in a Bayesian hierarchical model. The simplest is probably (i) followed by (iii).
cardinal
Dengan menggunakan situs kami, Anda mengakui telah membaca dan memahami Kebijakan Cookie dan Kebijakan Privasi kami.
Licensed under cc by-sa 3.0 with attribution required.