sensitivity.compind: Sensitivity analysis of the composite index

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/sensitivity.R

Description

Function which compute the marginal and component sensitivity of the composite index

Usage

1
2
## S3 method for class 'compind'
sensitivity(input, weights, covmethod = c("standard", "robust"))

Arguments

input

calculated composite index: output of the function compind

weights

vector of weights.

covmethod

method for computing the covariance. Default: covmethod = 'standard'.

Details

Sensitivity is defined as Sigma * w / (w' * Sigma * w)^1/2.

Value

A list with the following components:

sensitivity: vector of marginal sensitivities.

component: vector of component sensitivities.

Sigma: covariance matrix of normalized data.

Author(s)

David Ardia, Kris Boudt, Valentin Todorov and Keshav Pratap

References

Saisana, M., Saltelli, A., Tarantola, S. (2005) Uncertainty and sensitivity analysis techniques as tools for the quality assessment of composite indicators. Journal of Royal Statistical Society 168, pp.307-323.

See Also

compind for computing the Composite index and compare.compind for comparison of Composite Indices.

Examples

1
2
3
4
5
6
7
8
  # load data
  data(cip)
  # compute Composite index (eight-indicators linear) for a range of years
  index_cip = compind(country~., time="year", for.period = 2005:2010, data=cip, ctr=ProcessControl(weights=c("fixed", 1/6, 1/6, 1/12, 1/12, 1/12, 1/12, 1/6, 1/6), aggregation="linear"))
  # compute sensitivity
  weights = c(1/6,1/6,0,0,1/6,1/6,0,1/3)
  out = sensitivity(index_cip,weights)
  print(out)

CItools documentation built on May 2, 2019, 4:48 p.m.