Previous Page
|
Next Page
Details
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
Details: DATASOURCE Procedure
Variable Lists
OUT= Data Set
OUTCONT= Data Set
OUTBY= Data Set
OUTALL= Data Set
OUTEVENT= Data Set
Data Elements Reference: DATASOURCE Procedure
Previous Page
|
Next Page
|
Top of Page
Copyright © SAS Institute Inc. All Rights Reserved.
Previous Page
|
Next Page
|
Top of Page