Hey,
I want to create new observations for missing years.
For example, I have data on wages and months of work each year for each id.
For people that were unemployed I don't have any observation in that year.
Current data:
year months wage
2011 12 11000
2012 9 8000
2014 12 15000
The new required data:
year months wage
2011 12 11000
2012 9 8000
2013 0 0
2014 12 15000
any help would be appreciated,
Thanks,
Brit
Related Posts with How to create observations for missing years
Comparison of cross sectional entities in panel dataHello I am new to stata and stuck at one point. I am writing a paper on entrepreneurship wherein i h…
simulation not working (running only once)Hi, Stata people. I am really sorry to post this again. I am assigning random treatment and then wan…
how do we interpret the results from a Nonparametric series regressionI am analyzing a dataset (n=38, total 4 groups (3 groups of 10 each and 8 controls)) on occurance of…
Box Whisker Plot HelpHello: I would like to make a box whisker plot where the y axis is age and the boxes are 2 differen…
linking parents and children in the household dataHello, I want to link parents and their children by putting the proper value (id) in variables (fath…
Subscribe to:
Post Comments (Atom)
0 Response to How to create observations for missing years
Post a Comment