Is your feature request related to a problem? Please describe.
To construct a confidence interval for phased-randomized correlations, it would be helpful for a Corr object to provide the simulated r significance value, i.e. the surrogate r value which exceeds the provided alpha significance level.
Describe the solution you'd like.
The corr object would contain an additional item e.g. signif_r, the significant value of r calculated from the distribution of r surrogates. [I don't think that it would be necessary to output the full distribution of r surrogates].
The usual terminology for this is "critical value", r_crit, and I'll try to implement that today. It's trivial but I just need to find the time and make a new unit test.
Is your feature request related to a problem? Please describe. To construct a confidence interval for phased-randomized correlations, it would be helpful for a
Corr
object to provide the simulated r significance value, i.e. the surrogate r value which exceeds the providedalpha
significance level.Describe the solution you'd like. The corr object would contain an additional item e.g.
signif_r
, the significant value of r calculated from the distribution of r surrogates. [I don't think that it would be necessary to output the full distribution of r surrogates].Additional context. Please see discussion https://github.com/LinkedEarth/Pyleoclim_util/discussions/622.