Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

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


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 14:47:25 -0700 (PDT)

Dear Kolenikov

thanks for your answer and maybe for future answer too :) 

I think I have tried without the cons in the eq option with more than one latent variables .  
ie. 

eq mu1: edu
eq mu2: wrknt
eq mu3: wrkwt
eq mu4: home

gllamm dep indep,  i(id) base(4) link(mlogit) family(binom) nip(2) ip(f) nrf(3)  ///
 eq(mu1 mu2 mu3) dots trace

but it does not converge either. I will go back and check my memory is right or not. 

I will try the nocons option and see what the result will be. and thanks for remind me
the typo in my last post. I do have the name of the eq option in my code.

PS. what is the option peqs, geqs for? I think I do not really understand the part on manual

Nan
from Montreal





----- 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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index