Skip to content
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

Comparisons to known null distributions currently difficult #3

Open
cdowd opened this issue Dec 10, 2019 · 3 comments
Open

Comparisons to known null distributions currently difficult #3

cdowd opened this issue Dec 10, 2019 · 3 comments

Comments

@cdowd
Copy link
Owner

cdowd commented Dec 10, 2019

Is this worth building?

The difference between just sampling from a known null and this is that we can gain power by comparing samples from the null against themselves.

@cdowd
Copy link
Owner Author

cdowd commented Jan 13, 2020

Could just add a flag which allows all resampling to be from the left sample. Not quite the same as sampling from a distribution, but with a big left sample from a distribution, its difference is negligible. null = c("joint","left") rewrite joint to be left only when needed. Its one flag.

Could build a flag that can take a function input (i.e. rnorm) as well, but then I need to test that input. And build in the mean shift ability... seems like a pain.

@cdowd
Copy link
Owner Author

cdowd commented Jan 13, 2020

Okay, even the easy one is a bit more than that, because I've not been sampling with replacement, and I've been keeping the exact joint sample nearly fixed (with implications for plot defaults at the moment too)

@cdowd
Copy link
Owner Author

cdowd commented May 14, 2020

Easy version (simple flag) is worth doing. It is tremendous functionality -- comparing to a known null is a common problem, at relatively low cost. It is of course, not the 'two sample problem', but it is valuable. May be speed gains to consider here too. presorting the left sample should speed the internal sort?

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

No branches or pull requests

1 participant