get_main_and_total_effect_indices_from_pce¶
-
pyapprox.sensitivity_analysis.
get_main_and_total_effect_indices_from_pce
(coefficients, indices)[source]¶ Assume basis is orthonormal Assume first coefficient is the coefficient of the constant basis. Remove this assumption by extracting array index of constant term from indices
- Returns
- main_effectsnp.ndarray(num_vars)
Contribution to variance of each variable acting alone
- total_effectsnp.ndarray(num_vars)
Contribution to variance of each variable acting alone or with other variables