Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Help with GLLAMM syntex


From   Michael Ingre <[email protected]>
To   [email protected]
Subject   Re: st: Help with GLLAMM syntex
Date   Wed, 7 Jul 2004 20:58:28 +0200

On 2004-07-07, at 16.54, Guillaume Frechette wrote:

1. What are the commands to estimate the equivalent of xtreg..., i(subject)
and xtprobit..., i(subject) but also specify an additional random effect,
let's say i(year)?
. gen const = 1
. eq intercept: const
. eq slope: year

. gllamm .... , i(subject) nrf(2) eqs(intercept slope) link(identity) fam(gaussian) adapt
. gllamm .... , i(subject) nrf(2) eqs(intercept slope) link(probit) fam(binomial) adapt



2. What are the commands to estimate the equivalent of xtreg..., i(subject)
and xtprobit..., i(subject) but also specify the equivalent of
cluster(year)?
. gllamm .... , i(subject) nrf(2) link(probit) fam(bin) adapt cluster(year)

I thing this would do the trick.

Michael

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




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