Hi,
I am trying to plot the share of male smokers of the population against the 4 education categories. However, it does not work out for me. I am plotting a bar chart, with a specification on female=no. However I believe it filters the women out of the plot, which is not what I want. Can someone help me out?
Variables:
Female (yes/no)
Education (4 categories)
Ever_smoked (yes/no)
Best Regards,
Darryl
Related Posts with Plotting a subset of a sample (%) using a barchart
Bootstrapping? - Comparing the within-subject treatment effect with the between-subject treatment effect (based on two other groups)Dear fellow Stata users, thank you very much for reading my post. I am currently working on an inte…
Hypothesis testing in StataHi, for my Thesis I investigate the effect of ESG scores on the financial performance of companies.…
WTP pack with categorical variable in choice experimentHello, running a mixed logit model and have one categorical variable with three levels/categories. W…
Collecting Confidence Intervals from regress using statsbyHi. I want to use statsby to collect the lower and upper limits of the 95% confidence interval of a …
coefplot using "meta-data"Hi all, (Relatively new STATA user here) I'm trying some interesting ways of visualizing my data and…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting a subset of a sample (%) using a barchart
Post a Comment