I would like to specify time-varying (level-1) random effects to account
for within-person time-varying covariates (tv1 and tv2). Following
examples in the GLLAMM documentation and in Rabe-Hesketh/Everitt's
handbook of Statistical Analyses using Stata - 3rd edition, I have
determined that for the unconditional growth model:
1) the random effects of intercept and slope would be: eq inter:cons and
eq slope:day, and
2) gllamm dep_var response day, nrf(2) eqs(inter slope) family(binom)
link(log) adapt i(id).
Would inclusion of 2 time-varying covariates then be:
1) eq inter:cons tv1 tv2 and eq slope:day, and
2) gllamm dep_var response day tv1 tv2, nrf(2) eqs(inter slope)
family(binom) link(log) adapt i(id)?
Thank you,
Mark E. Boye MBA, MPH, Ph.D.
Sr. Outcomes Research Scientist
WW Outcomes Research
Midwest/Ann Arbor Development Site
Pfizer Inc
1600/200/2101
2800 Plymouth Road
Ann Arbor, MI 48105-2430
Tel: 734-622-4856
Fax: 734-622-2055
E-mail: [email protected]
----------------------------------------------------------------------
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
*
* 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/