Skip to content

Sum of Sobol indices in the case of orthogonal inputs #46

@moesphere

Description

@moesphere

In the case of orthogonal inputs, the sum over all Sobol indices should be equal to 1. Currently, this is not the case.
MWE, where the second-order Sobol indices already exceed 1 considerably:

using GlobalSensitivity, QuasiMonteCarlo

function ishi(X)
    A= 7
    B= 0.1
    sin(X[1]) + A*sin(X[2])^2+ B*X[3]^4 *sin(X[1])
end

n = 600000
lb = -ones(4)*π
ub = ones(4)*π
sampler = SobolSample()
A,B = QuasiMonteCarlo.generate_design_matrices(n,lb,ub,sampler)

res1 = gsa(ishi,Sobol(order=[0,1,2]),A,B)

For a more thorough discussion, see this thread on julia discourse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions