Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: program to calculate specific percentiles


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: program to calculate specific percentiles
Date   Wed, 19 Jul 2006 17:13:06 +0100

The problem is in the option specification within
the -syntax- call

groups(int 10) 

as an option which is compulsory cannot have a default! 

Nick 
n.j.cox@durham.ac.uk 

Richard Williams
 
> At 10:08 AM 7/19/2006, n j cox wrote:
> >Dirk Nachbar sent the following program (wrapped up in mailjunk, 
> >despite both public and private requests sent previously not 
> to do this):
> >
> >1. Using -set trace on- would show you where there was a problem.
> 
> Good list by Nick.  I'll add that when I ran the program, I got 
> error(197) which means there is an error in the syntax statement 
> itself.  -set trace on- (perhaps accompanied by a -set tracedepth- 
> command) is good advice for any such problem.  If going to the list 
> it also helps to provide a specific example, e.g. use the auto data. 
> At least give the exact error message - error(197) is far more 
> informative than error(198).

*
*   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