summaryrefslogtreecommitdiff
path: root/291/CH11/EX11.6a/eg11_6a.sce
diff options
context:
space:
mode:
Diffstat (limited to '291/CH11/EX11.6a/eg11_6a.sce')
-rwxr-xr-x291/CH11/EX11.6a/eg11_6a.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/291/CH11/EX11.6a/eg11_6a.sce b/291/CH11/EX11.6a/eg11_6a.sce
new file mode 100755
index 000000000..cd2bc29b0
--- /dev/null
+++ b/291/CH11/EX11.6a/eg11_6a.sce
@@ -0,0 +1,11 @@
+X= [66 72 81 94 112 116 124 140 145 155];
+D= 0.4831487;
+n= 10;
+Dgiven = 1.480;
+Dstar = (sqrt(n) + 0.12 + (0.11/sqrt(n)))*D;
+disp(Dstar, "Dstar is ");
+if(Dstar>Dgiven)
+ disp("Null hypothesis is rejected at 2.5% level of significance")
+else
+ disp("Null hypothesis is accepted at 2.5% level of significance")
+end \ No newline at end of file