Bootstrap test that mean equals zero
pval=test1b(x) pval=test1b(x,c) pval=test1b(x,c,b) [pval,cimean]=test1b(...) [pval,cimean,cistd]=test1b(...)
a m-by-n matrix of doubles
a 1-by-1 matrix of doubles, c in [0,1], the confidence level for the confidence intervals (default=0.95)
a 1-by-1 matrix of doubles, b>=1, the number of bootstrap samples (default=2000)
a 1-by-1 matrix of doubles, the probability that the mean is zero
a 1-by-3 matrix of doubles, the confidence interval for the mean
a 1-by-3 matrix of doubles, the confidence interval for the standard deviation
Performs the bootstrap t test for the equality of the mean to zero and computes confidence interval for the mean.
Another name for the bootstrap t is studentized bootstrap.
The confidence intervals are of the form
[LeftLimit, PointEstimate, RightLimit]