Академический Документы
Профессиональный Документы
Культура Документы
< = <
<
<
=
Quality control at
McDonalds
The critical region can be written as
Note: Choice of significance level matters!
Suppose =0.01, the new critical region is
Z <-2.33
or in terms of a sample mean, cutoff is 0.2267 rather 0.2336
Does it make sense that the two critical values are less than
before when =0.05?
Thus, case (b) with sample mean of 0.23 would now not lead to
rejection of the null hypothesis
11
n
X
Z z Z
/
25 . 0
where , if H Reject
0
= <
12
One or two tail tests?
Quality control at McDonalds
What are null & alternative hypotheses from
McDonalds perspective?
It is expected that you will spend at least ten
hours per week studying this course.
What are null & alternative hypotheses here from
lecturers perspective?
One or two tail tests?
What if we want to test H
0
: =
0
vs H
1
: >
0
13
One or two tail tests?
What if we want to test H
0
: =
0
vs H
1
:
0
14
Procedure for solving
hypothesis testing problems
1. State the hypotheses
The claim that we are looking for evidence in data to
support should be stated as the alternative
hypothesis
2. Find the critical value(s)
Depend on the significant level
3. Compute the test statistic
4. Make the decision to reject or not reject the null
hypothesis
5. Summarize the results
15
16
Skills test
Human Resources (HR) for a company has
conducted skills tests for some time
Past experience indicates test scores (out of 10) for
job applicants are X~N(6.6, 1)
A new skills course is offered to prospective
employees
HR wants to know whether such applicants tend to perform
better than the norm in the test
What is your response given sample of 25 applicants with
such a course if they completed the test with an average score
7.09 & if =0.05?
17
Skills test
course of ess effectiven supports evidence
Reject
: Decision
46 . 2
5 1
6 . 6 09 . 7
: statistic test ed Standardiz
645 . 1
: if reject .05, Given
6 . 6 :
6 . 6 :
course taking those for score mean be Let
0
05 .
1
0
=
= >
=
>
=
H
n
x
z
z z
H
H
18
p-values
How do I choose the significance level ?
No rules
Conventional choices are = 0.1 or 0.05 or 0.01
In McDonalds example we saw it could matter
Why do I have to choose a particular ?
You dont
Calculate the empirical significance level or p-value
p-value is the probability of obtaining a value of
the test statistic more extreme than that
observed, given that the null hypothesis is true
More extreme depends on form of alternative hypothesis
For skills test it would be probability of a statistic larger
than 7.09
19
p-values
0069 . ) 46 . 2 (
5 / 1
60 . 6 09 . 7
) 09 . 7 (
= > =
>
=
> =
Z P
n
X
P
X P value p
=
= + =
= + = =
Z P
n
X
P X P
N X Q
X P X P X P
Q
24
SIA: Student progress in
BES...
( )
0
2
1 0
reject to evidence nt insufficie 0.01 say at
4238 . 0 2119 . 0 2 80 . 0 2
25 88 . 1
5 . 8 8 . 8
2 ) 8 . 8 ( 2
value - calculate now ), 25 / 88 . 1 , 5 . 8 ( ~ CLT By
5 . 8 : 5 . 8 : : 3
H
Z P
n
X
P X P p
p N X
H H Q
=
= = =
= > =
=
25
Progress report #5
Have procedures to test hypotheses in a range
of circumstances
Need to consider situations where population variance
(as well as population mean) are unknown
Leads us to t distribution
Need to recognize that the same concepts apply to
situations other than estimating the mean
Leads us to confidence intervals & hypothesis testing for
the population proportion