Stixbox Function
Last update : 21/4/2006
test2n - Tests and confidence intervals based on two normal samples with common variance
Calling Sequence
- [pval, cimean, cisigma] = test2n(x,y,cl)
Parameters
-
x,y : samples (column vectors)
-
cl : confidence level for the confidence intervals (default 0.95).
-
pval : 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.
-
cimean : confidence interval for the difference of means.
-
cisigma : confidence interval for the standard deviation. (Confidence intervals of the form [LeftLimit, PointEstimate, RightLimit]).
Description
Tests and confidence intervals based on two normal samples with common
variance.