Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The LOGISTIC Procedure

EXACT Statement

EXACT <'label'>< Intercept >< effects >< / options > ;
The EXACT statement performs the exact tests of the parameters for the specified effects and optionally estimates the parameters and outputs the exact conditional distributions. You can specify the keyword INTERCEPT and any effects in the MODEL statement. Inference on parameters for the specified effects is performed by conditioning on the sufficient statistics of all the other model parameters (possibly including the intercept).

You can specify several EXACT statements, but they must follow the MODEL statement. Each statement can optionally include an identifying label. If several EXACT statements are specified, any statement without a label is assigned a label of the form "Exactn", where "n" indicates the nth EXACT statement. The label is included in the headers of the exact analysis tables.

The CONTRAST, TEST, and UNITS statements do not apply to the exact analyses. Exact analyses are not performed when you specify a WEIGHT statement, a link other than LINK=LOGIT, an offset variable, the NOFIT option, or a model-selection method.

The effects specified in the MODEL statement can have at most 32 parameters. If you have too many observations with the same covariate values, an integer overflow may occur and computations will cease.

The following options can be specified in each EXACT statement after a slash (/):

ALPHA=p
specifies the level of significance p for 100(1-p)% confidence limits for the parameters or odds ratios. The value p must be between 0 and 1. If the ALPHA= option is not specified, p is equal to 0.05 or the value of the ALPHA= option in the PROC LOGISTIC statement.

ESTIMATE < =keyword >
estimates the individual parameters (conditional on all other parameters) for the effects specified in the EXACT statement. For each parameter, a point estimate, a confidence interval, and a p-value for a two-sided test that the parameter is zero are displayed. Note that the two-sided p-value is twice the one-sided p-value. You can optionally specify one of the following keywords:

PARM
specifies that the parameters be estimated. This is the default.
ODDS
specifies that the odds ratios be estimated. For classification variables, use of the reference parameterization (the PARAM=REF option in the CLASS statement) is recommended.
BOTH
specifies that the parameters and odds ratios be estimated.

JOINT
performs the joint test that all of the parameters for the EXACT statement are simultaneously equal to zero along with tests that the parameters of the individual variables are zero. The joint test of all the parameters is indicated in the "Conditional Exact Tests" table by the label "Joint."

JOINTONLY
performs only the joint test that all of the parameters for the EXACT statement are simultaneously equal to zero. The test is indicated in the "Conditional Exact Tests" table by the label "Joint." When this option is specified, tests for the parameters of the individual variables are not performed.

ONESIDED
requests one-sided confidence intervals and p-values for the individual parameter estimates and odds ratios. The one-sided p-value is the smaller of the left and right tail probabilities for the observed sufficient statistic for the parameter under the null hypothesis that the parameter is zero. The two-sided p-values (default) are twice the one-sided p-values.

OUTDIST=SAS-data-set
names the SAS data set containing the exact conditional distributions. This data set contains all of the exact conditional distributions required to process the corresponding EXACT statement. The data set contains the possible sufficient statistics for the parameters of the effects specified in the EXACT statement, the counts, and, when hypothesis tests are performed on the parameters, the probability of occurrence and the score value for each sufficient statistic. When you request an OUTDIST= data set, the observed sufficient statistics are displayed in the "Sufficient Statistics" table. See the "OUTDIST= Output Data Set" section for more information.

Examples

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.