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.

686 JSL Syntax Reference Appendix A<br />

Trigonometric Functions<br />

Log10(n)<br />

Description<br />

Returns the common (base 10) logarithm of n.<br />

Log1P(n)<br />

Description<br />

Same as Log(1 + x), except that it is more accurate when x is very small.<br />

Logit(p)<br />

Description<br />

Returns log(p/(1-p)).<br />

N Choose K(n, k)<br />

Description<br />

This function returns the number of n things taken k at a time (“n choose k”) and is computed in the<br />

standard way using factorials, as n! ⁄ ( k! ( n – k)!<br />

). For example, NChooseK(5,2) evaluates as 10.<br />

Note<br />

This is implemented internally in JMP using lGamma functions. The result is not always an integer.<br />

Root(n, )<br />

Description<br />

Returns the rth root of n, where r defaults to 2 for square root.<br />

Scheffe Cubic(x1, x2)<br />

Description<br />

Returns x1*x2*(x1-x2). This function supports notation for cubic mixture models.<br />

Squish(expr)<br />

Description<br />

–<br />

Equivalent to Squash(-expr), or 1⁄<br />

( 1+<br />

e expr ).<br />

Trigamma()<br />

Description<br />

Returns the trigamma function evaluated at n. The trigamma function is the derivative of the digamma<br />

function.<br />

Trigonometric Functions<br />

JMP’s trigonometric functions expect all angle arguments in radians.

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

Saved successfully!

Ooh no, something went wrong!