Statalist


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

st: xtreg using independent variables from previous wave


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: xtreg using independent variables from previous wave
Date   Mon, 15 Jun 2009 14:16:54 -0400

-----Original Message-----
From: Ariel Linden, DrPH [mailto:ariel.linden@gmail.com] Sent: Sunday, June 14, 2009 8:28 PM
To: 'owner-statalist@hsphsun2.harvard.edu'
Subject: xtreg (or any other regression for that matter) using independent
variables from previous wave
Hi fellow listservers,

I would like to run a longitudinal regression model of the current dependent
variable using independent variables from a previous wave (somewhat of a
lagged variable model where the previous period(s) variables predict future
outcomes. I assume some coding like [n]-1 is needed, but I can't figure it
out.

I thank you in advance.
Ariel



*
*   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