Works well for me:
**************
ART - ANALYSIS OF RESOURCES FOR TRIALS (version 1.0.4, 13 January
2005)
A sample size program by Abdel Babiker, Patrick Royston & Friederike
Barthel,
MRC Clinical Trials Unit, London NW1 2DA, UK.
Type of trial Superiority - time-to-event
outcome
Statistical test assumed Unweighted logrank test (local)
Number of groups 2
Allocation ratio Equal group sizes
Total number of periods 3
Length of each period One year
Survival probs per period (group 1) 0.794 0.630 0.500
Survival probs per period (group 2) 0.841 0.707 0.595
Number of recruitment periods 2
Number of follow-up periods 1
Method of accrual Uniform
Recruitment period-weights 1 1 0
Hazard ratios as entered (groups 1,2) 1, 0.75
Alpha 0.050 (two-sided)
Power (designed) 0.800
Total sample size (calculated) 1624
Expected total number of events 509
*************************
-set tr on- and show us where the error occurs...
HTH
Martin
_______________________
----- Original Message ----- From: "Michael McCulloch" <[email protected]>
To: "Statalist" <[email protected]>
Sent: Friday, October 24, 2008 10:44 PM
Subject: st: problem with -artsurv-
Hello,
I'm using the program -artsurv- which estimates sample size or power for
survival data.
When I invoke the command, as follows, using syntax confirmed by the
program's author:
. artsurv, method(l) edf0(0.5) hr(1,0.75) np(3) lg(1 2) ldf(.1;.1) wg(1
2) wdf(.3;.1) recrt(2 0,1,0) distant(0) detail(0) onesided(0) ni(0)
tunit(1)
I get an error message:
cesf not found
r(111);
Could anyone shed some light on this?
--
Best wishes,
Michael McCulloch
Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel: (415) 407-1357
Fax: (415) 485-1065
[email protected]
www.pinestreetfoundation.org
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/