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 graph group means and standard deviations for anova?

0
Posted

Stata FAQ How can graph group means and standard deviations for anova?

0

UCLA ATS has written a command called meansdplot 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 meansdplot For the first example, we will set the outer fence at 2 standard deviations to check for outliers. We will leave the inner fence at the default value of 1 standard deviation. use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear meansdplot write prog, outer(2) xlabel(1 “General” 2 “Academic” 3 “Vocational”) ytitle(Writing Score) It is also possible to put markerlabels on the values to identify the outliers. Don’t worry about the labels which are all jumbled on top of one another, just look at the ones you can read clearly, like 126, 128 and 32. meansdplot write prog, outer(2) xlabel(1 “General” 2 “Academic” 3 “Vocational”) /// ytitle(Writing Score) mlabel(id) meansdplot can also be used with multiple group variables after using egen with the group option.

Related Questions

What is your question?

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

Experts123