Fixing two_sample default noise_model#140
Conversation
default noise_model in the two_sample helper function now matches the docstring and other testing methods
|
Thanks for the PR @dburkhardt! I put this as |
|
Hmm okay, I think I'm seeing the issue here. So my guess is that for cases where you're comparing two samples of scRNA-seq, "nb" is the correct noise model for the Wald test. If you're comparing two clusters, I think none of these tests will yield useful p-values because clustering introduces differences between partitions by design (https://linkinghub.elsevier.com/retrieve/pii/S2405471219302698). What do you think here? If "nb" is the correct noise model for |
|
My take on the different tests is that they represent different assumptions on the data distribution and the necessity / way of inclusion of confounding variables. I agree with this
But I would translate it to, if one choses a wald test, then "nb" is set as the default noise model. I can do that internally in the |
default noise_model in the two_sample helper function now matches the docstring and other testing methods