# The SEQDESIGN Procedure

### Table Output

Subsections:

For each design, the SEQDESIGN procedure displays the "Design Information," "Method Information," and "Boundary Information" tables by default.

#### Boundary Information and Ceiling-Adjusted Design Boundary Information

The "Boundary Information" and "Ceiling-Adjusted Design Boundary Information" tables display the following information at each stage:

• Information Level Proportion, the information proportion

• Actual Information Level, if the maximum information is either specified or derived

• N, the required sample size for nonsurvival data, if the SAMPLESIZE statement is specified

• Events, the required number of events for survival data, if the SAMPLESIZE statement is specified

• Alternative References, alternative references that are displayed using the specified statistic scale (if a p-value scale is specified, the standardized Z scale is used)

• Boundary Values, boundary values that are displayed using the specified statistic scale to reject or accept the null hypothesis

The "Boundary Information" table displays the boundary information of the specified design, and the "Ceiling-Adjusted Design Boundary Information" table displays the boundary information for the design that corresponds to the integer-valued sample sizes at the stages for the nonsurvival data, and the integer-valued times or sample sizes at the stages for the survival data.

Implicitly, the boundary information table also contains the variables for the boundary scale, the stopping criterion, and the type of alternative hypothesis. That is, if an ODS statement is used to save the table, the data set also contains the variables _Scale_ for the boundary scale, _Stop_ for the stopping criterion, and _ALT_ for the type of alternative hypothesis.

• Method, the method used to generate boundary values

• Boundary Key, the type of error level to maintain

• Number of Stages, the total number of stages

• Alpha, the Type I error level

• Beta, the Type II error level

• Power, the power of the design

• Max Information (Percent Fixed-Sample), the maximum information for the sequential design, as a percentage of the corresponding fixed-sample information

• Null Ref ASN (Percent Fixed-Sample), the average sample number (expected sample size for nonsurvival data or expected number of events for survival data) that is required under the null hypothesis for the group sequential design, as a percentage of the corresponding fixed-sample design

• Alt Ref ASN (Percent Fixed-Sample), the average sample number that is required under the alternative reference for the group sequential design, as a percentage of the corresponding fixed-sample design

If both the maximum information (MAXINFO= option) and the alternative reference (ALTREF= option) are specified in the PROC SEQDESIGN statement, then either the ALPHA= option is used to derive the Type II error probability (BOUNDARYKEY=ALPHA) or the BETA= option is used to derive the Type I error probability (BOUNDARYKEY=BETA).

If the CEILADJDESIGN=INCLUDE option is specified in the PROC SEQDESIGN statement, the "Design Information" table also displays Alpha, Beta, Power, Max Information, Null Ref ASN, and Alt Ref ASN for the adjusted design that corresponds to integer sample sizes at the stages for the nonsurvival data, and to integer times or sample sizes at the stages for the survival data.

#### Error Spending Information

The "Error Spending Information" table displays the following information at each stage:

• proportion of information

• actual information level, if the maximum information is either specified or derived

• cumulative error spending for each boundary

#### Method Information

The "Method Information" table displays detailed method information for the design. For each boundary, it displays the following:

• the group sequential method used

• the or errors

• the specified parameter , if an error spending function is used

• the specified parameters and with the derived critical value C, if a unified family method is used

• the alternative reference , if either the ALTREF= or the MAXINFO= option is specified

• the derived drift parameter, , where is the maximum information and is the alternative reference

Note that the alternative references are displayed with the MLE scale in the "Method Information" table. In contrast, the alternative references in the "Boundary Information" table are displayed with the specified statistic scale (if the p-value scale is not specified) or the standardized Z scale (if the p-value scale is specified).

#### Powers and Expected Sample Sizes

The "Powers and Expected Sample Sizes" table displays the following information under each of the specified hypothetical references , where is the alternative reference and are values specified in the CREF= option.

• coefficient for the hypothetical references. The value corresponds to the null hypothesis and corresponds to the alternative hypothesis

• power

• expected sample size, as percentage of fixed-sample size

For a one-sided design, the power and expected sample sizes under the hypothetical references are displayed.

For a two-sided symmetric design, the power and expected sample sizes under each of the hypothetical references are displayed, where is the upper alternative reference.

For a two-sided asymmetric design, the power and expected sample sizes under each of the hypothetical references and are displayed, where and are the lower and upper alternative references, respectively.

For a two-sided design, the power is the probability of correctly rejecting the null hypothesis for the correct alternative. Thus, under the null hypothesis, the displayed power corresponds to a one-sided Type I error probability level—that is, the lower level or the upper level.

The expected sample size as a percentage of the corresponding fixed-sample design is

where is the stopping probability at stage k, is the expected information level, and is the information level for the fixed-sample design.

#### Sample Size Summary

When you use the SAMPLESIZE statement with the SEQDESIGN procedure, the "Sample Size Summary" table displays parameters for the sample size computation. It also displays the expected sample sizes or numbers of events for the model under both the null and alternative hypotheses.

The expected sample size is the average sample size

where is the stopping probability at stage k, is the expected information level, is the information level for the fixed-sample design, and is the sample size for the fixed-sample design.

The expected number of events is the average number of events

where is the fixed-sample number of events for the model.

#### Sample Size Information

The "Sample Sizes (N)" table displays the required sample sizes and information levels at each stage, in both fractional and integer numbers. The derived fractional sample sizes are under the heading "Fractional N." These sample sizes are rounded up to integers under the heading "Ceiling N." The matched integer sample sizes are also displayed for two-sample tests.

The "Required Number of Events (D)" table displays the required number of events required and information level at each stage.

The "Number of Events (D) and Sample Sizes (N)" table displays the number of events and sample size required at each stage with the study time. The derived times under the heading "Fractional Time" are not integers. These times are rounded up to integers under the heading "Ceiling Time."

#### Stopping Probabilities

The "Expected Cumulative Stopping Probabilities" table displays the following information under each of the specified hypothetical references , where are values specified in the CREF= option, and is the alternative reference:

• coefficient for the hypothetical references. The value corresponds to the null hypothesis, and corresponds to the alternative hypothesis

• expected stopping stage

• source of the stopping probability: reject (with STOP=REJECT or STOP=BOTH), accept (with STOP=ACCEPT or STOP=BOTH), or either reject or accept (with STOP=BOTH)

• expected cumulative stopping probabilities at each stage

For a one-sided design, the expected cumulative stopping probabilities under the hypothetical references are displayed.

For a two-sided design, the expected cumulative stopping probabilities under each of the hypothetical references and are displayed, where and are the lower and upper alternative references, respectively.

Note that for a symmetric two-sided design, only the expected cumulative stopping probabilities under the hypothetical references are derived.

The expected stopping stage is given by , where the integer and the fraction d () are derived from the expected information level equation

where is the stopping probability at stage k.

For equally spaced information levels, the expected stopping stage is reduced to the weighted average