9. Hypothesis Testing
9.4 z-Test for Proportions
The possible hypothesis pairs are :
Two-tailed Test | Right-tailed Test | Left-tailed Test |
The steps in hypothesis testing for proportions are the same as hypothesis testing for means. Even the generic test statistic formula is the similar :
but now the observed and expected values are proportions, and respectively. The standard error in this case is
Using this information with the generic form, which mimics a test statistic, the proportions test statistic is
where is the number which appears in the hypothesis statement (see table above). This test statistic is valid only if and (so that the normal distribution provides a good approximation for the relevant binomial distribution). But, even though the test statistic can be moulded into the generic form, the proportions test statistic comes from the sampling theory given by the binomial distributions and not from any distribution that has a standard error {\em per se}. The normal distribution with and (remember those binomial distribution formulae?) -transformed to a -distribution with mean 0 and standard deviation 1 gives the test statistic formula. See the discussion in Section 8.4.
Example 9.5 : An attorney claims that more than 25 of all lawyers advertise. A sample of 200 lawyers in a certain city showed that 63 had used some form of advertising. At , is there enough evidence to support the attorney’s claim?
Solution :
1. Hypotheses.
, (claim)
2. Critical statistic.
Using the t Distribution Table (last line) for a one tailed test at we find
3. Test statistic.
So using
find
We can also find the value along with the critical statistic. (See the picture for the next step.) Use the Standard Normal Distribution Table to find
4. Decision.
Refer to the diagram in Figure 9.4. It shows in the rejection region. So we reject .
We come, of course, to the same decision by considering the -value :
5. Interpretation.
There is enough evidence, using a -test at , to support the claim that more than of the lawyers use some form of advertising.
▢