14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A JSL Syntax Reference 659<br />

Random Functions<br />

Random Gamma(lambda, )<br />

Description<br />

Gives a gamma distribution for given lambda and optional scale.<br />

Random Gamma Poisson(lambda, sigma)<br />

Description<br />

Returns a random number from a gamma Poisson distribution with parameters lambda and sigma.<br />

The default value for sigma is 1.<br />

Random Geometric(p)<br />

Description<br />

Returns random numbers from the geometric distribution with probability p that a specific event occurs<br />

at any one trial.<br />

Random GLog(mu, sigma, lambda)<br />

Description<br />

Returns a random number from a generalized logarithmic distribution.<br />

Random Integer(, n)<br />

Description<br />

Returns a random integer from 1 to n or from k to n.<br />

Random Johnson Sb(gamma, delta, theta, sigma)<br />

Description<br />

Returns a random number from the Johnson Sb distribution.<br />

Random Johnson Sl(gamma, delta, theta, )<br />

Description<br />

Returns a random number from the Johnson Sl distribution.<br />

Random Johnson Su(gamma, delta, theta, sigma)<br />

Description<br />

Returns a random number from the Johnson Su distribution.<br />

Random LEV(mu, sigma)<br />

Description<br />

Returns a random number from an LEV distribution with the location mu and scale sigma. The default<br />

values are mu = 0 and sigma = 1.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!