Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
Hey Sky <heyskywalker@yahoo.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: question on gllamm for discrete latent variable with one factor structure |

Date |
Mon, 10 May 2010 12:36:28 -0700 (PDT) |

hey, Kolenhikov sorry for the not clearing message and thanks for your answer. here is the message after the iteration stopped: numerical derivatives are approximate flat or discontinuous region encountered could not calculate numerical derivatives missing values encountered (error occurred in ML computation) (use trace option and check correctness of initial model) I am still not familiar with the gllamm options so that I think there must has something wrong in my code. I also have tried to do as what the example on gllamm manual chpater 5.2.1 p59 did, it does not work either and give the same message as above. the model should be ok since fortran code gives satisfied result. and I cannot use stata since the data center does not have it and not allowed to install it either. here is what I tried and edu is a 0/1 dummy: gen cons=1 eq: cons eq: edu gllamm dep indep, i(id) base(5) link(mlogit) family(binom) nip(2) ip(f) nrf(2) /// eq(cons mu2) dots trace thanks for your kind answer again Nan ----- Original Message ---- From: Stas Kolenikov <skolenik@gmail.com> To: statalist@hsphsun2.harvard.edu Sent: Sun, May 9, 2010 11:25:38 PM Subject: Re: st: question on gllamm for discrete latent variable with one factor structure On Sun, May 9, 2010 at 3:25 PM, Hey Sky <heyskywalker@yahoo.com> wrote: > I use gllamm to model people's choice among edu, wrkwt (work with training), wrknt (work without training) > and home (stay at home), panel data. edu/wrknt/wrkwt/home are dummy variables. > > I have tried the following code, which takes Rabe-Hesketh's model 2 in notes GLLAMM models with discrete > latent variables as example. but my code does not work "does not work" is a very broad term. Does it produce a syntax error? Does it fail to converge? Does it produce the results that do not make sense? -- Stas Kolenikov, also found at http://stas.kolenikov.name Small print: I use this email account for mailing lists only. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: question on gllamm for discrete latent variable with one factor structure***From:*Stas Kolenikov <skolenik@gmail.com>

**References**:**st: question on gllamm for discrete latent variable with one factor structure***From:*Hey Sky <heyskywalker@yahoo.com>

**Re: st: question on gllamm for discrete latent variable with one factor structure***From:*Stas Kolenikov <skolenik@gmail.com>

- Prev by Date:
**Re: st: Element-by-element computation in Mata** - Next by Date:
**Re: st: RE: Invisible axis** - Previous by thread:
**Re: st: question on gllamm for discrete latent variable with one factor structure** - Next by thread:
**Re: st: question on gllamm for discrete latent variable with one factor structure** - Index(es):