The DO Loop

Statistical programming in SAS with an emphasis on SAS/IML programs
Learn SAS | Programming Tips
Rick Wicklin 2
Simulate lognormal data in SAS

A SAS customer asked how to simulate data from a three-parameter lognormal distribution as specified in the PROC UNIVARIATE documentation. In particular, he wanted to incorporate a threshold parameter into the simulation. Simulating lognormal data is easy if you remember an important fact: if X is lognormally distributed, then Y=log(X)

1 118 119 120 121 122 175