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

Re: st: RE: Re: Other Box plots


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Re: Other Box plots
Date   Thu, 28 Nov 2002 07:32:14 -0600

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 fwolfe@arthritis-research.org
---------------------------------------------------------------------------- -------------------------

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index