Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Problem defining syntax for program
From
[email protected]
To
statalist <[email protected]>
Subject
st: Problem defining syntax for program
Date
Fri, 13 Dec 2013 22:06:02 +0000 (UTC)
Dear list
I am writing a Stata program and am encountering some problems with defining the syntax. The program is designed to estimate power for comparing ROC curves. When I run the program I obtain the following error (with set trace on).
rocpower , area0(0.5) area1(0.6) n(100) percent(0.25)
--------------------------------------------------------------------------------- begin rocpower ---
- syntax, area0(real 0.50) area1(real 0.50) n(integer 100) [area2(real 0.50) na(integer 50)
nn(integer 50) percent(real 0.50) r(real 0) alpha(real 0.05) tails(integer 2) I(integer 2) J(integer 1)
ordinal]
invalid syntax
The program was called using the statement:
rocpower , area0(0.5) area1(0.6) n(100) percent(0.25)
I have looked over the syntax help several times but I can't seem to locate the problem. Any advice or suggestions would be much appreciated.
Barth
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/