Previous Page
|
Next Page
The DATASOURCE Procedure
Overview
Getting Started
Structure of a SAS Data Set Containing Time Series Data
Reading Data Files
Subsetting Input Data Files
Controlling the Frequency of Data – The INTERVAL= Option
Selecting Time Series Variables – The KEEP and DROP Statements
Controlling the Time Range of Data – The RANGE Statement
Reading in Data Files Containing Cross Sections
Obtaining Descriptive Information on Cross Sections
Subsetting a Data File Containing Cross Sections
Renaming Time Series Variables
Changing the Lengths of Numeric Variables
Syntax
PROC DATASOURCE Statement
KEEP Statement
DROP Statement
KEEPEVENT Statement
DROPEVENT Statement
WHERE Statement
RANGE Statement
ATTRIBUTE Statement
FORMAT Statement
LABEL Statement
LENGTH Statement
RENAME Statement
Details
Variable Lists
OUT= Data Set
OUTCONT= Data Set
OUTBY= Data Set
OUTALL= Data Set
OUTEVENT= Data Set
Data Elements Reference: DATASOURCE Procedure
Examples
BEA National Income and Product Accounts
BLS Consumer Price Index Surveys
BLS State and Area Employment, Hours, and Earnings Surveys
DRI/McGraw-Hill Format CITIBASE Files
DRI Data Delivery Service Database
PC Format CITIBASE Database
Quarterly COMPUSTAT Data Files
Annual COMPUSTAT Data Files, V9.2 New Filetype CSAUC3
CRSP Daily NYSE/AMEX Combined Stocks
References
Examples: DATASOURCE Procedure
Subsections:
12.1 BEA National Income and Product Accounts
12.2 BLS Consumer Price Index Surveys
12.3 BLS State and Area Employment, Hours, and Earnings Surveys
12.4 DRI/McGraw-Hill Format CITIBASE Files
12.5 DRI Data Delivery Service Database
12.6 PC Format CITIBASE Database
12.7 Quarterly COMPUSTAT Data Files
12.8 Annual COMPUSTAT Data Files, V9.2 New Filetype CSAUC3
12.9 CRSP Daily NYSE/AMEX Combined Stocks
Previous Page
|
Next Page
|
Top of Page