Hi,
I am trying to use Sankey to visually describe longitudinal patterns/flow in Stata 17. (I have Python 3.9 installed.) I tried to test with the example dataset and codes provided in help, but returned with an error message as below. Could you please provide some guidance? Thanks!
. use https://www.mjcrowther.co.uk/data/sankey_eg1
. sankey start stop freq
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
(30 lines skipped)
(error occurred while loading sankey.ado)
r(7102);
Best,
Vivien Chen
Related Posts with Sankey visual analysis
Randomly drop obsHello, I need to drop randomly a 15% observation of one variable. There is a code to do that?. I on…
Mirroring Variables using LoopsHi, I have a wide dataset (about 5000 observations) containing data on age and marital status from t…
Specifying a Matrix in the bayesmh command.Good evening! I'm trying to fit a Poisson Gamma Mixture in Stata. One of the parameters of interest…
Coefplot: Fixing the Coefficients After A ThresholdHello! I have a rather odd question. Let's say that you have a coef plot like the attached file. T…
How do I refer to a variable that might not be included in the varlist of a program?How do I refer to a variable that might not be included in the varlist of a program? I have simple …
Subscribe to:
Post Comments (Atom)
0 Response to Sankey visual analysis
Post a Comment