sobol_ci_dummy {sensobol} | R Documentation |
It computes bootstrap confidence intervals for the dummy parameter.
sobol_ci_dummy(b, type = type, conf = conf)
b |
The output of the |
type |
A vector of character strings representing
the type of intervals required. The value should be any subset
of the values |
conf |
A scalar or vector containing the confidence level(s) of the required interval(s). |
A data table.
# 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)