-
Notifications
You must be signed in to change notification settings - Fork 5
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
stat_surrogateStats calculates right-tailed p-values, even for statTest.tail='left' #2
Comments
The solution would thus be to disable |
That's one possibility, but I'm currently thinking about implementing it instead. |
Yes, would be great if you can implement.
Cheers,
Arno
… On Feb 24, 2021, at 8:20 AM, Tristan Stenner ***@***.***> wrote:
That's one possibility, but I'm currently thinking about implementing it instead.
Would be easier if Matlab had a binary search built in, but I'll manage without it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Tristan, thanks for this catch - I don't have the code in front of me, but
if it doesn't have the left-tailed test and you feel up to adding/fixing
that and submitting a PR (should be a one line change for the new case)
that will be much appreciated!
I believe you also had some other bug fixes - want to add those as PRs too?
Thanks!
Tim
On Wed, Feb 24, 2021 at 10:24 AM Arnaud Delorme <[email protected]>
wrote:
… Yes, would be great if you can implement.
Cheers,
Arno
> On Feb 24, 2021, at 8:20 AM, Tristan Stenner ***@***.***>
wrote:
>
>
> That's one possibility, but I'm currently thinking about implementing it
instead.
> Would be easier if Matlab had a binary search built in, but I'll manage
without it.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5LRG5QBXCON5C4WXBOC43TAU75DANCNFSM4YENQ5EQ>
.
|
As far as I can see, the SIFT function is functionally identical to the one in |
stat_surrogateStats
forwards thestatTest.tail
parameter tostat_surrogate_pvals
which does a two-tailed test whenstatTest.tail
isboth
and a right-tailed test for all other inputs.Despite this,
stat_surrogateStats
printseven though the p values are for a right sided test.
The text was updated successfully, but these errors were encountered: