I have a panel where each individual is recorded over three round - r3, r4, r5. If for instance, an individual has many variables with missing data in round 4 and 5, and I wish to drop these observations, how do I also drop the round 3 (without missing data) from the same individual.
I've done the following to delete those observations with missing data, but want to remove the observations for the other rounds when one round of an individuals's observations is removed by this command.
. . drop if agemon==.&zhfa==.&ppvt_raw==.&credit==.
(650 observations deleted)
Related Posts with Removing all observations for and individual in a panel when one year has missing values.
Related to control variables choice in cross-sectional Difference in Differences regressionDear all, I am investigating the effect of the X policy passed in 2005 on women's employment outcome…
Need help on clarification why chi-square test shows significant relationship but Survival analysis shows no significant influence.I'm trying to understand the impact of waiting time at intersection on pedestrian signal violation b…
N is smaller than T.Hello everyone. Please, I have a concern. I'm studying the impact of ICT on youth unemployment in t…
Sample weights to twoway line graphDear all, I am trying to plot net transfers by groups in € (y-axis) against age (x-axis) in one gra…
Test for moderation effect in FE panel regressionHello Stata experts. I am beginner to Stata. I need help regarding testing for moderation effect Co…
Subscribe to:
Post Comments (Atom)
0 Response to Removing all observations for and individual in a panel when one year has missing values.
Post a Comment