Skip to content

Fix case where var_pooled contains zeros#21

Open
tom-osika wants to merge 1 commit into
Jfortin1:masterfrom
tom-osika:var_pooled_fix
Open

Fix case where var_pooled contains zeros#21
tom-osika wants to merge 1 commit into
Jfortin1:masterfrom
tom-osika:var_pooled_fix

Conversation

@tom-osika

Copy link
Copy Markdown

Hi @Jfortin1

Thanks for providing this python package, this has been incredibly useful for some research I'm doing currently.

When adjusting the values of the var_pooled array that are zero, I think it was meant to take the median of the nonzero values of the array, not the median of the intermediate binary array (which would either be 0 or 1).

Let me know if this change is correct, I haven't studied the code extremely in-depth.

Thanks again,
Tom

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant