The DO Loop
Statistical programming in SAS with an emphasis on SAS/IML programs
I write a lot of Monte Carlo simulations. This article discusses how to assess whether two independent Monte Carlo estimates are close to each other. This result can be used to test the correctness of a Monte Carlo simulation. It can also be used to compare different Monte Carlo algorithms
SAS has more than 25 common probability distributions that are supported in the PDF, CDF, QUANTILE, and RAND functions. If you want to work with a less common distribution, you can implement these functions yourself. For example, I previously showed how to use PROC FCMP in Base SAS to implement
The classical multivariate normal (MVN) distribution is a standard model for correlated data. It is a simple model, it is easy to fit the MVN model to data, and the parameters in the model (locations and correlations) are intuitive. Of course, normality is a strong assumption that is not always