Step By Programming With Base SAS Software Manual
SAS_programming_manual
User Manual:
Open the PDF directly: View PDF
Page Count: 788 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Table of Contents
- Introduction to the SAS System
- What Is the SAS System?
- Getting Your Data into Shape
- Introduction to DATA Step Processing
- Introduction to DATA Step Processing
- The SAS Data Set: Your Key to the SAS System
- How the DATA Step Works: A Basic Introduction
- Supplying Information to Create a SAS Data Set
- Overview of Creating a SAS Data Set
- Telling SAS How to Read the Data: Styles of Input
- Reading Dates with Two-Digit and Four-Digit Year Values
- Defining Variables in SAS
- Indicating the Location of Your Data
- Using External Files in Your SAS Job
- Identifying an External File Directly
- Referencing an External File with a Fileref
- Review of SAS Tools
- Learning More
- Starting with Raw Data: The Basics
- Starting with Raw Data: Beyond the Basics
- Introduction to Beyond the Basics with Raw Data
- Testing a Condition before Creating an Observation
- Creating Multiple Observations from a Single Record
- Reading Multiple Records to Create a Single Observation
- Problem Solving: When an Input Record Unexpectedly Does Not Have Enough Values
- Review of SAS Tools
- Learning More
- Starting with SAS Data Sets
- Basic Programming
- Understanding DATA Step Processing
- Working with Numeric Variables
- Working with Character Variables
- Introduction to Working with Character Variables
- Input SAS Data Set for Examples
- Identifying Character Variables and Expressing Character Values
- Setting the Length of Character Variables
- Handling Missing Values
- Creating New Character Values
- Saving Storage Space by Treating Numbers as Characters
- Review of SAS Tools
- Learning More
- Acting on Selected Observations
- Creating Subsets of Observations
- Working with Grouped or Sorted Observations
- Using More Than One Observation in a Calculation
- Finding Shortcuts in Programming
- Working with Dates in the SAS System
- Combining SAS Data Sets
- Methods of Combining SAS Data Sets
- Concatenating SAS Data Sets
- Interleaving SAS Data Sets
- Merging SAS Data Sets
- Updating SAS Data Sets
- Modifying SAS Data Sets
- Conditionally Processing Observations from Multiple SAS Data Sets
- Understanding Your SAS Session
- Analyzing Your SAS Session with the SAS Log
- Directing SAS Output and the SAS Log
- Introduction to Directing SAS Output and the SAS Log
- Input File and SAS Data Set for Examples
- Routing the Output and the SAS Log with PROC PRINTTO
- Storing the Output and the SAS Log in the SAS Windowing Environment
- Redefining the Default Destination in a Batch or Noninteractive Environment
- Review of SAS Tools
- Learning More
- Diagnosing and Avoiding Errors
- Producing Reports
- Producing Detail Reports with the PRINT Procedure
- Creating Summary Tables with the TABULATE Procedure
- Introduction to Creating Summary Tables with the TABULATE Procedure
- Understanding Summary Table Design
- Understanding the Basics of the TABULATE Procedure
- Input File and SAS Data Set for Examples
- Creating Simple Summary Tables
- Creating More Sophisticated Summary Tables
- Creating Hierarchical Tables to Report on Subgroups
- Formatting Output
- Calculating Descriptive Statistics
- Reporting on Multiple Statistics
- Reducing Code and Applying a Single Label to Multiple Elements
- Getting Summaries for All Variables
- Defining Labels
- Using Styles and the Output Delivery System
- Ordering Class Variables
- Review of SAS Tools
- Learning More
- Creating Detail and Summary Reports with the REPORT Procedure
- Producing Plots and Charts
- Plotting the Relationship between Variables
- Producing Charts to Summarize Variables
- Designing Your Own Output
- Writing Lines to the SAS Log or to an Output File
- Understanding and Customizing SAS Output: The Basics
- Understanding and Customizing SAS Output: The Output Delivery System ( ODS)
- Introduction to Customizing SAS Output by Using the Output Delivery System
- Input Data Set for Examples
- Understanding ODS Output Formats and Destinations
- Selecting an Output Format
- Creating Formatted Output
- Selecting the Output That You Want to Format
- Customizing ODS Output
- Storing Links to ODS Output
- Review of SAS Tools
- Learning More
- Storing and Managing Data in SAS Files
- Understanding SAS Data Libraries
- Managing SAS Data Libraries
- Getting Information about Your SAS Data Sets
- Modifying SAS Data Set Names and Variable Attributes
- Copying, Moving, and Deleting SAS Data Sets
- Understanding Your SAS Environment
- Introducing the SAS Environment
- Using the SAS Windowing Environment
- Customizing the SAS Environment
- Appendix
- Additional Data Sets
- Introduction
- Data Set CITY
- Raw Data Used for “Understanding Your SAS Session” Section
- Data Set SAT_SCORES
- Data Set YEAR_SALES
- Data Set HIGHLOW
- Data Set GRADES
- Data Sets for “Storing and Managing Data in SAS Files” Section
- DATA Step to Create the Data Set USCLIM.HIGHTEMP
- DATA Step to Create the Data Set USCLIM.HURRICANE
- DATA Step to Create the Data Set USCLIM.LOWTEMP
- DATA Step to Create the Data Set USCLIM.TEMPCHNG
- Note on Catalogs USCLIM.BASETEMP and USCLIM.REPORT
- DATA Step to Create the Data Set CLIMATE.HIGHTEMP
- DATA Step to Create the Data Set CLIMATE.LOWTEMP
- DATA Step to Create the Data Set PRECIP.RAIN
- DATA Step to Create the Data Set PRECIP.SNOW
- DATA Step to Create the Data Set STORM.TORNADO
- Glossary
- Index