Chapter 8. Formatting Variables, Recoding Variables, and Writing Programs

  • 8.1 Internal Representations and Output Displays 264

  • 8.2 Character, Numeric, Time, and Date Formats 272

  • 8.3 Recoding and Transforming Variables in a DATA Step 277

  • 8.4 Ordering How Tasks Are Done 285

  • 8.5 What Goes and What Stays in a Data Set 287

  • 8.6 Structured Thinking about Writing Programs 289

  • 8.7 Case Study 1: Is the Two-Sample t -Test Robust Enough for Heterogeneous Variances? 290

  • 8.8 Case Study 2: Monte Carlo Integration to Estimate an Integral 305

  • 8.9 Case Study 3: Simple Percentile-Based Bootstrap 310

  • 8.10 Throw Out Your Tables of Statistical Distributions 312

  • 8.11 Generating Variables Using Random Number Generators 320

  • 8.12 Summary 322

  • 8.13 References 323

  • 8.14 Exercises 323

Get Statistical Programming in SAS® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.