tailieunhanh - SAS/ETS 9.22 User's Guide 60

SAS/Ets User's Guide 60. 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 | 582 F Chapter 11 The DATASOURCE Procedure The following options can be used in the PROC DATASOURCE statement ALIGN option controls the alignment of SAS dates used to identify output observations. The ALIGN option allows the following values BEGINNING BEG B MIDDLE MID M and ENDING END E. BEGINNING is the default. ASCII specifies the incoming data is ASCII. This option is used when the native character set of your host machine is EBCDIC. DBNAME database name specifies the FAME database to access. Only use this option with the filetype FAME option. The character string you specify in the DBNAME option is passed through to FAME. Specify the value of this option as you would in accessing the database from within FAME software. EBCDIC specifies the incoming data is ebcdic. This option is needed when the native character set of your host machine is ASCII. FAMEPRINT prints the FAME command file generated by PROC DATASOURCE and the log file produced by the FAME component of the interface system. Only use this option with the filetype FAME option. FILETYPE entry DBTYPE dbtype specifies the kind of input data file to process. See Data Elements Reference DATASOURCE Procedure on page 630 for a list of supported file types. The FILETYPE option is required. INDEX creates a set of single indexes from BY variables for the OUT data set. Under some circumstances creating indexes for a SAS data set may increase the efficiency in locating observations when BY or WHERE statements are used in subsequent steps. Refer to SAS Language Reference Concepts for more information on SAS indexes. The INDEX option is ignored when no OUT data set is created or when the data file does not contain any BY variables. The INDEX data set option can be used to override the index variable definitions. INFILE fileref INFILE filerefl fileref2. filerefn specifies the fileref assigned to the input data file. The default value is DATAFILE. The fileref used in the INFILE option or if no INFILE option is specified