Learn R Programming

Sobol4R (version 0.4.0)

sobol_example_g_deterministic: Example 1: Deterministic G-function (reference case)

Description

Reproduces the classical non-random Sobol analysis on the G-function with k = 8 inputs on [0, 1].

Usage

sobol_example_g_deterministic(
  n = 50000,
  a = c(0, 1, 4.5, 9, 99, 99, 99, 99),
  order = 2,
  nboot = 100
)

Value

An object of class "sobol".

Arguments

n

Monte Carlo sample size for each base design.

a

Parameter vector for the G-function.

order

Maximum interaction order for Sobol indices.

nboot

Number of bootstrap replicates.