-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate values in sample.saltelli #622
Comments
Hi 👋 thanks for reporting. Do you have an example to show maybe? Duplicates on some axis are normal because the Saltelli sampling is constructed like that, you have two independent matrices A and B, then combine these to have AB and BA. The combination is just a permutation of columns so looking at a single axis of the whole sample would have a lot of duplicates. But each sample should be unique. |
I see. It's because you have just 2 parameters and are asking for second order indices. We don't prevent people from asking that, but it does not make much sense to try compute that. Like @ConnectedSystems unless I missed something, maybe we should add a check? |
I hadn't realized that the sampling would change when requesting second-order indices. |
A check would be good. I'll earmark some time to implement. |
Hello,
I am conducting a sensitivity analysis on watershed parameters using Sobol's method in hydrological modeling. For this purpose, I have been utilizing the 'SALib.analyze.sobol()' function along with the sample generation functions 'SALib.sample.saltelli()' and 'SALib.sample.sobol()'.
While generating parameter values with these functions, I noticed a significant number of duplicate entries in param_values—approximately one-third of the total Y.size. I attempted to adjust the skip_values parameter, but the issue persists.
Could you please provide insights into why these duplicate values might be occurring? Additionally, how might these duplicates impact the validity and accuracy of the sensitivity analysis?
Thank you in advance!
The text was updated successfully, but these errors were encountered: