tailieunhanh - SAS/ETS 9.22 User's Guide 241

SAS/Ets User's Guide 241. Provides detailed reference material for using SAS/ETS software and guides you through the analysis and forecasting of features such as univariate and multivariate time series, cross-sectional time series, seasonal adjustments, multiequational nonlinear models, discrete choice models, limited dependent variable models, portfolio analysis, and generation of financial reports, with introductory and advanced examples for each procedure. You can also find complete information about two easy-to-use point-and-click applications: the Time Series Forecasting System, for automatic and interactive time series modeling and forecasting, and the Investment Analysis System, for time-value of money analysis of a variety of investments | 2392 F Chapter 34 The X12 Procedure Output Using Regressors in the AUXDATA Data for the Second Three Years of Series Align lengthofmonth Regressor from Auxreg to Second Three Years The X12 Procedure Regression Model Parameter Estimates For Variable sales Standard Type Parameter NoEst Estimate Error t Value Pr t User Defined lengthofmonth Est The X12 procedure uses the date variable in the sales data set and the auxreg data set to align the user-defined regressors. In the following example the DATA data set salesby contains BY groups. The X12 procedure aligns the regressor in the auxreg data set to each BY group in the salesby data set according to the variable date that is specified by the DATE option in the PROC X12 statement. The variable date must be present in the auxreg data set to align the values. data salesby set sales obs 72 if _n_ 37 then by 1 else by 2 run ods select regParameterEstimates title Align lengthofmonth Regressor from Auxreg to BY-groups proc x12 data salesby date date auxdata auxreg var sales by by regression uservar lengthofmonth arima model 0 11 011 estimate run The results in Output match the previous results in Output and Output . Output Using Regressors in the AUXDATA Data with BY-groups Align lengthofmonth Regressor from Auxreg to BY-groups ------------------------------------- by 1 -------------------------------------- The X12 Procedure Regression Model Parameter Estimates For Variable sales Standard Type Parameter NoEst Estimate Error t Value Pr t User Defined lengthofmonth Est Acknowledgments X12 Procedure F 2393 Output continued Align lengthofmonth Regressor from Auxreg to BY-groups ------------------------------------- by 2 -------------------------------------- The X12 Procedure Regression Model Parameter Estimates For Variable sales Standard Type Parameter NoEst Estimate Error t Value Pr t User Defined lengthofmonth Est .