Previous Page
|
Next Page
Previous Page
|
Next Page
The DATASOURCE Procedure
The DATASOURCE Procedure
Overview: DATASOURCE Procedure
Getting Started: DATASOURCE Procedure
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: DATASOURCE Procedure
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: DATASOURCE Procedure
Variable Lists
OUT= Data Set
OUTCONT= Data Set
OUTBY= Data Set
OUTALL= Data Set
OUTEVENT= Data Set
Examples: DATASOURCE Procedure
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
Data Elements Reference: DATASOURCE Procedure
BEA Data Files
BLS Data Files
Global Insight DRI Data Files
COMPUSTAT Data Files
CRSP Stock Files
FAME Information Services Databases
Haver Analytics Data Files
IMF Data Files
OECD Data Files
References
Previous Page
|
Next Page
|
Top of Page
Copyright © SAS Institute, Inc. All Rights Reserved.
Previous Page
|
Next Page
|
Top of Page