I've got panel data from 2009-2016.
Some individuals don't have data for the entire period.
ID year
1 2009
1 2010
1 2011
2 2009
2 2010
2 2011
2 2012
2 2013
2 2014
2 2015
2 2016
I want to remove all individuals which don't have observation for every year, like 1 does in this case. How can I do it?
Related Posts with Missing yearly observation - Panel data
Make a new group variable of a variableHi! I probably got a simple problem. Let us say I got a variable, called States, with numbers from …
STATA Econometrics modelHey guys, I have another question where I'd like to hear your opinion on. I am currently working on…
egen command not workingMy egen and count command is not working although I tried it with ssc install egen but it's still no…
Two digit year to four digit year for date makingHello Statalist, I need to use "gen start_date = mdy(month, day, year)" to get a date var. However, …
Changing the order of bars in a box plotHi! I want to make a box plot of distribution of 6 different scores (score 1-6) by a grouping varia…
Subscribe to:
Post Comments (Atom)
0 Response to Missing yearly observation - Panel data
Post a Comment