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!
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
alternativeparam of thet.testfunction, with thetwo.sidedoption being the default.There are about half a dozen places in the code where the sign of the difference between two CDFs is corrected:
whereas In the one-sided alternative the negative
heightwould be simply set to zero.Any thoughts?
Thanks!