sensitivity-package: Sensitivity Analysis
Description
Methods and functions for global sensitivity analysis.Model managing
The sensitivity package has been designed to work either models written in Rthan external models such as heavy computational codes. This is achieved with
the input argument model
present in all functions of this package.
The argument model
is expected to be either a
funtion or a predictor (i.e. an object with a predict
function such as
lm
).
- If
model = m
wherem
is a function, it will be invoked
once byy <- m(X)
. - If
model = m
wherem
is a predictor, it will be invoked
once byy <- predict(m, X)
.
X
is the design of experiments, i.e. a data.frame
with
p
columns (the input factors) and n
lines (each, an
experiment), and y
is the vector of length n
of the
model responses.
The model in invoked once for the whole design of experiment.
The argument model
can be left to NULL
. This is refered to as
the decoupled approach and used with external computational codes that rarely
run on the statistician's computer. See decoupling
.Details
The sensitivity package implements some global sensitivity analysis
methods:
- Linear regression coefficients: SRC and SRRC
(
src
), PCC and PRCC (pcc
). - Morris's "OAT" elementary effects screening method (
morris
). - Bettonvil's sequential bifurcations (
sb
). - Monte Carlo estimation of Sobol' indices:
- Sobol's scheme (1993) to compute the indices given by the variance decomposition up to a specified order (
sobol
) - Saltelli's scheme (2002) to compute first order and total indices with a reduced cost (
sobol2002
). - Monod's scheme (2006) to compute first order indices with optimal asymptotic variance (
sobolEff
). - Sobol's scheme (2007) to compute first order and total indices using improved formulas for small indices (
sobol2007
). - Jansen-Sobol's scheme (1999) to compute first order and total indices using improved formulas (
soboljansen
).
- Estimation of the Sobol' first order and total indices with
Saltelli's so-called "extended-FAST" method (
fast99
).
It alo implements a new reliability sensitivity analysis method:
the Density Modification Based Reliability Sensitivity Indices (DMBRSI
).
Moreover, some utilities are provided: standard test-cases
(testmodels
) and template file generation
(template.replace
).References
A. Saltelli, K. Chan and E. M. Scott eds, 2000, Sensitivity
Analysis, Wiley.