diff options
Diffstat (limited to '331/DEPENDENCIES/Chi_test.sci')
-rwxr-xr-x | 331/DEPENDENCIES/Chi_test.sci | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/331/DEPENDENCIES/Chi_test.sci b/331/DEPENDENCIES/Chi_test.sci new file mode 100755 index 000000000..e5a82775c --- /dev/null +++ b/331/DEPENDENCIES/Chi_test.sci @@ -0,0 +1,12 @@ +function [Chi]= Chi_test(Alpha,Test)
+ if Alpha ==0.05 then
+ if (Test==1 |Test==2) then
+ Chi = 19.675
+ else
+ Chi = [4.575,19.675]
+ end
+
+ elseif Alpha ==0.01
+ Chi = 1.239;
+ end
+endfunction
\ No newline at end of file |