MultiUniform


MultiUniform(corr, I, J, lb, ub)

Full declaration:

MultiUniform(corr: Numeric[I, J]; I, J: IndexType; lb, ub: optional Numeric[I, J])

The multi-variate uniform distribution.

Generates vector samples (indexed by «I») such that each component has a uniform marginal distribution, and such that each component have the pair-wise correlations given by corr. Indexes «I» and «J» must have the same number of elements, corr needs to be symmetric and must obey a certain semidefinite condition (namely that the transformed matrix [2*sin(30*cov)] is positive semidefinite. In most cases, this roughly the same as corr being, or not being, positive semidefinite). «Lb» and «ub» can be used to specify upper and lower bounds, either for all components, or individually if these bounds are indexed by «I». If «lb» and «ub» are omitted, each component will have marginal Uniform(0, 1).

The correlation specified in corr is true sample correlation (Pearson correlation) - not rank correlation.

Library

Multivariate Distributions library functions (Multivariate Distributions.ana)

Use FileAdd Library... to add this library

See Also

Comments


You are not allowed to post comments.