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
----------------------------------------------------------------------------
------------------------
Fred Wolfe Tel
(316) 263-2125
National Data Bank for Rheumatic Diseases Fax (316) 263-0761
Wichita,
Kansas [email protected]
----------------------------------------------------------------------------
-------------------------
*
* 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/