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:
13.1 BEA National Income and Product Accounts
13.2 BLS Consumer Price Index Surveys
13.3 BLS State and Area Employment, Hours, and Earnings Surveys
13.4 DRI/McGraw-Hill Format CITIBASE Files
13.5 DRI Data Delivery Service Database
13.6 PC Format CITIBASE Database
13.7 Quarterly COMPUSTAT Data Files
13.8 Annual COMPUSTAT Data Files, V9.2 New Filetype CSAUC3
13.9 CRSP Daily NYSE/AMEX Combined Stocks
Previous Page
|
Next Page
|
Top of Page