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

st: svy command for mixed model


From   Lisa Jahns <jahns@email.unc.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: svy command for mixed model
Date   Sat, 10 Aug 2002 09:24:46 -0700

I have data from a  complex survey, two obs/person, each ob representing a different day's
intake of several nutrients.  I would like to run a model similar to the SAS commands
below (i do not know the stata code):

proc mixed ;
  class gender indiv ;
  model intake = gender age / solution ;
  random indiv(gender) / solution ;
run ;

the object is to obtain a measure of variance within and between individuals, with correct
standard errors for testing.  can stata incorporate the survey design into this model?

thank you very much
lisa jahns

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index