## Programming Tips

Strengthen your programming skills with tips and techniques from the experts

3

## Simulate multivariate clusters in SAS

This article shows how to simulate data from a mixture of multivariate normal distributions, which…
Analytics
1

## Symbolic derivatives in SAS

Did you know that you can get SAS to compute symbolic (analytical) derivatives of simple…
Learn SAS
1

## Construct polynomial effects in SAS regression models

If you use SAS regression procedures, you are probably familiar with the "stars and bars"…
Programming Tips
0

## The arithmetic-geometric mean

All statisticians are familiar with the classical arithmetic mean. Some statisticians are also familiar with…
Programming Tips
0

## 6 tips for timing the performance of algorithms

When you implement a statistical algorithm in a vector-matrix language such as SAS/IML, R, or…
Programming Tips
4

## The curse of non-unique eigenvectors

A SAS customer asked, "I computed the eigenvectors of a matrix in SAS and in…
Programming Tips
0

## Dimension reduction: Guidelines for retaining principal components

Last week I blogged about the broken-stick problem in probability, which reminded me that the…
Learn SAS
4

## Flip it. Flip it good.

A SAS user needed to convert a program from MATLAB into the SAS/IML matrix language…
Programming Tips
0

## Random segments and broken sticks

A classical problem in elementary probability asks for the expected lengths of line segments that…
Programming Tips
1

## Difference operators as matrices

For a time series { y1, y2, ..., yN }, the difference operator computes the…
1 2 3 6