--- Martin Weiss <[email protected]> wrote:
> I wanna check the power of normality tests and to this end I have
> written a program that does exactly that. It worked fine until I
> added an option to provide a desired sig. level to the program.
> Stata complains about the syntax, and I cannot figure out why.
> Any ideas why that might be? I want to make both varlist and sig
> optional so I put them in square brackets. Here is
> the program (with useful commands around it):
>
> *********
> capt pr drop normality
>
> pr de normality, rclass
> version 10
> syntax [varlist(max=1 numeric default=none), sig(0.95)]
<snip>
This should be:
syntax [varlist(max=1 numeric default=none)], [sig(0.95)]
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Yahoo! For Good helps you make a difference
http://uk.promotions.yahoo.com/forgood/
*
* 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/