EM-Maximum-Likelihood-Schätzung für die Weibull-Verteilung


24

Hinweis: Ich stelle eine Frage eines ehemaligen Studenten, der aus technischen Gründen nicht in der Lage ist, selbst zu posten.

Ausgehend von einer iid-Stichprobe x1,,xn aus einer Weibull-Verteilung mit pdf

fk(x)=kxk-1e-xkx>0
gibt es eine nützliche fehlende Variablendarstellung und daher einen zugehörigen EM-Algorithmus (Erwartungsmaximierung), der sein könnte verwendet, um die MLE vonzu finden, anstatt eine einfache numerische Optimierung zu verwenden?
fk(x)=ZGk(x,z)dz
k

2
Gibt es eine Zensur?
14.

2
Was ist los mit Newton Rhapson?
Wahrscheinlichkeitslogik

2
@probabilityislogic: mit irgendetwas stimmt nichts nicht! Mein Schüler würde gerne wissen, ob es eine EM-Version gibt, das ist alles ...
Xi'an

1
Können Sie ein Beispiel dafür geben, wonach Sie in einem anderen, einfacheren Kontext suchen, z. B. mit Beobachtungen einer Gaußschen oder einer einheitlichen Zufallsvariablen? Wenn alle Daten beobachtet werden, sehe ich (und einige der anderen Poster, basierend auf ihren Kommentaren) nicht, wie relevant EM für Ihre Frage ist.
Ahfoss

1
@ probabilityislogic Ich denke, du hättest sagen sollen: "Oh, du meinst, du willst Newton Raphson VERWENDEN?". Weibulls sind reguläre Familien ... Ich denke, ML-Lösungen sind einzigartig. Aus diesem Grund hat EM nichts zu "E", Sie müssen also nur "M" -en ... und das Finden von Wurzeln für Score-Gleichungen ist der beste Weg, dies zu tun!
AdamO

Antworten:


7

Ich denke die Antwort ist ja, wenn ich die Frage richtig verstanden habe.

Schreibe . Dann wird eine EM - Algorithmus Art von Iteration, beginnend mit beispielsweise k = 1 , istzi=xikk^=1

  • E - Schritt: z i = x k iz^i=xik^

  • M - Schritt: k = nk^=n[(z^i1)logxi]

Dies ist ein Sonderfall (der Fall ohne Zensur und ohne Kovariaten) der von Aitkin und Clayton (1980) für Weibull-Proportional-Hazards-Modelle vorgeschlagenen Iteration. Es ist auch in Abschnitt 6.11 von Aitkin et al. (1989) zu finden.

  • Aitkin, M. und Clayton, D., 1980. Die Anpassung von Exponential-, Weibull- und Extremwertverteilungen an komplexe zensierte Überlebensdaten unter Verwendung von GLIM. Applied Statistics , S. 156-163.

  • Aitkin, M., Anderson, D., Francis, B. und Hinde, J., 1989. Statistical Modeling in GLIM . Oxford University Press. New York.


Vielen Dank, David! Das Behandeln von als die fehlende Variable ist mir nie in den Sinn gekommen ...! xik
Xi'an

7

Das Weibull MLE ist nur numerisch lösbar:

Sei mitβ,

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

lügt-Likelihoodfunction :

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

2) MLE-Problem : 3) Maximierungum0-Gradienten: 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
Ich entschuldige mich @ cardinal; Ich glaube, ich habe zwei Dinge über Ihren letzten Beitrag falsch verstanden. Ja, im GMM-Problem könnten Sie suchenR2×[0,1]über einen Brute-Force-ML-Ansatz. Außerdem sehe ich jetzt, dass das ursprüngliche Problem nach einer Lösung sucht, bei der eine latente Variable eingeführt wird, die einen EM-Ansatz zur Schätzung des Parameters ermöglichtk in der gegebenen Dichte kxk-1e-xk. Ein interessantes Problem. Gibt es Beispiele für die Verwendung von EM in einem so einfachen Kontext? Der größte Teil meiner EM-Exposition war im Zusammenhang mit Mischungsproblemen und Datenimputation zu sehen.
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
Durch die Nutzung unserer Website bestätigen Sie, dass Sie unsere Cookie-Richtlinie und Datenschutzrichtlinie gelesen und verstanden haben.
Licensed under cc by-sa 3.0 with attribution required.