Download Chapter 8

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Notation
Section 8.5
Testing a claim about a mean
(σ unknown)
Objective
For a population with mean µ (with σ unknown),
use a sample to test a claim about the mean.
Testing a mean (when σ known) uses the
t-distribution
1
2
Requirements
Test Statistic
Denoted t (as in t-score) since
the test uses the t-distribution.
(1) The population standard deviation
σ is unknown
1
(2) One or both of the following:
The population is normally distributed
or
The sample size n > 30
3
4
Example 1
Example 1 Using Critical Regions
People have died in boat accidents because an obsolete
estimate of the mean weight (of 166.3 lb.) was used.
What we know:
A random sample of n = 40 men yielded the mean
H0 : µ = 166.3
x = 172.55 lb. and standard deviation s = 26.33 lb.
Do not assume the population standard deviation 
is known.
Test statistic:
Test the claim that men have a mean weight greater
than 166.3 lb. using 90% confidence.
Critical value:
What we know:
µ0 = 166.3
n = 40
x = 172.55
µ0 = 166.3 n = 40 x = 172.55
Claim: µ > 166.3 using α = 0.1
s = 26.33
H1 : µ > 166.3 right-tailed test
tα = 1.304
t = 1.501
(df = 39)
t in critical region
s = 26.33
Claim: µ > 166.3 using α = 0.1
Note: Conditions for performing test are satisfied since n >30
5
Initial Conclusion: Since t in critical region, Reject H0
Final Conclusion: Accept the claim that the mean weight
is greater than 166.3 lb.
6
Calculating P-value for a Mean
Calculating P-value for a Mean
(σ unknown)
(σ unknown)
Stat → T statistics → One sample → with summary
Enter the
Sample mean (x)
Sample std. dev. (s)
Sample size (n)
Then hit Next
7
8
Initial Conclusion
Since P-value < α (α = 0.1), reject H0
Final Conclusion
Accept the claim the mean weight greater than 166.3 Ib
Calculating P-value for a Mean
Calculating P-value for a Mean
(σ unknown)
(σ unknown)
Select
Enter the
Select
The resulting table shows both the
test statistic (t) and the P-value
Hypothesis Test
Null:mean (µ0)
Alternative (“<“, “>”, or “≠”)
2
Test statistic (t)
P-value
Then hit Calculate
9
Example 1 Using the P-value
What we know:
H0 : µ = 166.3
H1 : µ > 166.3
Using
StatCrunch
µ0 = 166.3 n = 40 x = 172.55
Claim: µ > 166.3 using α = 0.1
P-Values
s = 26.33
A useful interpretation of the P-value: it is
observed level of significance
Stat → T statistics→ One sample → With summary
Sample mean: 172.55
Sample std. dev.:
Sample size:
37.8
40
● Hypothesis Test
Null: proportion=
Alternative
10
Thus, the value 1 – P-value is interpreted as
observed level of confidence
166.3
>
P-value = 0.0707
Recall: “Confidence Level” = 1 – “Significance Level”
Note: Only useful if we reject H0
Initial Conclusion: Since P-value < α, Reject H0
Final Conclusion: Accept the claim that the mean weight
is greater than 166.3 lb.
If H0 accepted, the observed significance and
confidence are not useful.
11
12
Example 2
P-Values
Loaded Die
When a fair die (with equally likely outcomes 1-6) is
rolled many times, the mean valued rolled should be 3.5
From Example 1:
P-value = 0.0707
1 – P-value = 0.9293
Your suspicious a die being used at a casino is loaded
(that is, it’s mean is a value other than 3.5)
Thus, we can say conclude the following:
You record the values for 100 rolls and end up with a
mean of 3.87 and standard deviation 1.31
The claim holds under 0.0707 significance.
or equivalently…
Using a confidence level of 99%, does the claim that the
dice are loaded?
We are 92.93% confident the claim holds
What we know:
x = 3.87
α = 0.01
s = 1.31
What we know:
H0 : µ = 3.5
H0 : µ = 3.5
H1 : µ ≠ 3.5 two-tailed test
H1 : µ ≠ 3.5
Test statistic:
Using
StatCrunch
zα = -2.626
14
Example 2 Using the P-value
Example 2 Using Critical Regions
µ0 = 3.5
n = 100
Claim: µ ≠ 3.5 using
s = 1.31
Note: Conditions for performing test are satisfied since n >30
13
What we know:
µ0 = 3.5
n = 100
x = 3.87
Claim: µ ≠ 3.5 using α = 0.01
3
zα = 2.626
µ0 = 3.5
n = 100
Claim: µ ≠ 3.5 using
x = 3.87
α = 0.01
s = 1.31
Stat → T statistics→ One sample → With summary
● Hypothesis Test
Sample mean:
3.87
Sample std. dev.:
1.31
Null: proportion=
Sample size:
100
Alternative
3.5
≠
P-value = 0.0057
z = 3.058
Critical value:
(df = 99)
t in critical region
Initial Conclusion: Since P-value < α, Reject H0
Final Conclusion: Accept the claim the die is loaded.
Initial Conclusion: Since P-value < α, Reject H0
Final Conclusion: Accept the claim the die is loaded.
15
We are 99.43% confidence the die are loaded
16
Related documents