JuliaStats / HypothesisTests.jl

Hypothesis tests for Julia
Other
295 stars 87 forks source link

More confidence intervals #8

Open simonster opened 10 years ago

simonster commented 10 years ago

At the moment we only have confidence intervals for the t-test and binomial test. We should also have confidence intervals for:

BigCrunsh commented 10 years ago

I am thinking about a confidence interval for the sign test. Currently, there are actually two sign tests, one for testing the median of a distribution and a paired one that tests the hypothesis that the difference median is zero. In the first case, I would expect something like

x = [-4.7,3.7,22.4,13.6,8.7,9.1,-7.8,10.8,15.6,23.5,14.4,20.2,6.5,10.1,-6.9]
ci(SignTest(x, 0.0), 0.05)
>> (3.7, 15.6) # confidence of 96.5%

But what output do you expect for the paired test?

simonster commented 10 years ago

For the paired test, I think you'd give a confidence interval for the median of the difference.

bdeonovic commented 9 years ago

Just want to point out we also have confidence intervals for multinomial proportions (PowerDivergenceTest)

rawls238 commented 8 years ago

happy to take this on unless it's already been completed

rawls238 commented 8 years ago

Signed rank test is done now, Mann Whitney U test is still uncompleted though