Hi everybody
I am using paneldata and need to find the next completed education following highschool. Note, it does not matter whether highschool was completed or not.
Thank you!
Best
Gustav
I am using paneldata and need to find the next completed education following highschool. Note, it does not matter whether highschool was completed or not.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(id year highschool completed educational_type level) 1 2009 1 1 1 1 1 2010 1 1 1 2 1 2010 0 0 5 1 1 2011 0 0 0 . 1 2012 0 1 2 1 1 2013 0 1 2 2 2 2011 0 0 0 . 2 2012 0 0 0 . 2 2013 1 1 1 1 2 2014 1 1 1 2 2 2015 0 0 0 . 2 2016 0 1 4 1 end
Best
Gustav

Comment