summaryrefslogtreecommitdiff
path: root/260/CH6/EX6.14/6_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '260/CH6/EX6.14/6_14.sce')
-rw-r--r--260/CH6/EX6.14/6_14.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/260/CH6/EX6.14/6_14.sce b/260/CH6/EX6.14/6_14.sce
new file mode 100644
index 000000000..1af8f9ff7
--- /dev/null
+++ b/260/CH6/EX6.14/6_14.sce
@@ -0,0 +1,21 @@
+//Eg-6.14
+//pg-304
+
+clear
+clc
+
+//mean and standard deviation are given as
+x=1.011;
+s=.108;
+
+n=500;
+a=1;
+
+d=(x-a)/(s/n^.5);
+if d<=1.96 & d>=-1.96 then
+ disp("null hypothesis :Ho:u=1mm is accepted")
+else
+ disp("the value of d lies outside range.Therefore we will reject HO at 0.05 level of significance")
+end
+
+