fn_comparedistrib
Contents
Syntax
[pval hl] = fn_comparedistrib(x,y[,test][,'tail','left|right|both']
Description
[,'showmean'][,'ylim',ylim]) Perform any of 'ranksum', 'signrank' or 'signtest' test and display the data and p-value.
Input - x,y data points; for signrank or signtest, y can be a scalar (the tested median/mean value, typically 0) - test 'ranksum' (=default if y is nonscalar) 'signrank' 'signtest' (=default if y is scalar) 'bootstrap' (test on the mean)
Source
Thomas Deneux
Copyright 2015-2017