comparison scripts/statistics/tests/chisquare_test_independence.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 34f96dd5441b
comparison
equal deleted inserted replaced
5427:a92afe70fb8d 5428:2a16423e4aa0
28 ## test is returned in @var{pval}. 28 ## test is returned in @var{pval}.
29 ## 29 ##
30 ## If no output argument is given, the p-value is displayed. 30 ## If no output argument is given, the p-value is displayed.
31 ## @end deftypefn 31 ## @end deftypefn
32 32
33 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 33 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
34 ## Description: Chi-square test for independence 34 ## Description: Chi-square test for independence
35 35
36 function [pval, chisq, df] = chisquare_test_independence (X) 36 function [pval, chisq, df] = chisquare_test_independence (X)
37 37
38 if (nargin != 1) 38 if (nargin != 1)