//One-tailed Tests Concerning Single Mean //(When the variance of the Population is Known and the Population is infinite) //Example8.2 //Page233 //Test2: Ho:u>=k; H1:u Z_alpha)then disp('It falls in the Rejection Region') disp('Then Null Hypothesis Ho should be Rejected') end elseif (Test==2) then if (Zx >- Z_alpha) then disp('It falls in the Acceptance Region') disp('Then Null Hypothesis Ho should be Accepted') elseif (Zx <- Z_alpha) then disp('It falls in the Rejection Region') disp('Then Null Hypothesis Ho should be Rejected') end end //Result //Enter the Population Mean 12 //Enter the Populaion variance 16 //Enter the Sample Size 36 //Enter the Sample Mean 10.5 //Enter the significance level 0.05 //Enter the Type of test 2 // // calculated Normal Z-statistic = - 2.25 // // Standard Normal Stastistic= 1.64 // // It falls in the Rejection Region // // Then Null Hypothesis Ho should be Rejected