morris
is the implementation of the Morris OAT Screening
method. This function generates the Morris design of experiments and
computes the measures of sensitivity $\mu^*$ and
$\sigma$.morris(model = NULL, factors, levels, r, k.delta = "usual",
min = 0, max = 1, scale = TRUE, nboot = 0, conf = 0.95, ...)
## S3 method for class 'morris':
compute(sa, y = NULL)
TRUE
, the input and output data are
scaled.model
which are passed
unchanged each time it is called.morris
returns an object of class "morris"
.
An object of class "morris"
is a list containing the following
components:TRUE
, the input and output data are
scaled before computing the elementary effects.model
is a function or a predictor (a class with a
predict
method) computing the response y
based on the
sample given by x
. If no model is specified, the indices will be
computed when one gives the response. The number of levels is the same for each space coordinate. Then
levels
must be a single integer.
k.delta
is such that:
$$\Delta_i = \textrm{k.delta} \frac{\textrm{max}_i-\textrm{min}_i}{k-1}$$
where $k$ is the number of levels (levels
). If
k.delta
is given as "usual"
and $k$ is even,
then $\Delta$ is the value recommended by Morris:
$$\Delta_i = (\textrm{max}_i-\textrm{min}_i) \frac{k}{2(k-1)}$$
min
and max
are boundaries of the region of
experimentation. They can be single values (the same for each
factor) or vectors.
Morris, M. D., 1991, Factorial sampling plans for preliminary computational experiments. Technometrics, 33, 161--174.
sensitivity
compute
# Test case : the non-monotonic function of Morris
sa <- morris(model = morris.fun, factors = 20, levels = 4, r = 4)
print(sa)
plot(sa)
Run the code above in your browser using DataLab