Programming Tips

Strengthen your programming skills with tips and techniques from the experts

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 42 43 44 45 46 48

Back to Top