Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Stata FAQ How can I combine a histogram and a boxplot in Stata?

boxplot histogram stata
0
Posted

Stata FAQ How can I combine a histogram and a boxplot in Stata?

0

UCLA ATS has written a command called histbox that will produce this type of graph. To get this program just type the following into the Stata command box and follow the instructions: findit histbox use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear histbox write, start(30) width(5) xtitle(Writing Test Score) The histbox command also has an option to display the mean in the boxplot. histbox write, mean start(30) width(5) xtitle(Writing Test Score) If you would like to see how this type of graph can be constructed please view A code fragment for combining a histogram and boxplot in one graph on our Stata Code Fragments page.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123