The DO Loop
Statistical programming in SAS with an emphasis on SAS/IML programs
The SAS DATA step is a flexible computational tool. The DATA step supports hundreds of built-in functions that enable you to implement many algorithms in computational statistics. In addition, the FCMP procedure enables you to create new functions and store them in a library. You can use PROC FCMP to
A previous article introduces the skew-normal distribution and shows how to use SAS to compute the skew-normal PDF, CDF, and random variates. The present article shows how to use the Cornish-Fisher expansion to quickly compute the quantiles of the skew-normal distribution. The method is very general: it can be used
The normal distribution is symmetric, which means that it has zero skewness. In certain applications, it is useful to embed the normal distribution into a family that can model positively and negatively skewed data. Azzalini (1985) proposed a method to add a skewness parameter, α, to any symmetric family. He