Enhancements in SAS/STAT® 9.22 Software


The second quarter of 2010 brings a new release of SAS/STAT software that includes significant new features and enhancements. Two new procedures, completely revised software for structural equation modeling, and substantial new coverage in postfitting inference are just some of the many enhancements. The following are highlights of this new release.

Postfitting Inference

One of the strengths of SAS/STAT linear modeling procedures is the breadth of postfitting analyses available once you have fitted your model and estimated its parameters. Such statements as ESTIMATE, LSMEANS, and LSMESTIMATE provide the means of requesting this inference. In SAS/STAT 9.22, over 30 additional postfitting statements have been added to procedures such as GENMOD, LOGISTIC, MIXED, ORTHOREG, and PHREG. For example, the MIXED procedure picks up the LSMESTIMATE and SLICE statements, and the PHREG procedure picks up the ESTIMATE, LSMEANS, LSMESTIMATE, and SLICE statements.


In addition, the new PLM procedure performs postfitting inference with model fit information stored from these same procedures with the new STORE statement. PROC PLM inputs this information, saved as a SAS item store, and performs tasks such as testing hypotheses and scoring a new data set. These tasks are specified with the usual postfitting statements. Thus, you can perform additional analyses without refitting your model, and you can use PROC PLM to specify analyses that are not available in some procedures.

PROC PLM offers the most advanced postfitting inference techniques available in SAS/STAT software, including new techniques such as step-down multiplicity adjustments for p-values, F tests with order restrictions, analysis of means (ANOM), and sampling-based linear inference based on Bayes posterior estimates.

Survey Data Analysis Software

The experimental SURVEYPHREG procedure fits the Cox model for proportional hazards to sample survey data. The procedure provides design-based variance estimates, confidence intervals, and hypothesis tests concerning the model parameters and model effects. For statistical inference, PROC SURVEYPHREG incorporates complex survey sample designs, including designs with stratification, clustering, and unequal weighting. PROC SURVEYREG provides both Taylor series and replication variance estimation procedures, and it also provides domain analysis through the DOMAIN statement. In addition, PROC SURVEYREG offers postfitting inference as performed with the ESTIMATE, LSMEANS, LSMESTIMATE, and SLICE statements. You can save model information with the STORE statement for further use with the new PLM procedure.

The SURVEYFREQ procedure now provides plots that are created with ODS Graphics, including a weighted frequency plot, an odds ratio plot, a relative risk plot, and a risk difference plot. The CL option now offers additional confidence limit types, including the modified Clopper-Pearson (exact), modified Wilson (score), and logit. If you specify the DEFF option in the TABLES statement, PROC SURVEYFREQ computes design effects for the overall proportion estimates in the frequency and crosstabulation tables.

The SURVEYMEANS procedure now performs analysis for domain ratios. Variance estimation based on replication methods is available for domain means, totals, and ratios.

In the SURVEYSELECT procedure, the SAMPLINGUNIT statement names variables that identify the sampling units as groups of observations (clusters). The combinations of categories of SAMPLINGUNIT variables define the sampling units. If there is a STRATA statement, sampling units are nested within strata. The NMIN= option in the PROC SURVEYSELECT statement specifies the minimum stratum sample size for the SAMPRATE= option.

Structural Equation Modeling

The CALIS procedure now includes updates that were previously made available in the experimental TCALIS procedure. These capabilities include the following:

In addition, PROC CALIS introduces several experimental features, including the full information likelihood method (FIML), mean structure analysis with the COSAN model, unnamed free parameter specification, and an extended path modeling language.

Spatial Analysis

Spatial Distribution of Residuals

SAS/STAT software now provides seamless analysis and prediction of spatial processes. New features include the following:

Bayesian Analysis

Bayesian capabilities continue to grow in SAS/STAT software. The capabilities provided by the BAYES statement in the GENMOD, LIFEREG, and PHREG procedures have been updated with new sampling methods. Conjugate sampling for linear regression is now the default in the GENMOD procedure, reducing computation time. You can specify either the Gamerman algorithm or the independent Metropolis algorithm in PROC GENMOD for other generalized linear models. You can choose the random walk Metropolis algorithm as an alternative sampling method in the PHREG procedure, and you can specify the Zellner g-prior for the regression coefficients.

The MCMC procedure introduces the PREDDIST statement, which enables you to create random samples from the posterior predictive distribution of the response variables. The posterior predictive distribution is the distribution of unobserved observations (predictions) conditional on the observed data.

Quantile Regression

If you specify multiple quantiles in a MODEL statement of the QUANTREG procedure, additional analyses (such as those specified in the TEST statement) are now produced for each quantile specified. The RANKSCORE option in the TEST statement enables you to perform rank tests. Available score functions provide normal scores, Wilcoxon scores, and sign scores, which are asymptotically optimal for the Gaussian, logistic, and Laplace location shift models, respectively.

Model Selection

The GLMSELECT procedure now provides model averaging with the experimental MODELAVERAGE statement, which requests model selection on resampled subsets of the input data. An average model is produced by averaging the parameter estimates of the selected models that are obtained for each resampled subset of the input data.

The ADAPTIVE option of the SELECTION=LASSO method specifies adaptive lasso selection, which is a modification of lasso selection where weights are applied to each of the parameters in forming the lasso constraint.

Linear Models

The experimental EFFECT statement, which defines a richer class of linear models, is now available in the HPMIXED, GLIMMIX, GLMSELECT, LOGISTIC, ORTHOREG, PHREG, PLS, QUANTREG, ROBUSTREG, SURVEYLOGISTIC, and SURVEYREG procedures. With this statement, you can define effect types such as splines, multiclass effects, lag effects, and polynomial effects. The EFFECTPLOT statement uses ODS Graphics to create plots of model effects in the GENMOD, LOGISTIC, and ORTHOREG procedures.

Survival Analysis

The LIFEREG procedure now reports fit criteria based on the distribution of the response on the original scale (rather than on the log of the response) if you specify the Weibull, exponential, lognormal, log-logistic, or gamma distribution.

The LIFETEST procedure now enables you to request the Breslow and Fleming-Harrington estimates of the survivor function with the METHOD= option in the PROC LIFETEST statement. The number of subjects at risk can be displayed with the product-limit estimates, the Breslow estimates, and the Fleming-Harrington estimates.

The PHREG procedure now offers the ATRISK option in the PROC PHREG statement, which displays a table that contains the number of units at risk at each event time and the corresponding number of events in the risk sets. Likelihood ratio tests of model parameters are also available with the TYPE1 and TYPE3 options in the MODEL statement except when the robust sandwich estimate for the covariance matrix is specified.

Power and Sample Size Software

The POWER procedure now enables you to parameterize computations for survival analysis in terms of the expected number of events, in addition to sample size (see the EVENTSPERGROUP=, EVENTSTOTAL=, and GROUPEVENTS= options in the TWOSAMPLESURVIVAL statement). Parameterization in terms of sample size accrued per unit time is also available in this statement with the ACCRUALRATEPERGROUP=, ACCRUALRATETOTAL=, and GROUPACCRUALRATES= options.

ODS Statistical Graphics

Relative Risk Plot

ODS Statistical Graphics technology is used by even more procedures with this latest release. The majority of SAS/STAT procedures now produce graphics as systematically as they produce tables, with over 400 easily specified graphs. Graphics have arrived in the SURVEYFREQ and TPSPLINE procedures, and new graphs are now available in the FREQ, SIM2D, KRIGE2D, and VARIOGRAM procedures.

Other Highlights

For More Information

See The Next Generation: SAS/STAT® 9.22 for more details and examples of the new features contained in this release of SAS/STAT software. Another great resource is the What's New in SAS/STAT 9.22 chapter in the SAS/STAT documentation.

Obtaining SAS/STAT® 9.22

SAS/STAT 9.22 is currently available. To obtain more information, ask your organization's SAS representative to contact the SAS Customer Interaction Center at 1.800.727.0025.

Download pdf version.

Statistics and Operations Research Home Page