Wilcoxon

From Eigenvector Research Documentation Wiki
Revision as of 16:05, 27 September 2011 by imported>Scott (Created page with "===Purpose=== Pairwise Wilcoxon signed rank test for evaluating residuals from two models. ===Synopsis=== :prob = wilcoxon(err_1,err_2) ===Description=== Pairwise comparis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Pairwise Wilcoxon signed rank test for evaluating residuals from two models.


Synopsis

prob = wilcoxon(err_1,err_2)


Description

Pairwise comparison between two sets of model residuals using the sign and magnitude of residuals from two models. Output is the probability that model 2 (the model producing the second set of residuals) is better than model 1 (the model that produces the first set of residuals).

Inputs

  • err_1 = Prediction errors from model #1
  • err_2 = Prediction errors from model #2


Outputs

  • prob = Prob{# of times model#2 wins <=k} Probability that model#2 is better than model#1.


See Also

crossval, randomttest, wilcoxon