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 715<br />

Utility Functions<br />

Mixture Moment(powers, , )<br />

Description<br />

Computes the exact moments of monomials over bounded subsets of the face of the unit simplex.<br />

Arguments<br />

powers The vector of polynomial powers in the monomial.<br />

L, U Optional lower and upper bounds that must be between 0 and 1. The default values for L and U<br />

are 0 and 1, respectively.<br />

Moment Quadrature(vector)<br />

Description<br />

Returns the optimal quadrature abscissas and weights.<br />

Argument<br />

vector A vector of moments (1 by m) between 0 and m-1 for a distribution.<br />

Multivariate Gaussian Quadrature(nDim, nStrata, nSim)<br />

Description<br />

Returns a list of two elements: values and weights for radial-spherical integration for smooth functions of<br />

independent standard normal variables.<br />

Arguments<br />

nDim Number of dimensions.<br />

nStrata Number of strata.<br />

nSim Number of simulations.<br />

N Arg(exprArg)<br />

Description<br />

Returns the number of arguments of the evaluated expression head.<br />

N Arg Expr(exprArg)<br />

Description<br />

Returns the number of arguments of the expression head.<br />

N Items(source)<br />

Description<br />

Determines the number of elements in the source specified. Can be assigned to a variable.<br />

Returns<br />

For a list, the number of items in the list. For an associative array, the number of keys.<br />

Arguments<br />

source A list or an associative array.

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

Saved successfully!

Ooh no, something went wrong!