Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Re: Other Box plots


From   "Wallace, John" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: RE: Re: Other Box plots
Date   Mon, 2 Dec 2002 09:16:45 -0800

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index