STRATA
variable <(option)> …<variable <(option)>> </ options> ;
The STRATA statement names the variables that define strata or matched sets to use in stratified logistic regression of binary response data.
Observations that have the same variable values are in the same matched set. For a stratified logistic model, you can analyze , , , and general matched sets where the number of cases and controls varies across strata. At least one variable must be specified to invoke the stratified analysis, and the usual unconditional asymptotic analysis is not performed. The stratified logistic model has the form

where is the event probability for the ith observation in stratum h with covariates and where the stratumspecific intercepts are the nuisance parameters that are to be conditioned out.
STRATA variables can also be specified in the MODEL statement as classification or continuous covariates; however, the effects are nondegenerate only when crossed with a nonstratification variable. Specifying several STRATA statements is the same as specifying one STRATA statement that contains all the strata variables. The STRATA variables can be either character or numeric, and the formatted values of the STRATA variables determine the levels. Thus, you can also use formats to group values into levels; see the discussion of the FORMAT procedure in the Base SAS Procedures Guide.
The “Strata Summary” table is displayed by default. For an exact logistic regression, it displays the number of strata that have a specific number of events and nonevents. For example, if you are analyzing a matched study, this table enables you to verify that every stratum in the analysis has exactly one event and five nonevents. Strata that contain only events or only nonevents are reported in this table, but such strata are uninformative and are not used in the analysis.
If an EXACT statement is also specified, then a stratified exact logistic regression is performed.
The EFFECTPLOT, SCORE, and WEIGHT statements are not available with a STRATA statement. The following MODEL options are also not supported with a STRATA statement: CLPARM=PL, CLODDS=PL, CTABLE, FIRTH, LACKFIT, LINK=, NOFIT, OUTMODEL=, OUTROC=, ROC, and SCALE=.
The following option can be specified for a stratification variable by enclosing the option in parentheses after the variable name, or it can be specified globally for all STRATA variables after a slash (/).
The following strata options are also available after the slash: