Tests two normal samples with equal variance
pval=test2n(x,y) pval=test2n(x,y,c) [pval,cimean]=test2n(...) [pval,cimean,cisigma]=test2n(...)
a n-by-1 matrix of doubles
a n-by-1 matrix of doubles
a 1-by-1 matrix of doubles, the confidence level for the confidence intervals (default 0.95).
a 1-by-1 matrix of doubles, the probability that Student statistic based on x and y is as far from 0 as it is actually, or further away under hypothesis that theoretical means are equal.
a 1-by-3 matrix of doubles, the confidence interval for the difference of means.
a 1-by-3 matrix of doubles, the confidence interval for the standard deviation.
Tests and confidence intervals based on two normal samples with equal variance.
The confidence intervals are of the form
[LeftLimit, PointEstimate, RightLimit]