Skip to content

Group analysis support - #358

Closed
ConnectedSystems wants to merge 14 commits into
SALib:experimental-methodsfrom
ConnectedSystems:group_printing
Closed

ConnectedSystems wants to merge 14 commits into
SALib:experimental-methodsfrom
ConnectedSystems:group_printing

Conversation

@ConnectedSystems

@ConnectedSystems ConnectedSystems commented Sep 18, 2020 •

Copy link
Copy Markdown
Member

Support analysis of parameter groups, or raise warning when they are not supported.

The method implemented just generalizes the existing approach for Morris - averaging the effect across group members.

With apologies to @lbteixeira for replacing the recently added _compute_grouped_metric()

DGSM and HDMR implementations were a little over my head so could not adjust the code to allow group analysis at this time (perhaps @sahin-abdullah or @lbteixeira would be willing to help here?).

@ConnectedSystems
ConnectedSystems marked this pull request as draft September 18, 2020 12:03
@lbteixeira

Copy link
Copy Markdown

Hello, @ConnectedSystems.

Sure, it would be great to help, but this week I'm a little too busy with my PhD thesis. I can work on this in about 1 week, if it's not too late.

@ConnectedSystems

Copy link
Copy Markdown
Member Author

Thanks, @lbteixeira

There's no deadline and so. no rush. I'll come back to this myself in a week or so as well.

@willu47

willu47 commented Jul 10, 2023

Copy link
Copy Markdown
Member

One thing to consider with grouping approaches is that you can get cancellation effects. Morris uses an average of absolute elementary effect when computing sensitivity indices for groups, rather than the average.

For example with two parameters in one group, if one parameter has a strong positive effect, and another a strong negative effect, these will cancel out when averaged and the group will seem to have a negligible effect.

ConnectedSystems added a commit that referenced this pull request Oct 30, 2026
Port of PR #358 changes onto current main: per-variable indices are averaged per group via a shared util._group_metric helper, with results labeled by group names. FF and (legacy) HDMR warn when groups are provided. Morris now delegates its grouped-metric helper to the shared implementation. Supersedes PR #358.
@ConnectedSystems

Copy link
Copy Markdown
Member Author

Closing in favour of #707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants