Thanks Fred, thats a huge improvement. The whiskers appear to behave as
percentiles however (5th & 95th, perhaps?) rather than functions of the IQR.
Still a useful display though!
-JW
-----Original Message-----
From: Fred Wolfe [mailto:[email protected]]
Here is an update to Phil Ender's box that allows an if expresssion
*! box2 modified from Phil Ender's box.ado to allow if and in [fw 11/28/02]
*! v 1.1.0 11/28/02
*! version 1.0.2 4/5/00
program define box2
version 6.0
syntax varlist(max=2) [if] [in] [, Total]
tokenize `varlist'
marksample touse
sort `2'
graph `1' if `touse', box by(`2') ylabel `total'
end
At 08:03 PM 11/27/2002 -0800, you wrote:
>Thanks Scott. Closer...but with Dr. Ender's version you can't use an
>if exp statement to limit the dataset you're feeding into the plot.
>I've started looking at the ado files in the do editor...perhaps
>programming is my out.
>
>-JW
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/