Learn R Programming

sensitivity (version 1.31.0)

Global Sensitivity Analysis of Model Outputs and Importance Measures

Description

A collection of functions for sensitivity analysis of model outputs (factor screening, global sensitivity analysis and robustness analysis), for variable importance measures of data, as well as for interpretability of machine learning models. Most of the functions have to be applied on scalar output, but several functions support multi-dimensional outputs.

Copy Link

Version

Install

install.packages('sensitivity')

Monthly Downloads

3,087

Version

1.31.0

License

GPL-2

Maintainer

Bertrand Iooss

Last Published

February 27th, 2026

Functions in sensitivity (1.31.0)

PoincareChaosSqCoef

Squared coefficients computation in generalized chaos
PLIsuperquantile

Perturbed-Law based sensitivity Indices (PLI) for superquantile
PoincareOptimal

Optimal Poincare constants for Derivative-based Global Sensitivity Measures (DGSM)
PLIsuperquantile_multivar

Perturbed-Law based sensitivity Indices (PLI) for superquantile and simultaneous perturbations of 2 inputs
PLIquantile_multivar

Perturbed-Law based sensitivity Indices (PLI) for quantile and simultaneous perturbations of 2 inputs
VIM

Variance-based Importance Measures in linear model
PoincareConstant

Poincare constants for Derivative-based Global Sensitivity Measures (DGSM)
PLIquantile

Perturbed-Law based sensitivity Indices (PLI) for quantile
PLI

Perturbed-Law based sensitivity Indices (PLI) for failure probability
EPtest

Non-parametric variable significance test based on the empirical process
johnsonshap

Johnson-Shapley indices
maximin_cplus

Maximin criterion
addelman_const

Addelman and Kempthorne construction
fast99

Extended Fourier Amplitude Sensitivity Test
lmg

LMG \(R^2\) decomposition for linear and logistic regression models
decoupling

Decoupling Simulations and Estimations
discrepancyCriteria_cplus

Discrepancy measure
delsa

Distributed Evaluation of Local Sensitivity Analysis
correlRatio

Correlation Ratio
johnson

Johnson indices
parameterSets

Generate parameter sets
sensiFdiv

Sensitivity Indices based on Csiszar f-divergence
plot.support

Support index functions: Measuring the effect of input variables over their support
qosa

Quantile-oriented sensitivity analysis
morrisMultOut

Morris's Elementary Effects Screening Method for Multidimensional Outputs
pmvd

Proportional Marginal Variance Decomposition indices for linear and logistic models
pcc

Partial Correlation Coefficients
pme_knn

Data-given proportional marginal effects estimation via nearest-neighbors procedure
sb

Sequential Bifurcations
morris

Morris's Elementary Effects Screening Method
shapleysobol_knn

Data given Shapley effects estimation via nearest-neighbors procedure
shapleyLinearGaussian

Computation of the Shapley effects in the linear Gaussian framework
shapleyBlockEstimation

Computation of the Shapley effects in the Gaussian linear framework with an unknown block-diagonal covariance matrix
shapleySubsetMc

Estimation of Shapley effects from data using nearest neighbors method
sobol2002

Monte Carlo Estimation of Sobol' Indices (scheme by Saltelli 2002)
sensiHSIC

Sensitivity Indices based on the Hilbert-Schmidt Independence Criterion (HSIC)
sobol

Monte Carlo Estimation of Sobol' Indices
shapleyPermEx

Estimation of Shapley effects by examining all permutations of inputs (Agorithm of Song et al, 2016), in cases of independent or dependent inputs
sensitivity-package

Sensitivity Analysis
shapleyPermRand

Estimation of Shapley effects by random permutations of inputs (Agorithm of Song et al, 2016), in cases of independent or dependent inputs
soboljansen

Monte Carlo Estimation of Sobol' Indices (improved formulas of Jansen (1999) and Saltelli et al. (2010))
sobolGP

Kriging-based sensitivity analysis
sobolSmthSpl

Estimation of Sobol' First Order Indices with B-spline Smoothing
sobolEff

Monte Carlo Estimation of Sobol' Indices (formulas of Janon-Monod)
sobol2007

Monte Carlo Estimation of Sobol' Indices (improved formulas of Mauntz: Sobol et al. (2007) and Saltelli et al. (2010))
sobolTIIpf

Pick-freeze Estimation of Total Interaction Indices
sobolSalt

Monte Carlo Estimation of Sobol' Indices based on Saltelli schemes
sobolMultOut

Monte Carlo Estimation of Aggregated Sobol' Indices for multiple and functional outputs
sobolmara

Monte Carlo Estimation of Sobol' Indices via matrix permutations
sobolTIIlo

Liu and Owen Estimation of Total Interaction Indices
sobolroauc

Sobol' Indices estimation under inequality constraints
sobolrep

Sobol' indices estimation based on replicated orthogonal arrays
sobolrank

First-order sensitivity indices estimation via ranking
sobolshap_knn

Flexible sensitivity analysis via ranking / nearest neighbours
sobolroalhs

Sobol' Indices Estimation Using Replicated OA-based LHS
sobolmartinez

Monte Carlo Estimation of Sobol' Indices (formulas of Martinez (2011))
soboltouati

Monte Carlo Estimation of Sobol' Indices (formulas of Martinez (2011) and Touati (2016))
sobolrec

Recursive estimation of Sobol' indices
squaredIntEstim

Squared integral estimate
sobolowen

Monte Carlo Estimation of Sobol' Indices (improved formulas of Owen (2013)
testHSIC

Tests of Independence based on the Hilbert-Schmidt Independence Criterion (HSIC)
support

Support index functions: Measuring the effect of input variables over their support
weightTSA

Weight-function to transform an output variable in order to perform Target Sensitivity Analysis (TSA)
src

Standardized Regression Coefficients
truncateddistrib

Truncated distributions
testmodels

Test Models for Sensitivity Analysis
template.replace

Replace Values in a Template Text