Hi all,
I am new to STATA and I am trying to reproduce these two graphs I made in SAS on here (I know this seems redundant but I need it on STATA and can't figure it out)
I have a categorical variable called 'category' and want to show the percentage of each level of 'category' by 'scenario' (second variable) in a stacked horizontal bar graph. See below:
Array
The second graph I need is a cumulative distribution of my discrete variable "TP" also by 'scenario.' See below:
Array
Any help would be much appreciated! Thank you!
Related Posts with Horizontal stacked graph and cumulative distribution graph help
[putdocx] Using if command to remove blank lineHello, I am making a lot of news report with putdocx command in Stata. I will collect various news …
P value for trendI would be very grateful if someone could help me with the code for this - I'm reporting the inciden…
R200 error ologit categorical dependent and independent variablesHi all, I am really struggling with identifying the predictors of a 5 category variable Excellent to…
Omitted coefficients using reghdfeHello, I am estimating regressions that include different fixed effects and variables whose coeffic…
Sample Selection Issue: Pooled Cross Sectional DataHi All, I am using micro level dependent and country level independent variable. Just for example, …
Subscribe to:
Post Comments (Atom)
0 Response to Horizontal stacked graph and cumulative distribution graph help
Post a Comment