Chapter 8 Using Basic Statistical Procedures 8.1 Examining the Distribution of Data with PROC UNIVARIATE 216 8.2 Producing Statistics with PROC MEANS 218 8.3 Testing Categorical Data with PROC FREQ 8.4 Examining Correlations with PROC CORR 2 Ising PROC REG for Simple Regression Analysis 224 8.6 Reading the Output of PROC REG 226 8.7 Using PROC ANOVA for One-Way Analysis of Variance 228 g the Output of PROC ANOVA 23 8.9 Graphical Interfaces for Statistical Analysis 232 Chapter 9 Exporting Your Data 9.1 Methods for Exporting Your Data 236 9.2 Writing Files Using the Export Wizard 238 9.3 Writing Delimited Files with the eXPORT Procedure 240 9.4 Writing PC Files with the EXPORT Procedure 24 9.5 Writing Raw Data Files with the DATA Step 244 9.6 Writing Delimited and HTML Files using ODS 246 9.7 Sharing SAS Data Sets with Other Types of Computers 248 Chapter 10 Debugging Your SAs Programs 10.1 Writing SAS Programs That Work 252 10.2 Fixing Programs That Dont Work 254 10.3 Searching for the Missing Semicolon 256 10.4 Note: INPUT Statement Reached Past the End of the Line 258 10.6 Note: Invalid Data 262 10.7 Note: Missing Values Were Generated 264 10.8 Note: Numeric Values Have Been Converted to Character(or Vice Versa) 266 10.9 DATA Step Produces Wrong Results but No Error Message 268Contents vii Chapter 8 Using Basic Statistical Procedures 8.1 Examining the Distribution of Data with PROC UNIVARIATE 216 8.2 Producing Statistics with PROC MEANS 218 8.3 Testing Categorical Data with PROC FREQ 220 8.4 Examining Correlations with PROC CORR 222 8.5 Using PROC REG for Simple Regression Analysis 224 8.6 Reading the Output of PROC REG 226 8.7 Using PROC ANOVA for One-Way Analysis of Variance 228 8.8 Reading the Output of PROC ANOVA 230 8.9 Graphical Interfaces for Statistical Analysis 232 Chapter 9 Exporting Your Data 9.1 Methods for Exporting Your Data 236 9.2 Writing Files Using the Export Wizard 238 9.3 Writing Delimited Files with the EXPORT Procedure 240 9.4 Writing PC Files with the EXPORT Procedure 242 9.5 Writing Raw Data Files with the DATA Step 244 9.6 Writing Delimited and HTML Files using ODS 246 9.7 Sharing SAS Data Sets with Other Types of Computers 248 Chapter 10 Debugging Your SAS Programs 10.1 Writing SAS Programs That Work 252 10.2 Fixing Programs That Don’t Work 254 10.3 Searching for the Missing Semicolon 256 10.4 Note: INPUT Statement Reached Past the End of the Line 258 10.5 Note: Lost Card 260 10.6 Note: Invalid Data 262 10.7 Note: Missing Values Were Generated 264 10.8 Note: Numeric Values Have Been Converted to Character (or Vice Versa) 266 10.9 DATA Step Produces Wrong Results but No Error Message 268