Dear Statalisters,
I have a complex spell-dataset with the following structure:
case spellid start end spelltype
10001 1 jan2010 dec2012 A
10001 2 apr2012 nov2013 B
10001 1 jan2010 dec2012 A
10001 2 apr2012 nov2013 B
A dataset with similar structure can be found here.
use http://fmwww.bc.edu/repec/bocode/t/testdata_splitit.dta
To check the results of the spellsplitting I am looking for a simple way to generate a graph like this:
https://www.statalist.org/forums/fil...1&d=1474388021
I want a line-graph to show the (overlapping) episodes of a single person. (x axis = time; y axis = spells)
Any suggestions?
Best Regards Jörg