Statalist


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

st: Loss of observations with lagged variables in survival analysis


From   "Luis Ortiz" <luis.ortiz@upf.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Loss of observations with lagged variables in survival analysis
Date   Mon, 7 Sep 2009 18:42:36 +0200

I am using information on wages for an event-history (survival) analysis.
This information needs to be lagged forward. As a result, the latest
observation of this variable for each individual is missing. Here I post an
example for a given individual of my sample: 

pid	wave	wage	      wage_lag
20102	1	1577.2	1712.125
20102	2	1712.125	2242.275
20102	3	2242.275	1934.929
20102	4	1934.929	2298.635
20102	5	2298.635	2493.237
20102	6	2493.237	2667.933
20102	7	2667.933	3341.879
20102	8	3341.879	.

This has an effect on my analysis. Introducing this lagged variable in the
analysis automatically means losing observations, since the lagged variable
does not exist for the latest observation, as you may see above. This is
rather unfortunate, since some of these periods are the latest ones in my
spells of analysis. 

Is there any way of coming over this problem you come up with?

Many thanks for your attention

Luis 

-.-.-.-.-.-.-.-
Luis Ortiz
Profesor Agregado
Departament de Ciencies Polítiques i Socials
Universitat Pompeu Fabra
Ramon Trias Fargas, 25-27
08005 Barcelona
 
Phone: +34-93-5422368
Fax: +34-93-5422372
http://www.upf.edu/dcpis/
http://sociodemo.upf.edu/
 
 



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