[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Re: Re: Displaying mean in boxplot
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: Re: Re: Displaying mean in boxplot
Date
Sun, 12 Oct 2008 16:29:43 +0200
Admittedly, my earlier solution did not give you the dot you were looking
for, but a reference line. If you have Stata 10, fire up the graph editor
afterwards, use the -add marker- tool and place the marker onto the
reference line. Then highlight the reference line and kill it...
If -gr box- were part of the -twoway- family of graphs, one could imagine
overlaying it with a -scatteri- to get the mean onto the graph more reliably
than this...
HTH
Martin
_______________________
----- Original Message -----
From: "Martin Weiss" <[email protected]>
To: <[email protected]>
Sent: Sunday, October 12, 2008 2:14 PM
Subject: st: Re: Displaying mean in boxplot
**********
sysuse auto, clear
su price, mean
graph box price, box(1, fcolor(none)) yline(`r(mean)')
**********
HTH
Martin _______________________
----- Original Message -----
From: "Aca N.T." <[email protected]>
To: <[email protected]>
Sent: Sunday, October 12, 2008 12:57 PM
Subject: st: Displaying mean in boxplot
Hello,
Does anyone know how to put mean (preferably marked as dot) within the
box using -gr box-?
Thanks,
Aca
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |