Thanks to visit codestin.com
Credit goes to github.com

Skip to content

One-sided alternatives of stat functions? #7

@sircosine

Description

@sircosine

Hi,

I wonder if it would be useful to add an option for one-sided statistics functions? That would be similar in spirit to the alternative param of the t.test function, with the two.sided option being the default.

There are about half a dozen places in the code where the sign of the difference between two CDFs is corrected:

    if (height < 0.0) {
      height = -1.0*height;
    }

whereas In the one-sided alternative the negative height would be simply set to zero.

Any thoughts?

Thanks!

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