Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Inexplicably missing values for lagged variables


From   Clive Gilbert <clivegilbert@gmail.com>
To   statalist@hsphsun2.harvard.edu
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index