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 <>
To   "" <>
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:

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