Chapter 11. Programming with Matrices and Vectors

  • 11.1 Defining a Matrix and Subscripting 390

  • 11.2 Using Diagonal Matrices and Stacking Matrices 396

  • 11.3 Using Elementwise Operations, Repeating, and Multiplying Matrices 399

  • 11.4 Importing a Data Set into SAS/IML and Exporting Matrices from SAS/IML to a Data Set 400

  • 11.5 Case Study 1: Monte Carlo Integration to Estimate π 402

  • 11.6 Case Study 2: Bisection Root Finder 403

  • 11.7 Case Study 3: Randomization Test Using Matrices Imported from PROC PLAN 406

  • 11.8 Case Study 4: SAS/IML Module to Implement Monte Carlo Integration to Estimate π 408

  • 11.9 Introducing SAS/IML Studio 411

  • 11.10 Summary 422

  • 11.11 References 422

  • 11.12 Exercises 423

SAS data sets are rectangular objects that can be manipulated using procedures. ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.