A generalization of the Wilcoxon rank-sum test where a score function is applied to the ranks. Any scores from Rfit can be used as well as user defined. Default is to perform a Wilcoxon analysis.

1 2 |

`x` |
m x 1 vector |

`y` |
n x 1 vector |

`alternative` |
one of 'two.sided', 'less', or 'greater' |

`scores` |
an object of class scores |

`conf.int` |
logical indicating if a confidence interval should be estimated |

`conf.level` |
desired level of confidence for interval |

Test is based on T = sum_i a(R(y_i)) where R is the rank based on the combined sample and a(t) = varphi(t/(N+1)). Confidence interval, if requested, is based on call to Rfit.

`statistic` |
Standardized value of test statistics |

`Sphi` |
Test statistic |

`p.value` |
p-value |

`conf.int` |
confidence interval for shift in location |

`estimate` |
point estimate for shift in location |

John Kloke kloke@biostat.wisc.edu, Joseph McKean

Hettmansperger, T.P. and McKean J.W. (2011), *Robust Nonparametric Statistical Methods, 2nd ed.*, New York: Chapman-Hall.

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.