The POWER Procedure
COXREG Statement
COXREG <options>;
The COXREG statement performs power and sample size analyses for the score test of a single scalar predictor in Cox proportional hazards regression for survival data, possibly in the presence of one or more covariates that might be correlated with the tested predictor.
Summary of Options
Table 2 summarizes the options available in the COXREG statement.
Table 2: COXREG Statement Options
Option | Description |
---|---|
Define Analysis | |
TEST= | Specifies the statistical analysis |
Specify Analysis Information | |
ALPHA= | Specifies the significance level |
SIDES= | Specifies the number of sides and the direction of the statistical test |
Specify Effects | |
RSQUARE= | Specifies the value from the regression of the predictor of interest on the remaining predictors |
HAZARDRATIO= | Specifies the hazard ratio |
Specify Variability | |
STDDEV= | Specifies the standard deviation of the predictor variable being tested |
Specify Sample Size | |
EVENTPROB= | Specifies the probability that an uncensored event occurs |
EVENTSTOTAL= | Specifies the expected total number of events |
NFRACTIONAL | Enables fractional input and output for sample sizes |
NTOTAL= | Specifies the sample size |
Specify Power | |
POWER= | Specifies the desired power of the test |
Control Ordering in Output | |
OUTPUTORDER= | Controls the output order of parameters |
Table 3 summarizes the valid result parameters for different analyses in the COXREG statement.
Table 3: Summary of Result Parameters in the COXREG Statement
Analyses | Solve For | Syntax |
---|---|---|
TEST=SCORE | Power | POWER=. |
Sample size | NTOTAL=. | |
EVENTSTOTAL=. |
Dictionary of Options
Restrictions on Option Combinations
To specify the sample size, choose one of the following parameterizations:
sample size (by using the NTOTAL= option) and event probability (by using the EVENTPROB= option)
number of events (by using the EVENTSTOTAL= option)
Option Groups for Common Analyses
This section summarizes the syntax for the common analyses that are supported in the TWOSAMPLESURVIVAL statement.
Score Test for Cox Proportional Hazards Regression
You can use the NTOTAL= and EVENTPROB= options, as in the following statements. Default values for the SIDES=, ALPHA=, and TEST= options specify a two-sided score test with a significance level of 0.05.
proc power;
coxreg
hazardratio = 1.4
rsquare = 0.15
stddev = 1.2
ntotal = 80
eventprob = 0.8
power = .
;
run;
You can also use the EVENTSTOTAL= option, as in the following statements:
proc power;
coxreg
hazardratio = 1.6
rsquare = 0.2
stddev = 1.1
power = 0.9
eventstotal = .
;
run;