Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: conducting a LCA with gllamm
From
"Melanie Mogavero" <[email protected]>
To
[email protected]
Subject
st: conducting a LCA with gllamm
Date
Wed, 18 Sep 2013 13:43:25 -0400
I am using Stata 13 MP. I am attempting to conduct an LCA with
categorical data. The variables are coded numerically, and are: Type=
Byte, Format = %8.0g. I have 270 observations
Below is the following syntax I used and I received no response (nothing
happened). IV's (2x2x2x2x2)
DV dichotomy
. eq doage_5over : doage_5over
. eq dracewte : dracewte
. eq drelstatmarr : drelstatmarr
. eq dempstat_un : dempstat_un
. eq dedatt_nohs : dedatt_nohs
xi: gllamm i.doage_5over dracewte drelstatmarr dempstat_un dedatt_nohs ,
i(VHousedi) nrf(5) eqs(doage_5over dracewte drelstatmarr dempstat_un
dedatt_nohs) nip(32) iterate(600)
response:
i.doage_5over _Idoage_5ov_0-1 (naturally coded; _Idoage_5ov_0
omitted)
nothing else, no iterations.
Does anyone see anything wrong with this syntax?
Sincerely,
Melanie Mogavero, MA
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/