MATLAB: Is there a corrected version of the help entry for the TTEST function in the Statistics Toolbox

docenhancementMATLABttest

When I type
help ttest
it gives me the following information in the second sentence:
[H,P,CI,STATS] = TTEST(X,M,ALPHA,TAIL) performs a T-test to determine
if a sample from a normal distribution (in X) could have mean M.
This should be:
[H,P,CI,STATS] = TTEST(X,M,ALPHA,TAIL) performs a T-test to determine if a normal distribution could have mean M, given the sample X.

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
The help should begin:
H = TTEST(X) performs a T-test of the hypothesis that the data in the vector X come from a distribution with mean zero, and returns the result of the test in H.