lesson24-z test for means

Download Report

Transcript lesson24-z test for means

Aim: How and when do we
perform a z test?
HW#8: complete last 2 slides
T test vs. Z test
• Z test is used for the mean of a large sample
• T test is used for the mean of a small sample
• Many hypotheses are tested using a statistical
test based on the following general formula:
Test Value = (observed value)-(expected value)
standard error
Observed vs. Expected Values
• The observed value is the statistic that is
computed for the sample (such as the mean)
• The expected value is the parameter that one
would expect to obtain of the null hypothesis
were true; in other words, the hypothesized
value.
• The standard error of the statistic being test
(standard error of the mean)
Z Test
• The z test is a statistical test for the mean of a
population. It can be used when n  30, or
when the population is normally distributed
and the standard deviation is known.
• The formula for the z test is:
z
X 

n
X  sample.mean
  hypothesized . population.mean
  population.s tan dard .deviation
n  sample.size
Values of z test
• For the z test, the observed value is the value
of the sample mean
• The expected value is the value of the
population mean, assuming that the null
hypothesis is true
• The denominator is the standard error of the
mean
5 Steps to solving hypothesis-testing
1.
2.
3.
4.
State the hypotheses and identify the claim
Find the critical value(s)
Compute the test value
Make the decision to reject or not reject the
null hypothesis
5. Summarize results
Example
•
A researcher reports that average salary of assistant professors is more than $42,000. A sample of
30 assistant professors has a mean salary of $43,260. At α = 0.05, test the claim that assistant
professors earn more than $42,000 a year. The standard deviation of the population is $5230.
– Solution:
H 0 :   $42000
1. state the hypotheses and identify the claim
H1 :   $42000(claim)
2. Find the critical value
- it is a right tailed test with α = 0.05; therefore the critical value is z = 1.65
3. Compute the test value:
z
X 


43260  42000
 1.32
5230
30
n
4. Make the decision.
- Since the test value is 1.32 and is less than the critical value 1.65, and is not in the critical
region, the decision is not to reject the null hypothesis.
5. Summarize the results:
- There is not enough evidence to support the claim that assistant professors earn more
than $42,000 a year.
Homework
1. A researcher claims that the average cost of men’s athletic
shoe is less than $80. He selects a random sample of 36
pairs of shoes from a catalog and finds the following costs
(in dollars). Is there enough evidence to support the
researcher’s claim at α = .10?
60
70
75
55
80
55
50
40
80
70
50
95
120
90
75
85
80
60
110
65
80
85
45
85
75
60
90
90
60
95
110
85
45
90
70
70
Homework
2. The Medical Rehabilitation Education Foundation
reports that the average costs of rehabilitation
for stroke victims is $24,672. To see if the average
cost of rehabilitation is different at a particular
hospital, a researcher selects a random sample of
35 stroke victims at the hospital and finds the
average cost of the rehabilitation is $25,226. The
standard deviation of the population is $3251. At
α = .01, can it be concluded that the average cost
of stroke rehabilitation at a particular hospital is
different from $24, 672?