Solved – Non-parametric equivalent of the 1-sample t-test (not paired)

nonparametrict-testwilcoxon-mann-whitney-testwilcoxon-signed-rank

I have a sample of outcomes of my algorithm and would like to test to some degree of confidence if it differs from zero.

I know I can use a 1-sample t-test (as in https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_1samp.html), but I am wondering: does a non-parametric analogue exists?

I seem to understand that Mann Whitney U and Wilcoxon signed rank both work on 2 samples. Is this the case?

(questions are in bold)

Thanks in advance for any help 🙂

Best Answer

Wilcoxon test has two flavors: one sample test (known as Wilcoxon signed rank test, and can be applied either on one sample or on the difference between two paired samples) and two-sample test (known as Mann-Whitney test). So you can use one sample test version of it. In R you can check wilcox.test and letting only x parameter to have values.