pawn_dummy: Computation of the PAWN index of a dummy parameter

Description Usage Arguments Value References Examples

View source: R/pawn_boot.R

Description

The function computes and bootstraps the PAWN index of a dummy parameter following the approach by \insertCitePianosi2018;textualpawnr.

Usage

1
pawn_dummy(Y, n, R)

Arguments

Y

Numeric vector including the unconditional model output.

n

Integer, number of conditioning intervals.

R

Integer, number of bootstrap replicas.

Value

A matrix with the bootstrap replicas.

References

\insertAllCited

Examples

1
2
3
4
5
6
# Create matrix:
A <- randtoolbox::sobol(n = 1000, dim = 8)
# Compute model output:
Y <- sobol_Fun(A)
# Compute PAWN index of a dummy parameter:
dummy <- pawn_dummy(Y, n = 10, R = 10)

arnaldpuy/pawnr documentation built on Sept. 20, 2019, 12:15 p.m.