SAS-arithmetics.pdf
Module10: Hypothesis Testing Given a dataset of nitrate concentration of an specific well, we want to know whether the concentration: a)equals.15 b)is greater than 0.15 c)is less than 0.15 The MEANS procedure always test the null hypothesis: H0: µ =0 vs: a)Ha: µ ≠0 b)Ha: µ >0 c)Ha: µ<0
Graphical Representation H0: µ=0 The smaller the p-value the more likely we are to reject this null hypothesis.
Steps to solve the problem 1.Define a new variable that reflects the hypothesis to be tested TEST_NITRATE=NITRATE-0.15; In this way our null hypothesis will stay as H0: µ=0 2.Use the MEANS procedure using the PROBT option which gives the p-value needed to make our decision. This p-value corresponds to the T-test statistics. 3.For a): If the p-value 0 and p-value/2 <0.05 the we reject H0. Otherwise we fail to reject or “accept”. For c) If mean<0 and p-value/2 <0.05 the we reject H0. Otherwise we fail to reject or “accept”. a)Ha: µ ≠0 b)Ha: µ >0 c)Ha: µ<0
How much have we covered? We have only covered a very small portion of this statistical software program, here is a list of a more comprehensive components of SAS: Base SAS BI Dashboard Data Integration Studio SAS Enterprise Business Intelligence Server Enterprise Computing Offer (ECO) Enterprise Guide Enterprise Miner Information Delivery Portal Information Map Studio OLAP Cube Studio SAS Web OLAP Viewer for Java SAS Web OLAP Viewer for.NET … and many more