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.

642 JSL Syntax Reference Appendix A<br />

Probability Functions<br />

Probability Functions<br />

Beta Density(x, alpha, beta, , )<br />

Description<br />

Calculates the beta probability density function (pdf).<br />

Returns<br />

The density function at quantile x for the beta distribution for the given arguments.<br />

Arguments<br />

x A quantile between theta and theta + sigma. Theta’s default value is 0. Sigma’s default value is 1.<br />

alpha, beta Shape parameters that must both be greater than 0.<br />

theta optional threshold. The allowable range is – ∞< θ<<br />

∞. The default is 0.<br />

sigma optional scale parameter, which must be greater than 0. The default is 1.<br />

See Also<br />

The section on probability functions in the Using JMP book.<br />

Beta Distribution(x, alpha, beta, , )<br />

Description<br />

Calculates the cumulative distribution function for the beta distribution.<br />

Returns<br />

Returns the cumulative distribution function at quantile x for the beta distribution with shape<br />

arguments alpha and beta.<br />

Arguments<br />

x A quantile between theta and theta + sigma.<br />

alpha, beta Shape parameters that must both be greater than 0.<br />

theta optional threshold. The allowable range is – ∞< θ<<br />

∞. The default is 0.<br />

sigma optional scale parameter, which must be greater than 0. The default is 1.<br />

See Also<br />

The section on probability functions in the Using JMP book.<br />

Beta Quantile(p, alpha, beta, , )<br />

Description<br />

Calculates the requested quantile for the beta distribution.<br />

Returns<br />

Returns the pth quantile from the beta distribution with shape arguments alpha and beta.<br />

Arguments<br />

p The probability of the quantile desired; p must be between 0 and 1.<br />

alpha, beta Shape parameters that must both be greater than 0.<br />

theta optional threshold. The allowable range is – ∞< θ<<br />

∞. The default is 0.

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

Saved successfully!

Ooh no, something went wrong!