[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: moptimize within moptimize?

From   László Sándor <[email protected]>
To   [email protected]
Subject   st: moptimize within moptimize?
Date   Fri, 6 Nov 2009 12:07:05 -0500

Dear all,

I am trying to code up a simple EM algorithm to estimate a latent
class model (a.k.a finite mixture on a higher level than the
observations). This should be doable if I can keep track of all my
parameters in the score and Hessian (of simple classical normals) in
the M-step (maximization of log-likelihood for a mixing taken as
given). I'll try to keep the M-step in -moptimize-. But it would be
also nice to embed the M-step within another moptimize call for the
whole procedure. Do you think it is feasible, or it is unnecessary, or
even unfeasible? It would be great to have some expert opinion on this
before I go down that path.

Thank you,

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index