Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: prediction after fitting a multi level model with xtmixed


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: prediction after fitting a multi level model with xtmixed
Date   Wed, 6 May 2009 21:49:43 +0200

<> 

On -xtmixed- you always want to take into account
http://www.stata.com/meeting/fnasug08/gutierrez.pdf

Seems to me I can get a prediction for the weight of those pigs in -h
xtmixed- after 2 and a half weeks, although measurements were taken only
weekly...

*************
webuse pig, clear
xtmixed weight week || id:
adjust week=2.5, xb
*************



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von W.O.Johnson
Gesendet: Mittwoch, 6. Mai 2009 19:31
An: statalist@hsphsun2.harvard.edu
Betreff: st: prediction after fitting a multi level model with xtmixed

I have fitted a random effect and coefficient multi-level model to some
infant growth (weight) data, using xtmixed. I have used the model to fit
growth trajectories between 0-1yr. I want to predict each individuals
weights at ages where they don't have a measurement (i.e. what is each
individuals weight at 0,3,6,9,12 months, understanding that most individuals
will not have a measurement at these ages). If anyone can help I will be
very grateful. 

Will    



_________________________

William. O. Johnson
PhD Candidate
Centre for Human Development & Ageing
Department of Human Sciences
Loughborough University
Loughborough
Leicestershire
LE11 3TU

t: +44 (0) 1509 228159
e: W.O.Johnson@lboro.ac.uk 




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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