fn_bootstrap
Contents
Syntax
p = fn_bootstrap(a,b[,mode][,'tail','left|right|both'][,'nperm',npermmax])
Description
Bootstrap test of the equality between the mean (or median) of two empirical distributions (by permuting the distribution assignments), or simpler test that a distribution is symmetric over zero (by randomly altering the sign of samples and checking either the mean or the median)
Input: - a, b vectors or array (repeat comparisons accross columns) - distributions to be compared (leave b empty for single distribution) - mode 'mean' (default) or 'median' - tail 'both' (default), 'left' or 'right' - npermmax maximum number of permutation [default: 2e5]
This syntax is not definitive!!!
Source
Thomas Deneux
Copyright 2015-2017