summaryrefslogtreecommitdiff
path: root/331/DEPENDENCIES/stand_students_t_distri.sci
diff options
context:
space:
mode:
Diffstat (limited to '331/DEPENDENCIES/stand_students_t_distri.sci')
-rwxr-xr-x331/DEPENDENCIES/stand_students_t_distri.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/331/DEPENDENCIES/stand_students_t_distri.sci b/331/DEPENDENCIES/stand_students_t_distri.sci
new file mode 100755
index 000000000..2173a656b
--- /dev/null
+++ b/331/DEPENDENCIES/stand_students_t_distri.sci
@@ -0,0 +1,9 @@
+function [t_alpha] = stand_students_t_distri(alpha)
+ if (alpha ==0.05) then
+ t_alpha = 1.711;
+ elseif (alpha==0.01) then
+ t_alpha = 2.602;
+ elseif (alpha==0.025) then
+ t_alpha = 2.064;
+ end
+endfunction \ No newline at end of file