Description Usage Arguments Details Value Author(s) Examples
Creates Monte Carlo sampling designs for metrology applications
1 | MCdesign(N,k,distrib,distrib.pars,x)
|
N |
The number of design points. |
k |
The number of the input variables of the numerical code. |
distrib |
A named list of length |
distrib.pars |
A named list of lists of parameters describing the distributions associated with |
x |
A named list containing the names of the input variables of the numerical code. See Details for defaults. |
This function creates a sampling design based on a Monte Carlo simulation.
If distrib
or members of it are missing, an error message is displayed. Distributions have to be chosen among uniform(unif
), triangular(triang
), normal(norm
), truncated normal(tnorm
), student(t
), location-scale student(t.scaled
).
If distrib.pars
is missing or misspecified, the standardized parameters of the associated distributions in distrib
are used for all the variables in x
:
unif : min=0
, max=1
triang : min=0
, max=1
, mode=0.5
norm : mean=0
, sd=1
tnorm : mean=0
, sd=1
, lower=0
, upper=+Inf
t : nu=100
t.scaled : nu=100
, mean=0
, sd=1
If x
or members of it are missing, arbitrary names of the form 'Xn' are applied to the columns of the output table. Names are automatically abbreviated to 15 characters.
A table containing the MC design with margins in distrib
.
Severine Demeyer severine.demeyer@lne.fr
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.