Displaying 1 result from an estimated 1 matches for "p_value_manu".
Did you mean:
p_value_manual
2010 Aug 17
3
Weird differing results when using the Wilcoxon-test
...score/-
statistic ist calculated using the normal-approximation with the Z-score.
However, when I do that, I get a different result than what I would expect.
Because I would expect the p-value of wilcox.test to be equal to
2*pnorm(Z_big), which is in fact _not_ equal. Please see:
#---BeginCode---
p_value_manual = 2 * pnorm(Z_big)
print("--- Resulting pvalues --- ", quote=F)
print(paste("Wilcox approx p-value:", wilcox_approx$p.value), quote=F)
print(paste("Wilcox exact p-value:", pvalue(wilcox_exact)), quote=F)
print(paste("P-value manual:", p_value_manual), quot...