SAS/ETS 9.22 User's Guide 11

SAS/Ets User's Guide 11. 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 | 92 F Chapter 3 Working with Time Series Data title Plot of USCPI Data proc plot data uscpi plot cpi date vaxis 129 to 137 by 1 run The plot is shown in Figure . Figure Plot of Monthly CPI Over Time Plot of USCPI Data Plot of cpi date. Symbol used is . 137 U S 136 C o n 135 s u m 134 e r 133 P r i 132 c e 131 I n d 130 e x 129 - MAY1990 AUG1990 DEC1990 MAR1991 JUN1991 OCT1991 date Using PROC TIMEPLOT The TIMEPLOT procedure in Base SAS plots time series data vertically on the page instead of horizontally across the page as the PLOT procedure does. PROC TIMEPLOT can also print the data values as well as plot them. The following statements use the TIMEPLOT procedure to plot CPI in the USCPI data set. Only the last 14 observations are included in this example. The plot is shown in Figure . Using PROC GPLOT F 93 title Plot of USCPI Data proc timeplot data uscpi plot cpi id date where date 1jun90 d run Figure Output Produced by PROC TIMEPLOT Plot of USCPI Data date US min max Consumer JUN1990 c JUL1990 c AUG1990 c SEP1990 c OCT1990 c NOV1990 c DEC1990 c JAN1991 c FEB1991 c MAR1991 c APR1991 c MAY1991 c JUN1991 c JUL1991 c The TIMEPLOT procedure has several interesting features not discussed here. See The TIMEPLOT Procedure in the Base SAS Procedures Guide for more information. Using PROC GPLOT The GPLOT procedure in SAS GRAPH software can also be used to plot time series data although the newer SGPLOT procedure is easier to use. The following is an example of how GPLOT can be used to produce a plot similar to the graph produced by PROC SGPLOT in the preceding section. title Plot of USCPI Data proc gplot data uscpi symbol i spline v circle h 2 plot cpi date run The plot is shown in Figure . 94 F Chapter 3 Working with Time Series Data For more information about the GPLOT procedure see SAS GRAPH Reference. Calendar and Time Functions Calendar .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
14    66    1    27-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.