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
estat classification - return matrixi am running a logit and then estat classification when i do Code: return list stata shows Code:…
Gsem with logit dependent variableHello everyone, Our model is described as pic. convert is dummy variable Code: gsem (p1 p2 p3 &l…
Comparing a variable acorss many categoriesI want to test that a variable does not differ by group. I get how to do it between two groups but n…
Copy over variable labels when standardizingI have a dataset with over 300 variables and 80000 observations. A bunch of the variables are on sca…
Logit: classification vs rocI am running a logit, and thereafter I do: Code: estat classification lroc Weirdly (seems weird t…
Subscribe to:
Post Comments (Atom)
0 Response to spellgraph of one person
Post a Comment