Lecture Z Test
Lecture Z Test
Lecture Z Test
There are many different hypothesis testing procedures, using one versus another will be based on the exact situation we find ourselves in.
Today we will learn the z-test. The appropriate parametric statistical procedure when there is one sample that is being compared to a population with a known mean (m) and standard deviation (s).
Overview of Statistical Hypothesis Testing Seven Steps Hypothesis testing involves a seven step procedure: 1. Stating the hypotheses 2. Determine the measurement level 3. Choose the statistical test 4. Specify a significance level and sample size 5 Compute the statistical test 6. Determine the significance of the computed value 7. Interpret and discuss the result
Overview of Statistical Hypothesis Testing Seven Steps Step 1 1. Stating the Hypotheses Hypotheses can be directional or nondirectional. The hypotheses weve just written are nondirectional in that they dont predict what the treatment is going to do, increase or decrease performance. These hypotheses will simply test whether the treated and untreated means are different. If you have a reason to believe what effect the treatment is going to have, you should use directional hypotheses.
Overview of Statistical Hypothesis Testing Seven Steps Step 2 The level of measurement of your variable determine to a large extent the statistical test you will use to test hypothesis. Parametric statistical test are generally use for interval and ratio level of measurement, while non parametric test are usually applied to nominal and ordinal types
Choose the statistical test appropriate to the test hypothesis Z test normally large data T test normally few data
Stated in words, if the probability of obtaining a sample mean from the original distribution of sample means is less than a, then we will conclude that the sample came from a different distribution of sample means. a is also known as the region of rejection. That is, if our sample mean falls in this region, we will reject the null hypothesis which states that there is no difference between the means of the treated and untreated population.
A sampling distribution for H0 showing the region of rejection for a = .05 in a 2-tailed z-test.
A sampling distribution for H0 showing the region of rejection for a = .05 in a 1-tailed z-test.
A sampling distribution for H0 showing the region of rejection for a = .05 in a 1-tailed z-test where a decrease in the mean is predicted.
If P < 0.05, the observed difference is SIGNIFICANT (Statistically) P< 0.01, sometimes termed as Highly Significant
INTERPRETATION OF SIGNIFICANCE
SIGNIFICANT
Does not necessarily mean that the observed difference is REAL or IMPORTANT. Only that it is unlikely
For Example
Some null hypotheses may be:
there is no relationship between the height of the land and the vegetation cover. there is no difference in the location of superstores and small grocers shops there is no connection between the size of farm and the type of farm
I am a dog food manufacturer, I have created new Super Vitamin Enriched Puppy Chow, specially designed for the active and growing Doberman Pincer. I want to run a commercial advertising the effectiveness of my food. I know that the average weight (m) of adult Dobermans is 35.8 kg (s = 6.2 kg) I took a sample of 10 Doberman puppies and fed them nothing but my Super Vitamin Enriched Puppy Chow. When these dogs reached adulthood, they weighed 39.7 kg on average (M). Did my Puppy Chow make them grow especially big, test with a = .05?
Statistical Hypothesis Testing z-test Example Step 2 Setting the Criteria for Decision
A very unlikely sample in this case is one which occurs less than 5% of the time by random chance. Looking in Table 1, we find that the z-score which sets off the top 5% of the distribution is 1.645. Therefore, zcrit = +1.645 This value defines my region of rejection. If my zobt falls anywhere in this region of rejection, then we will reject H0.
6.2 sX 1.961 n 10
zobt X m
sX
Statistical Hypothesis Testing z-test Example Step 4 Evaluating the Null Hypothesis
zobt > zcrit The zobt falls in the region of rejection. We will reject H0 and conclude that the Super Vitamin Enriched Puppy Chow makes Doberman Pincers grow significantly larger. I can safely go ahead with my advertising campaign!
Hypothesis Testing Large Samples 1. A random sample of 100 people in the city revealed that tennis is played, on the average, 1.2 hours per week during the summer. The population standard deviation is .4 hours for all people in the United States. Test whether this sample indicates that the number of hours tennis is played in this city differs from the national average of 1.1 hours. Use a =.01.
1. H O : m 1.1 H A : m 1.1
3. .005
.495 .495
-2.57
.005 2.57
5. Fail to reject, there is not enough evidence at the .01 level to show that the average hours are different.
.025
.025
.475 .475
-1.96 1.96
5. Reject HO at the .05 level. There is evidence that the salaries are different.
1. H O : m 18.3 H A : m 18.3
3. .025
.475 .475
-1.96
.025 1.96
5. Reject HO at the .05 level. There is evidence that the new route is different.