comparison scripts/statistics/tests/t_test_2.m @ 5428:2a16423e4aa0

[project @ 2005-08-23 18:38:27 by jwe]
author jwe
date Tue, 23 Aug 2005 18:38:28 +0000
parents 4c8a2e4e0717
children ec8c33dcd1bf
comparison
equal deleted inserted replaced
5427:a92afe70fb8d 5428:2a16423e4aa0
37 ## The p-value of the test is returned in @var{pval}. 37 ## The p-value of the test is returned in @var{pval}.
38 ## 38 ##
39 ## If no output argument is given, the p-value of the test is displayed. 39 ## If no output argument is given, the p-value of the test is displayed.
40 ## @end deftypefn 40 ## @end deftypefn
41 41
42 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 42 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
43 ## Description: Student's two-sample t test 43 ## Description: Student's two-sample t test
44 44
45 function [pval, t, df] = t_test_2 (x, y, alt) 45 function [pval, t, df] = t_test_2 (x, y, alt)
46 46
47 if ((nargin < 2) || (nargin > 3)) 47 if ((nargin < 2) || (nargin > 3))