Signs test with mu0=0 by default (though the median is often used in practice)
Parameters: | samp : mu0 : |
---|---|
Returns: | M, p-value : where : M=(N(+) - N(-))/2, N(+) is the number of values above Mu0, : N(-) is the number of values below. Values equal to Mu0 : are discarded. : The p-value for M is calculated using the binomial distrubution : and can be intrepreted the same as for a t-test. : |
See also
scipy.stats.wilcoxon