Description Usage Arguments Details Value Examples
Generate Monte Carlo sample from prescribed PDF. All PDFs are parameterized by their mean and standard deviation (if needed).
1 2 |
M |
Sample size. |
x.mu |
Named vector of mean values
with names compatible with |
x.u |
Named vector of standard uncertainty values
(one of { |
x.pdf |
Named vector of pdf types (see below). |
x.df |
Named vector of degrees of freedom for |
x.cor |
Named correlation matrix between model parameters. |
x.cov |
Named variance/covariance matrix between model parameters
(one of { |
tol |
Numeric tolerance level to check positive-definiteness of
|
Available distributions:
'delta' Dirac delta distribution (for constants); args = x.mu
'norm' Normal; args = x.mu, x.u
'tnorm' Truncated normal (positive values); args = x.mu, x.u
'lnorm' Lognormal; args = x.mu, x.u
'stud' Student's T; args = x.mu, x.u, x.df
'unif' Uniform; args = x.mu, x.u
'triangle' Symmetric triangular; args = x.mu, x.u
'arcsine' Arcsine derivative; args = x.mu, x.u
'pois' Poisson; args = x.mu
Correlation between variables is described by matrices x.cov
or x.cor
, and enforced by Gaussian copula.
X
A M
*N
matrix of M
values for N
variables.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.