Stats Review Chapters 9-10 - sctcc.edu
Transcript of Stats Review Chapters 9-10 - sctcc.edu
Stats Review Chapters 9-10
Created by Teri Johnson Math Coordinator, Mary Stangler Center for Academic Success
Examples are taken from Statistics 4 E by Michael Sullivan, III
And the corresponding Test Generator from Pearson
Revised 12/13
Note:
This review is composed of questions the textbook and the test generator. This review is meant to highlight basic concepts from the course. It does not cover all concepts presented by your instructor. Refer back to your notes, unit objectives, handouts, etc. to further prepare for your exam. A copy of this review can be found at www.sctcc.edu/cas.
The final answers are displayed in red and the chapter/section number is the corner.
Confidence Interval for Population Proportion
In a survey of 10 musicians, 2 were found to be left-handed. Is it practical to construct the 90% confidence interval for the population proportion, p?
β Condition 1: n(.05)β€N β’ The sample size is less than 5% of the population, so the
condition is met.
β Condition 2: np(1-p)β₯10 β’ p= 2/10=.2, so np(1-p)=10(.2)(1-.2)=1.6. This is less than 10
so this condition is not met. So it would not be practical to construct the confidence interval.
9.1
Confidence Interval for Population Proportion
A poll conducted found that 944 of 1748 adults do not believe that people with tattoos are more rebellious.
If appropriate construct a 90% confidence interval.
Is it appropriate? Yes, it satisfies both conditions.
9.1
Confidence Interval for Population Proportion
What is the point estimate?
π =944
1748= .54
Find π§πΌ/2. First take 1β.90
2= .05
The corresponding z-value is -1.645. We will ignore the negative and just use 1.645. Find the Margin of Error
πΈ = π§πΌ/2π (1βπ )
π= 1.645
.54(1β.54)
1748= .0196
Take the point estimate and add/subtract the margin of error .54-.0196=.5204, .54+.0196=.5596 The confidence interval is (.5204,.5596)
9.1
Common π§πΌ/2 values
Confidence Level Z-value
90% 1.645
95% 1.96
99% 2.576
9.1
Sample Size Needed of Population Proportion
A researcher wants to estimate the proportion of Americans that have sleep deprivation. How large a sample is needed in order to be 95% confident within 5% if
a) the researcher used a previous estimate of 60%?
b) the researcher doesnβt use a previous estimate?
9.1
Sample Size Needed of Population Proportion
a) What is the sample size if the researcher used a previous estimate of 60%?
π = π 1 β π π§πΌ2
πΈ
2
= .60 1 β .601.96
.05
2
= 369 b) What is the sample size if the researcher doesnβt use a previous estimate?
π = .25π§πΌ2
πΈ
2
= .251.96
.05
2
= 385
9.1
Find the t-value Find the t-value (using the table)
β’ Right tail=.1, n=6 β Degrees of Freedom (df)=n-1=5, t= 1.476
β’ Left tail=.05 n=16 β df=15, t=-1.753 (t is negative for left tail)
β’ 90% confidence, n=21
β df=20, 1β.90
2= .05, π‘ = 1.725
β’ 95% Confidence , n=83 β df= 82 (this is not in the table so choose the closest one: 80),
1β.95
2= .025, π‘ = 1.990
β’ 99% Confidence, n=1200 β df=1199, since this is more than 1000, we use the z-value
1β.99
2= .005, π‘ ππ π§ = 2.576
9.1,
Estimating a population mean
In a sample of 81 SARS patients, the mean incubation period was 4.6 days with a standard deviation of 15.9 days. Construct a 95% confident interval.
β We cannot use z because we do not have the population standard deviation.
β Find π‘πΌ/2: 1β.95
2= .025, degrees of freedom =n-1=81-80. The
corresponding t-value is 1.99 β Find the Margin of Error
πΈ = π‘πΌ/2
π
π= 1.99
15.9
81= 3.516
β Add/subtract the margin of error from the sample mean 4.6-3.516 =1.084, 4.6+3.516=8.116 β We are 95% confident that the mean incubation period for SARS
patients is between 1.084 and 8.116.
9.2
Sample Size for Estimating Population Mean
How large must a sample be in order to be 95% confident within 2 points given a sample standard deviation of 13.67?
π =π§πΌ2β π
πΈ
2
=1.96 β 13.67
2
2
= 175
9.2
What Happens to the Width of the Confidence Interval
β’ As the sample size increases β The width decreases
β’ As the level of confidence increase β The width Increases
To find out which margin of error is smaller (smaller width) with different sample sizes and level of confidence when everything else is the same calculate π§πΌ/2
π (for proportion) or
π‘πΌ/2
π (for mean) for both
cases to see which is smaller.
9.1-2
Reasonable Interpretation of Confidence Intervals
A 90% confidence interval for the hours that college students sleep during the weekday is (7.8, 8.8). Which interpretations are correct? a) 90% of college students sleep between 7.8 and
8.8 hours Flawed: makes an implication about individuals rather than the mean
b) Weβre 90% confident that the mean number of hours of sleep that college students get any day of the week is between 7.8 and 8.8 hours
Flawed: should be about the weekday, not any day of the week
9.2
Reasonable Interpretation of Confidence Intervals
A 90% confidence interval for the hours that college students sleep during the weekday is (7.8, 8.8). Which interpretations are correct? c) There is a 90% probability that the mean hours
of sleep that college students get during a weekday is between 7.8 and 8.8 hours.
Flawed: implies the population mean varies rather than the interval
d) Weβre 90% confident that the mean number of hours of sleep that college students during a weekday is between 7.8 and 8.8 hours.
Correct!
9.2
Find the Chi-Squared Values Find ππβπΆ/π
π ππ§πππΆ/ππ
β’ 90% confidence, n=20 β Ξ±=1-.90=.1; df=n-1=19
β π1βπΌ/22 = π1β.1/2
2 = π.952 = 10.117
β ππΌ/22 = π.1/2
2 = π.052 = 30.144
β’ 95% confidence, n=25 β Ξ±=1-.95=.05; df=n-1=24
β π1βπΌ/22 = π1β.05/2
2 = π.9752 = 12.401
β ππΌ/22 = π..05/2
2 = π.0252 = 39.364
β’ If the degrees of freedom is not on the table, use the closest degrees of freedom
β’ If the degrees of freedom is directly between 2 values, find the mean of the values. Ex: For 65, take the Ο2 values for both 60 and 70 and averge their Ο2 values.
9.3
Estimating a Population Standard Deviation A student randomly selects 10 paperbacks at a store. The mean price is $8.75 with a standard deviation of $1.50. Construct a 95% confidence interval for the population standard deviation, Ο. Assume the data are normally distributed
1. Find π1βπΌ/22 andππΌ/2
2 for 95% confidence level and df=9
π1β.05/22 = 2.7
π.05/22 = 19.023
2. Find the lower and upper bounds of Ο2
Lower: (πβ1)π 2
ππΌ/22 =
(10β1)1.52
19.023=1.065
Upper: (πβ1)π 2
π1βπΌ/22 =
(10β1)1.52
2.7=7.5
3. Since we want the confidence interval for Ο and we have the lower/upper bounds of Ο2, we need to take the square roots of the lower and upper bound.
Lower: 1.065=1.03
Upper: 7.5=2.74
The confidence interval is (1.03,2.74)
9.3
Which Procedure to Use?
9.4 Copyright Β© 2013 Pearson Higher Ed
Hypothesis Testing Determine if it is a right-, left-, or two-tailed test
π»π: π = 6 π»1: π > 6
π»π: π = 6 π»1: π < 6
π»π: π = 6 π»1: π β 6
Right -tailed Left -tailed Two -tailed
The mean age of lawyers in New York is 50.7 years. Two-tailed The mean annual return for an employee's IRA is at most 3.4 percent. Left-Tailed A popular referendum on the ballot is favored by more than half of the voters. Right-Tailed
10.1
Type I and Type II errors
Determine the type I and type II error. Find the probability of making a type I error. A referendum for an upcoming election is favored by more than half of the voters. Level of Significance, Ξ±, is 0.01. β’ Type I error: rejecting that p=.5, when in reality pβ€5. β’ Type II error: not rejecting p=.5, when p>.5. β’ Probability(type I error)=Ξ±=.01
10.1
Proper Conclusion for Hypothesis Test
A candidate for state representative of a certain state claims to be favored by at least half of the voters. If a hypothesis test is preformed, how should you interpret a decision that fails to reject the null hypothesis?
A) There is not sufficient evidence to reject the claim pβ₯.5.
B) There is sufficient evidence to support the claim pβ₯.5.
C) There is sufficient evidence to reject the claim pβ₯.5. D) There is not sufficient evidence to support the claim
pβ₯.5.
10.1
Correct!
Hypothesis Test for Population Proportion: Classical Approach
A survey of 1000 adults, 542 found that they could not eat just one m&m. Does this sample evidence find that more than half of adults can not eat just one m&m. Use the Ξ±=.05 level of significance.
1. State the null and alternative Hypothesis π»0: π = .5 π»1: π > .5
2. Find π : π =π₯
π=
542
1000= .542
10.2
Hypothesis Test for Population Proportion: Classical Approach
3. Compute the test statistic, z0
π§0 =π β π
π(1 β π)π
=.542 β .5
.5(1 β .5)1000
= 2.66
4. Determine the critical value For right tailed, zΞ±=z.05=1.64
5. Compare with the test statistic with the critical value For a right-tailed, we reject the null hypothesis if z0 > zΞ±
2.66>1.64 Therefore we reject the null hypothesis.
6. Conclusion: We reject the null hypothesis. There is sufficient evidence at the Ξ±=.05 level of significance to conclude more than half of adults cannot eat just 1 m&m.
Hypothesis Test for Population Mean: P-Value Approach
A local retailer claims that the mean waiting time is less than 9 minutes. A random sample of 20 waiting times has a mean of 7.4 minutes with a standard deviation of 2.1 minutes. At Ξ± = 0.01, test the retailer's claim. Assume the distribution is normally distributed. Test the retailerβs claim using Ξ±=.01.
10.3
Hypothesis Test for Population Mean
1) State the null and alternative hypothesis π»π: π = 9 π»1: π < 9
2) Find the t-value
π‘ =π₯ βπ0π
π =
7.4β92.1
20 = β3.407 with 19 degrees of freedom
3) Find the p-value (use the table or excel) P-value =.00148 4) Conclusion: Since the p-value is less than .01 (Ξ±), we reject the hypothesis. There is significant evidence that the mean waiting time is less than 9 minutes.
10.3
Hypothesis Test for Population Mean
In 2002, the mean age of inmate on death-row was 40.7 years. A researcher wonders if the mean age has changed since then. She randomly selects 32 death-row inmates and finds that their mean age is 38.9 with a standard deviation of 9.6. Test the researchers claim.
10.3
Hypothesis Test for Population Mean
1) State the Null and Alternative hypothesis βπ: π = 40.7 β1: π β 40.7
2) Calculate the test statistic
π‘ =π₯ βπ0π
π =
38.9β40.79.6
32 = β1.06 with 31 degrees of freedom
3) Find the p-value (use the table or excel) If using the table or a non 2 tailed excel function, you need to divide the p-value by 2 P-value =.2970 We are not given a significance level (Ξ±), we use 5%. The p-value is greater than 5%, so we do not reject the null hypothesis. Conclusion: There is not sufficient evidence to reject the claim that the mean has changed.
10.3
Hypothesis Test for Population Standard Deviation
A professor at an all-men's college determined that the standard deviation of men's heights is 2.5 inches. The professor then randomly selected 41 female students from a nearby all-female college and found the standard deviation to be 2.9 inches. Test the professor's claim that the standard deviation of female heights is greater than 2.5 inches. Use Ξ± = 0.01.
10.4
Hypothesis Test for Population Standard Deviation
1. State the Null and Alternative hypothesis βπ: π = 2.5 β1: π > 2.5
2. Calculate the test statistic
π02 =
(π β 1)π 2
π02 =
(41 β 1)2.92
2.52= 53.824
3. Determine the P-value Look up value: .929118 Subtract from 1: 1-.929118=.075
4. Conclusion: p-value> Ξ± (.01) Fail to reject the null hypothesis. There is not statistical evidence to support the claim that standard deviation is greater than 2.5.
10.4
When to Use t and When to Use z
β’ Use Z β Inference (confidence interval/ hypothesis testing)
about population proportion
β Looking for sample sizes
β Have population standard deviation Ο
β’ Use T β Inference (confidence interval/ hypothesis testing)
about population mean
β Sample standard deviation s (but not looking for sample size n)
10.5
10.5
Which Procedure to Use?