Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Inexplicably missing values for lagged variables
From
Clive Gilbert <[email protected]>
To
[email protected]
Subject
st: Inexplicably missing values for lagged variables
Date
Mon, 9 Jul 2012 15:22:26 +0100
Dear all,
I am working with panel data and have a number of lagged variables. I
have noticed that some individuals have missing values for certain
years whereas others do not . This is causing problems because I'm
trying to create a scatterplot for a single year so as to provide a
visual summary of my results. However, the graphs are not very
illustrative of course with some of the individuals missing. My data
set is mostly balanced and the shorter panels I do have don't appear
to account for the irregularities. I'm puzzled.
I think I might be able to get around the problem by select
alternative years for the individuals whose values are missing. But I
have not quite mastered the use of logical operators sufficiently to
be able to do this.
Any advice would be greatly appreciated.
Many thanks,
Clive
*
* 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/