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
Related Posts with spellgraph of one person
estimate of theta = . in Cox shared frailty model using MIDear Statalist Members, I am not able to see the estimate of theta or the se of theta using e-return…
Combine two strings with entry that has more informationDear statalists, I have two variables that capture the same thing but with differing precision. One…
Foreach and gen ? Help please(Don't speak english, Hope you can understand) Hi, I was wondering if is possible making a loop to f…
Using foreach for two set of groupsDear All, I have two groups of countries and pairwise data- importers and exporters. Eg. Importers=…
Using Weights for countries in Survey DatasetHello everyone, I am working with 2 waves (5 and 6) of World Value Survey in Stata 15 and I am anal…
Subscribe to:
Post Comments (Atom)
0 Response to spellgraph of one person
Post a Comment