Test that mean equals zero (Normal)
pval=test1n(x) pval=test1n(x,c) [pval,cimean]=test1n(...) [pval,cimean,cistd]=test1n(...)
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, probability that Student variate based on x is as far from 0 as it is actually, or further away under hypothesis that theoretical mean is 0.
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
Assume that the sample is normal, test and compute confidence intervals.
The confidence intervals are of the form
[LeftLimit, PointEstimate, RightLimit]