Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
SAS Macros and Functions

SAS Macros Provided with SAS/ETS Software

This chapter describes several SAS macros and the SAS function PROBDF that are provided with SAS/ETS software. A SAS macro is a program that generates SAS statements. Macros make it easy to produce and execute complex SAS programs which would be time-consuming to write yourself. SAS/ETS software includes the following macros:

%AR
generates statements to define autoregressive error models for the MODEL procedure.

%BOXCOXAR
investigates Box-Cox transformations useful for modeling and forecasting a time series.

%DFPVALUE
computes probabilities for Dickey-Fuller test statistics.

%DFTEST
performs Dickey-Fuller tests for unit roots in a time series process.

%LOGTEST
tests to see if a log transformation is appropriate for modeling and forecasting a time series.

%MA
generates statements to define moving average error models for the MODEL procedure.

%PDL
generates statements to define polynomial distributed lag models for the MODEL procedure.

These macros are part of the SAS AUTOCALL facility and are automatically available for use in your SAS program. Refer to SAS Macro Language: Reference for information about the SAS macro facility.

Since the %AR, %MA, and %PDL macros are used only with PROC MODEL, they are documented with the MODEL procedure. See the sections on the %AR, %MA, and %PDL macros in Chapter 14, "The MODEL Procedure," for more information about these macros. The %BOXCOXAR, %DFPVALUE, %DFTEST, and %LOGTEST macros are described in the following sections.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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