The DO Loop

Statistical programming in SAS with an emphasis on SAS/IML programs
Advanced Analytics
Rick Wicklin 1
Tricks and Treats

How can you change a programming trick into a programming treat? Try this algorithm: If you develop a clever snippet of code, squirrel it away. This snippet is a "trick." If you use the trick a second time, copy and modify the code. The trick has become a "treat." If

Advanced Analytics
Rick Wicklin 21
Evaluate an iterated integral

The SAS/IML language provides the QUAD function for evaluating one-dimensional integrals. You can also use the QUAD function to compute a double integral as an iterated integral. A One-Dimensional Integration Suppose you want to evaluate the following integral: To evaluate this integral in the SAS/IML language: Define a function module

1 161 162 163 164 165 168