Programming Tips
3

## The curse of non-unique eigenvectors

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

## Monte Carlo estimates of joint probabilities

Monte Carlo techniques have many applications, but a primary application is to approximate the probability…
1

## Need to log-transform a distribution? There's a SAS function for that!

At a conference last week, a presenter showed SAS statements that compute the logarithm of…
1

## The Lambert W function in SAS

This article describes how you can evaluate the Lambert W function in SAS/IML software. The…
1

## Halley's method for finding roots

Edmond Halley (1656-1742) is best known for computing the orbit and predicting the return of…
2

## All I really need to know about Newton's method I learned in primary school

I was eleven years old when I first saw Newton's method. No, I didn't go…
1

## Trap and cap: Avoid division-by-zero and domain errors when evaluating functions

Statistical programmers often need to evaluate complicated expressions that contain square roots, logarithms, and other…
2

## The sensitivity of Newton's method to an initial guess

In my article about finding an initial guess for root-finding algorithms, I stated that Newton's…
5

## Finding roots: Automating the search for an initial guess

A SAS programmer asked an interesting question on a SAS Support Community. The programmer had…
3

## Compute the rank of a matrix in SAS

A common question from statistical programmers is how to compute the rank of a matrix…
1 2 3 6