Chapter 8: Hypothesis Testing with One Sample
Chapter 8 Practice
8.1 Practice
You are testing that the mean speed of your cable Internet connection is more than three Megabits per second. What is the random variable? Describe in words.
Solution
The random variable is the mean Internet speed in Megabits per second.
You are testing that the mean speed of your cable Internet connection is more than three Megabits per second. State the null and alternative hypotheses.
The American family has an average of two children. What is the random variable? Describe in words.
Solution
The random variable is the mean number of children an American family has.
The mean entry level salary of an employee at a company is 💲58,000. You believe it is higher for IT professionals in the company. State the null and alternative hypotheses.
A sociologist claims the probability that a person picked at random in Times Square in New York City is visiting the area is 0.83. You want to test to see if the proportion is actually less. What is the random variable? Describe in words.
Solution
The random variable is the proportion of people picked at random in Times Square visiting the city.
A sociologist claims the probability that a person picked at random in Times Square in New York City is visiting the area is 0.83. You want to test to see if the claim is correct. State the null and alternative hypotheses.
In a population of fish, approximately 42% are female. A test is conducted to see if, in fact, the proportion is less. State the null and alternative hypotheses.
Solution
Suppose that a recent article stated that the mean time spent in jail by a first–time convicted burglar is 2.5 years. A study was then done to see if the mean time has increased in the new century. A random sample of 26 first-time convicted burglars in a recent year was picked. The mean length of time in jail from the survey was 3 years with a standard deviation of 1.8 years. Suppose that it is somehow known that the population standard deviation is 1.5. If you were conducting a hypothesis test to determine if the mean length of jail time has increased, what would the null and alternative hypotheses be? The distribution of the population is normal.
A random survey of 75 death row inmates revealed that the mean length of time on death row is 17.4 years with a standard deviation of 6.3 years. If you were conducting a hypothesis test to determine if the population mean time on death row could likely be 15 years, what would the null and alternative hypotheses be?
- H0: __________
- Ha: __________
Solution
- H0: μ = 15
- Ha: μ ≠ 15
The National Institute of Mental Health published an article stating that in any one-year period, approximately 9.5 percent of American adults suffer from depression or a depressive illness. Suppose that in a survey of 100 people in a certain town, seven of them suffered from depression or a depressive illness. If you were conducting a hypothesis test to determine if the true proportion of people in that town suffering from depression or a depressive illness is lower than the percentage in the general adult American population, what would the null and alternative hypotheses be?
8.2 Practice
The mean price of mid-sized cars in a region is $32,000. A test is conducted to see if the claim is true. State the Type I and Type II errors in complete sentences.
Solution
Type I: The mean price of mid-sized cars is $32,000, but we conclude that it is not $32,000.
Type II: The mean price of mid-sized cars is not $32,000, but we conclude that it is $32,000.
A sleeping bag is tested to withstand temperatures of –15 °F. You think the bag cannot stand temperatures that low. State the Type I and Type II errors in complete sentences.
For Exercise 9.12, what are α and β in words?
Solution
α = the probability that you think the bag cannot withstand -15 degrees F, when in fact it can
β = the probability that you think the bag can withstand -15 degrees F, when in fact it cannot
In words, describe 1 – β For Exercise 9.12.
A group of doctors is deciding whether or not to perform an operation. Suppose the null hypothesis, H0, is: the surgical procedure will go well. State the Type I and Type II errors in complete sentences.
Solution
Type I: The procedure will go well, but the doctors think it will not.
Type II: The procedure will not go well, but the doctors think it will.
A group of doctors is deciding whether or not to perform an operation. Suppose the null hypothesis, H0, is: the surgical procedure will go well. Which is the error with the greater consequence?
The power of a test is 0.981. What is the probability of a Type II error?
Solution
0.019
A group of divers is exploring an old sunken ship. Suppose the null hypothesis, H0, is: the sunken ship does not contain buried treasure. State the Type I and Type II errors in complete sentences.
A microbiologist is testing a water sample for E-coli. Suppose the null hypothesis, H0, is: the sample does not contain E-coli. The probability that the sample does not contain E-coli, but the microbiologist thinks it does is 0.012. The probability that the sample does contain E-coli, but the microbiologist thinks it does not is 0.002. What is the power of this test?
Solution
0.998
A microbiologist is testing a water sample for E-coli. Suppose the null hypothesis, H0, is: the sample contains E-coli. Which is the error with the greater consequence?
8.3 Practice
Which two distributions can you use for hypothesis testing for this chapter?
Solution
A normal distribution or a Student’s t-distribution
Which distribution do you use when you are testing a population mean and the standard deviation is known? Assume sample size is large.
Which distribution do you use when the standard deviation is not known and you are testing one population mean? Assume sample size is large.
Solution
Use a Student’s t-distribution
A population mean is 13. The sample mean is 12.8, and the sample standard deviation is two. The sample size is 20. What distribution should you use to perform a hypothesis test? Assume the underlying population is normal.
A population has a mean of 25 and a standard deviation of five. The sample mean is 24, and the sample size is 108. What distribution should you use to perform a hypothesis test?
Solution
a normal distribution for a single population mean
It is thought that 42% of respondents in a taste test would prefer Brand A. In a particular test of 100 people, 39% preferred Brand A. What distribution should you use to perform a hypothesis test?
You are performing a hypothesis test of a single population mean using a Student’s t-distribution. What must you assume about the distribution of the data?
Solution
It must be approximately normally distributed.
You are performing a hypothesis test of a single population mean using a Student’s t-distribution. The data are not from a simple random sample. Can you accurately perform the hypothesis test?
You are performing a hypothesis test of a single population proportion. What must be true about the quantities of np and nq?
Solution
They must both be greater than five.
You are performing a hypothesis test of a single population proportion. You find out that np is less than five. What must you do to be able to perform a valid hypothesis test?
You are performing a hypothesis test of a single population proportion. The data come from which distribution?
Solution
binomial distribution
8.4 Practice
When do you reject the null hypothesis?
The probability of winning the grand prize at a particular carnival game is 0.005. Is the outcome of winning very likely or very unlikely?
Solution
The outcome of winning is very unlikely.
The probability of winning the grand prize at a particular carnival game is 0.005. Michele wins the grand prize. Is this considered a rare or common event? Why?
It is believed that the mean height of high school students who play basketball on the school team is 73 inches with a standard deviation of 1.8 inches. A random sample of 40 players is chosen. The sample mean was 71 inches, and the sample standard deviation was 1.5 years. Do the data support the claim that the mean height is less than 73 inches? The p-value is almost zero. State the null and alternative hypotheses and interpret the p-value.
Solution
H0: μ > = 73
Ha: μ < 73
The p-value is almost zero, which means there is sufficient data to conclude that the mean height of high school students who play basketball on the school team is less than 73 inches at the 5% level. The data do support the claim.
The mean age of graduate students at a University is at most 31 years with a standard deviation of two years. A random sample of 15 graduate students is taken. The sample mean is 32 years and the sample standard deviation is three years. Are the data significant at the 1% level? The p-value is 0.0264. State the null and alternative hypotheses and interpret the p-value.
Does the shaded region represent a low or a high p-value compared to a level of significance of 1%?
Solution
The shaded region shows a low p-value.
What should you do when α > p-value?
What should you do if α = p-value?
Solution
Do not reject H0.
If you do not reject the null hypothesis, then it must be true. Is this statement correct? State why or why not in complete sentences.
Use the following information to answer the next seven exercises: Suppose that a recent article stated that the mean time spent in jail by a first-time convicted burglar is 2.5 years. A study was then done to see if the mean time has increased in the new century. A random sample of 26 first-time convicted burglars in a recent year was picked. The mean length of time in jail from the survey was three years with a standard deviation of 1.8 years. Suppose that it is somehow known that the population standard deviation is 1.5. Conduct a hypothesis test to determine if the mean length of jail time has increased. Assume the distribution of the jail times is approximately normal.
Is this a test of means or proportions?
Solution
means
What symbol represents the random variable for this test?
In words, define the random variable for this test.
Solution
the mean time spent in jail for 26 first time convicted burglars
Is the population standard deviation known and, if so, what is it?
Calculate the following:
Solution
- 3
- 1.5
- 1.8
- 26
Since both σ and [latex]{s}_{x}[/latex] are given, which should be used? In one to two complete sentences, explain why.
State the distribution to use for the hypothesis test.
Solution
[latex]\overline{X}~N\left(2.5,\frac{1.5}{\sqrt{26}}\right)[/latex]
A random survey of 75 death row inmates revealed that the mean length of time on death row is 17.4 years with a standard deviation of 6.3 years. Conduct a hypothesis test to determine if the population mean time on death row could likely be 15 years.
- Is this a test of one mean or proportion?
- State the null and alternative hypotheses.
H0: ____________________ Ha : ____________________
- Is this a right-tailed, left-tailed, or two-tailed test?
- What symbol represents the random variable for this test?
- In words, define the random variable for this test.
- Is the population standard deviation known and, if so, what is it?
- Calculate the following:
- [latex]\overline{x}[/latex] = _____________
- s = ____________
- n = ____________
- Which test should be used?
- State the distribution to use for the hypothesis test.
- Find the p-value.
- At a pre-conceived α = 0.05, what is your:
- Decision:
- Reason for the decision:
- Conclusion (write out in a complete sentence):
8.5 Practice
Assume H0: μ = 9 and Ha: μ < 9. Is this a left-tailed, right-tailed, or two-tailed test?
Solution
This is a left-tailed test.
Assume H0: μ ≤ 6 and Ha: μ > 6. Is this a left-tailed, right-tailed, or two-tailed test?
Assume H0: p = 0.25 and Ha: p ≠ 0.25. Is this a left-tailed, right-tailed, or two-tailed test?
Solution
This is a two-tailed test.
Draw the general graph of a left-tailed test.
Draw the graph of a two-tailed test.
Solution
A bottle of water is labeled as containing 16 fluid ounces of water. You believe it is less than that. What type of test would you use?
Your friend claims that his mean golf score is 63. You want to show that it is higher than that. What type of test would you use?
Solution
a right-tailed test
A bathroom scale claims to be able to identify correctly any weight within a pound. You think that it cannot be that accurate. What type of test would you use?
You flip a coin and record whether it shows heads or tails. You know the probability of getting heads is 50%, but you think it is less for this particular coin. What type of test would you use?
Solution
a left-tailed test
If the alternative hypothesis has a not-equals ( ≠ ) symbol, do you know which type of test to use?
Assume the null hypothesis states that the mean is at least 18. Is this a left-tailed, right-tailed, or two-tailed test?
Solution
This is a left-tailed test.
Assume the null hypothesis states that the mean is at most 12. Is this a left-tailed, right-tailed, or two-tailed test?
Assume the null hypothesis states that the mean is equal to 88. The alternative hypothesis states that the mean is not equal to 88. Is this a left-tailed, right-tailed, or two-tailed test?
Solution
This is a two-tailed test.