summaryrefslogtreecommitdiff
path: root/331/DEPENDENCIES/Chi_test.sci
diff options
context:
space:
mode:
Diffstat (limited to '331/DEPENDENCIES/Chi_test.sci')
-rwxr-xr-x331/DEPENDENCIES/Chi_test.sci12
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