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

Re: st: programming prob

From   Maarten buis <>
Subject   Re: st: programming prob
Date   Fri, 11 Apr 2008 13:27:28 +0100 (BST)

--- Martin Weiss <> 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)] 

This should be:
syntax [varlist(max=1 numeric default=none)], [sig(0.95)] 

Hope this helps,

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

Yahoo! For Good helps you make a difference
*   For searches and help try:

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