Skip to content

Little SAS Book A Primer, Second Edition

Best in textbook rentals since 2012!

ISBN-10: 1580252397

ISBN-13: 9781580252393

Edition: 2nd 1999

Authors: Lora D. Delwiche, Susan J. Slaughter

List price: $30.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Customers also bought

Book details

List price: $30.95
Edition: 2nd
Copyright year: 1999
Publisher: SAS Institute
Publication date: 1/1/2004
Binding: Paperback
Pages: 300
Size: 7.00" wide x 9.00" long x 0.75" tall
Weight: 1.034

With over 25 years of experience, Lora Delwiche enjoys teaching people about SAS software and likes solving challenging problems using SAS. She has spent most of her career at the University of California, Davis, using SAS in support of teaching and research.

Susan Slaughter discovered SAS software in graduate school over 25 years ago. Since then, she has used SAS in a variety of business and academic settings. She now works as a consultant through her company, Avocet Solutions.

Acknowledgmentsp. vii
Introducing SAS Softwarep. viii
About This Bookp. ix
What's Newp. xii
Getting Started Using SAS Software
The SAS Languagep. 2
SAS Data Setsp. 4
The Two Parts of a SAS Programp. 6
The DATA Step's Built-in Loopp. 8
Choosing a Mode for Submitting SAS Programsp. 10
Windows and Commands in the SAS Windowing Environmentp. 12
Submitting a Program in the SAS Windowing Environmentp. 14
Reading the SAS Logp. 16
Viewing and Printing the SAS Outputp. 18
Using SAS System Optionsp. 20
Getting Your Data into the SAS System
Methods for Getting Your Data into the SAS Systemp. 24
Telling SAS Where to Find Your Raw Datap. 26
Reading Raw Data Separated by Spacesp. 28
Reading Raw Data Arranged in Columnsp. 30
Reading Raw Data Not in Standard Formatp. 32
Selected Informatsp. 34
Mixing Input Stylesp. 36
Listing the Contents of a SAS Data Setp. 38
Temporary versus Permanent SAS Data Setsp. 40
Using LIBNAME Statements with Permanent SAS Data Setsp. 42
Entering Data with the Viewtable Windowp. 44
Reading Multiple Lines of Raw Data per Observationp. 46
Reading Multiple Observations per Line of Raw Datap. 48
Reading Part of a Raw Data Filep. 50
Controlling Input with Options in the INFILE Statementp. 52
Reading Delimited Files with the DATA Stepp. 54
Reading Delimited Files with the IMPORT Procedurep. 56
Reading PC Database Files with DDE or the IMPORT Procedurep. 58
Writing Delimited Files with the EXPORT Procedurep. 60
Writing Raw Data Files with the DATA Stepp. 62
Working with Your Data
Creating and Redefining Variablesp. 66
Using SAS Functionsp. 68
Selected SAS Functionsp. 70
Using IF-THEN Statementsp. 72
Grouping Observations with IF-THEN/ELSE Statementsp. 74
Subsetting Your Datap. 76
Working with SAS Datesp. 78
Selected Date Informats, Functions, and Formatsp. 80
Using the RETAIN and Sum Statementsp. 82
Simplifying Programs with Arraysp. 84
Using Shortcuts for Lists of Variable Namesp. 86
Sorting, Printing, and Summarizing Your Data
Using SAS Proceduresp. 90
Subsetting in Procedures with the WHERE Statementp. 92
Sorting Your Data with PROC SORTp. 94
Printing Your Data with PROC PRINTp. 96
Changing the Appearance of Printed Values with Formatsp. 98
Selected Standard Formatsp. 100
Creating Your Own Formats Using PROC FORMATp. 102
Writing Simple Custom Reportsp. 104
Summarizing Your Data Using PROC MEANSp. 106
Writing Summary Statistics to a SAS Data Setp. 108
Counting Your Data with PROC FREQp. 110
Producing Tabular Reports with PROC TABULATEp. 112
Adding Statistics to Tabular Reportsp. 114
Visualizing Your Data with PROC PLOTp. 116
Formatting Procedure Output for Display on the Internetp. 118
Creating SAS Data Sets from Procedure Outputp. 120
Modifying and Combining SAS Data Sets
Modifying a Data Set Using the SET Statementp. 124
Stacking Data Sets Using the SET Statementp. 126
Interleaving Data Sets Using the SET Statementp. 128
Combining Data Sets Using a One-to-One Match Mergep. 130
Combining Data Sets Using a One-to-Many Match Mergep. 132
Merging Summary Statistics with the Original Datap. 134
Combining a Grand Total with the Original Datap. 136
Updating a Master Data Set with Transactionsp. 138
Using SAS Data Set Optionsp. 140
Tracking and Selecting Observations with the IN= Optionp. 142
Writing Multiple Data Sets Using the OUTPUT Statementp. 144
Making Several Observations from One Using the OUTPUT Statementp. 146
Changing Observations to Variables Using PROC TRANSPOSEp. 148
Using SAS Automatic Variablesp. 150
Writing Flexible Code with the SAS Macro Facility
Macro Conceptsp. 154
Substituting Text with Macro Variablesp. 156
Creating Modular Code with Macrosp. 158
Adding Parameters to Macrosp. 160
Writing Macros with Conditional Logicp. 162
Writing Data-Driven Programs with CALL SYMPUTp. 164
Debugging Macro Errorsp. 166
Using Basic Statistical Procedures
Examining the Distribution of Data with PROC UNIVARIATEp. 170
Producing Statistics with PROC MEANSp. 172
Testing Categorical Data with PROC FREQp. 174
Examining Correlations with PROC CORRp. 176
Using PROC REG for Simple Regression Analysisp. 178
Reading the Output of PROC REGp. 180
Using PROC ANOVA for One-Way Analysis of Variancep. 182
Reading the Output of PROC ANOVAp. 184
Introducing the Analyst Applicationp. 186
Debugging Your SAS Programs
Writing SAS Programs That Workp. 190
Fixing Programs That Don't Workp. 192
Searching for the Missing Semicolonp. 194
Note: INPUT Statement Reached Past the End of the Linep. 196
Note: Lost Cardp. 198
Note: Invalid Datap. 200
Note: Missing Values Were Generatedp. 202
Note: Numeric Values Have Been Converted to Character (or Vice Versa)p. 204
DATA Step Produces Wrong Results but No Error Messagep. 206
The DATA Step Debuggerp. 208
Error: Invalid Option, Error: The Option Is Not Recognized, or Error: Statement Is Not Validp. 210
Note: Variable Is Uninitialized or Error: Variable Not Foundp. 212
SAS Truncates a Character Variablep. 214
SAS Stops in the Middle of a Jobp. 216
SAS Runs Out of Memory or Disk Spacep. 218
Appendices
Where to Go from Herep. 222
Getting Help from SAS Institute Technical Supportp. 224
An Overview of SAS Productsp. 226
Coming to SAS from SPSSp. 228
Coming to SAS from a Programming Languagep. 234
Coming to SAS from SQLp. 238
Indexp. 245
Table of Contents provided by Ingram. All Rights Reserved.