Description Usage Arguments Details Value Author(s) References See Also Examples
Function which compute the marginal and component sensitivity of the composite index
1 2 | ## S3 method for class 'compind'
sensitivity(input, weights, covmethod = c("standard", "robust"))
|
input |
calculated composite index: output of the function |
weights |
vector of weights. |
covmethod |
method for computing the covariance. Default: |
Sensitivity is defined as Sigma * w / (w' * Sigma * w)^1/2.
A list with the following components:
sensitivity
: vector of marginal sensitivities.
component
: vector of component sensitivities.
Sigma
: covariance matrix of normalized data.
David Ardia, Kris Boudt, Valentin Todorov and Keshav Pratap
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.
compind
for computing the Composite index and compare.compind
for comparison of Composite Indices.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.