comparison scripts/statistics/tests/var_test.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
36 ## The p-value of the test is returned in @var{pval}. 36 ## The p-value of the test is returned in @var{pval}.
37 ## 37 ##
38 ## If no output argument is given, the p-value of the test is displayed. 38 ## If no output argument is given, the p-value of the test is displayed.
39 ## @end deftypefn 39 ## @end deftypefn
40 40
41 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 41 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
42 ## Description: F test to compare two variances 42 ## Description: F test to compare two variances
43 43
44 function [pval, f, df_num, df_den] = var_test (x, y, alt) 44 function [pval, f, df_num, df_den] = var_test (x, y, alt)
45 45
46 if ((nargin < 2) || (nargin > 3)) 46 if ((nargin < 2) || (nargin > 3))