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
Logit odds ratioI am using xtlogit and have a simple model that performs as we might wish. But the odds ratio for on…
Tabulation based on multiple categorical variablesI am using Stata 17 and I’d like to produce a frequency table (tabulate one way) based on multiple v…
Quarter Averages to Yearly AveragesHello, Code: * Example generated by -dataex-. For more info, type help dataex clear input float(fu…
Parameter estimates scaled by SDHello Forum, Does anybody has an idea how to approach to get parameter estimates scaled by the stan…
grouping dimensions with bordersI want horizontal lines separating my the levels of my first dimension. I can almost obtain this usi…
Subscribe to:
Post Comments (Atom)
0 Response to Sankey visual analysis
Post a Comment