sobol_ci_dummy {sensobol}R Documentation

Bootstrap confidence intervals for the dummy parameter

Description

It computes bootstrap confidence intervals for the dummy parameter.

Usage

sobol_ci_dummy(b, type = type, conf = conf)

Arguments

b

The output of the sobol_dummy function.

type

A vector of character strings representing the type of intervals required. The value should be any subset of the values c("norm", "basic", "perc", "bca"). For more information, check the function boot.ci.

conf

A scalar or vector containing the confidence level(s) of the required interval(s).

Value

A data table.

See Also

boot, boot.ci.

Examples

# Define settings:
n <- 100; k <- 8; R <- 10
# Design the sample matrix:
A <- sobol_matrices(n = n, k = k, second = TRUE, third = TRUE)
# Compute the model output:
Y <- sobol_Fun(A)
# Compute the Sobol' indices for the dummy parameter:
s.dummy <- sobol_dummy(Y = Y, params = colnames(data.frame(A)), R = R, n = n)
# Compute the confidence intervals for the dummy parameter:
sobol_ci_dummy(s.dummy, type = "norm", conf = 0.95)

[Package sensobol version 0.2.2 Index]