Statalist


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

RE: st: programming prob


From   "Martin Weiss" <martin.weiss@uni-tuebingen.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: programming prob
Date   Fri, 11 Apr 2008 14:49:01 +0200

Sorry, should not have bothered the list with this prob: no level-option for
-swilk, -sfrancia- and -sktest-!!!

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis
Sent: Friday, April 11, 2008 2:27 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: programming prob

--- Martin Weiss <martin.weiss@uni-tuebingen.de> 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/

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