Skip to content

Comparisons to known null distributions currently difficult #3

Open

Description

@cdowd

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.

Activity

  1. cdowd commented on Jan 13, 2020

    @cdowd
    OwnerAuthor

    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.

  2. cdowd commented on Jan 13, 2020

    @cdowd
    OwnerAuthor

    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)

  3. cdowd commented on May 14, 2020

    @cdowd
    OwnerAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions