The Error column in the main output table provides reasons for missing results and flags numerical results that are bounds rather than exact answers. For example, consider the sample size analysis implemented by the following statements:
proc power; twosamplefreq test=fm_rr relativerisk=1.0001 refproportion=.4 nullrelativerisk=1 power=.9 ntotal=.; run;
Figure 89.6: Error Column
Fixed Scenario Elements | |
---|---|
Distribution | Asymptotic normal |
Method | Normal approximation |
Null Relative Risk | 1 |
Reference (Group 1) Proportion | 0.4 |
Relative Risk | 1.0001 |
Nominal Power | 0.9 |
Number of Sides | 2 |
Alpha | 0.05 |
Group 1 Weight | 1 |
Group 2 Weight | 1 |
The output in Figure 89.6 reveals that the sample size to achieve a power of 0.9 could not be computed, but that the sample size 2.15E+09 achieves a power of 0.473.
The Info column provides further details about Error column entries, warnings about any boundary conditions detected, and notes about any adjustments to input. Note that the Info column is hidden by default in the main output. You can view it by using the ODS OUTPUT statement to save the output as a data set and the PRINT procedure. For example, the following SAS statements print both the Error and Info columns for a power computation in a two-sample t test:
proc power; twosamplemeans meandiff= 0 7 stddev=2 ntotal=2 5 power=.; ods output output=Power; run;
proc print noobs data=Power; var MeanDiff NominalNTotal NTotal Power Error Info; run;
The output is shown in Figure 89.7.
Figure 89.7: Error and Info Columns
The mean difference of 0 specified with the MEANDIFF= option leads to a "No effect" message to appear in the Info column. The sample size of 2 specified with the NTOTAL= option leads to an "Invalid input" message in the Error column and an "NTotal too small" message in the Info column. The sample size of 5 leads to an "Input N adjusted" message in the Info column because it is rounded down to 4 to produce integer group sizes of 2 per group.