Hypothesis Testing Basics
- 44Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
How do sample statistics and population parameters differ, and why are sample statistics considered random variables?
44 questions
- 1
How do sample statistics and population parameters differ, and why are sample statistics considered random variables?
Model answer
A population parameter describes a population, while a sample statistic is calculated from a sample. Sample statistics are random variables because their values can differ from sample to sample.
Explanation
Statistical inference uses sample data to learn about population parameters.
- 2
What is the purpose of a confidence interval, and how does the focus of hypothesis testing differ?
Model answer
A confidence interval uses sample data to estimate a population parameter. Hypothesis testing uses sample data to assess whether the sample could reasonably come from a population with a specified parameter value.
Explanation
Both are methods of statistical inference, but they address different questions.
- 3
What does a hypothesis test assess about a sample and a hypothesized population?
Model answer
It assesses whether the observed sample could reasonably have come from a population with the parameter value specified by the null hypothesis.
Explanation
The test uses the sample statistic and a distribution constructed under the null hypothesis.
- 4
Which population parameters are included in the hypothesis tests covered here, and which one is excluded?
Model answer
The tests cover a single mean, a difference in two means, a single proportion, a difference in two proportions, correlation, and a simple linear regression slope. Standard deviations are excluded.
Explanation
These are the parameter types to identify when selecting a test.
- 5
Why are resampling methods used when constructing a hypothesis-test sampling distribution?
Model answer
The population data are unavailable, so resampling methods use the sample data to approximate the sampling distribution under a specified hypothesis.
Explanation
The lesson uses randomization methods for hypothesis testing, rather than the bootstrapping methods used for confidence intervals.
- 6
What is the key difference between the role of bootstrapping and randomization in this lesson?
Model answer
Bootstrapping constructs a sampling distribution centered on the sample statistic, whereas randomization constructs a distribution under the assumption that the null hypothesis is true.
Explanation
Randomization therefore centers its distribution on the parameter value in the null hypothesis.
- 7
What two hypotheses are used in a hypothesis test, and what does each represent?
Model answer
The null hypothesis, written H0, represents no difference or the hypothesized value; the alternative hypothesis, written Ha or H1, represents a difference or effect being investigated.
Explanation
The alternative commonly expresses the research question.
- 8
In what terms must hypotheses be written, and which hypothesis must contain equality?
Model answer
Both hypotheses are written in terms of population parameters, and the null hypothesis must contain equality.
Explanation
A sample statistic is not the parameter being claimed in the hypotheses.
- 9
What three pieces of information are needed to write hypotheses from a research scenario?
Model answer
Identify the parameter of interest, the direction of the research question, and the hypothesized parameter value.
Explanation
Together, these determine the parameter and the null and alternative statements.
- 10
How does the research question determine the direction of the alternative hypothesis?
Model answer
A question asking whether a parameter is lower, higher, or different leads to an alternative using <, >, or �neq, respectively.
Explanation
A less-than or greater-than alternative is one-tailed; a not-equal alternative is two-tailed.
- 11
What hypothesized value is generally used for a single mean or a single proportion?
Model answer
The scenario supplies the hypothesized value for a single mean or a single proportion.
Explanation
For example, a claim that the population proportion is five percent gives a null value of p=0.05.
- 12
What null value is generally used for a difference in two means or two proportions, and why?
Model answer
The null value is generally 0, because a difference of zero means the two population means or proportions are equal.
Explanation
The alternative tests whether the difference is less than, greater than, or not equal to zero.
- 13
What null value is typically used for correlation or a simple linear regression slope, and what does it represent?
Model answer
The null value is typically 0. A correlation or slope of zero represents no relationship.
Explanation
An alternative can test for a positive, negative, or unspecified nonzero relationship.
- 14
How do you determine whether a test is left-tailed, right-tailed, or two-tailed?
Model answer
Use the alternative hypothesis: < indicates a left-tailed test, > indicates a right-tailed test, and �neq indicates a two-tailed test.
Explanation
The tail direction follows the direction of the research question.
- 15
A company claims that five percent of its products are defective. How would you state the hypotheses for testing whether the true defective proportion is greater than five percent?
Model answer
The hypotheses are H0:p=0.05 and Ha:p>0.05.
Explanation
Defective status is categorical, so the parameter is a population proportion; “greater than” makes this a right-tailed test.
- 16
For the question of whether age and number of shoes owned are related, identify the parameter and state the hypotheses.
Model answer
The parameter is the population correlation �rho. The hypotheses are H0:ho=0 and Ha:hoeq0.
Explanation
Both variables are quantitative, and the question asks whether there is a relationship without specifying its direction, so the test is two-tailed.
- 17
How can randomization distributions be constructed under the null hypothesis, and what is true regardless of the parameter being tested?
Model answer
The specific procedure depends on the parameter, but every randomization distribution is constructed under the assumption that the null hypothesis is true and is centered on the null value.
Explanation
Different procedures are used for means, proportions, correlation, and regression, while the null-hypothesis assumption remains the same.
- 18
How is a randomization distribution for a single mean constructed in StatKey?
Model answer
Shift the original sample so its mean equals the null-hypothesis mean, then repeatedly resample from the shifted data with replacement and calculate each sample mean.
Explanation
Shifting the data makes the resulting distribution reflect the null value rather than the original sample mean.
- 19
In the house-price example, the sample mean is 146.8 thousand dollars and the null mean is 200 thousand dollars. By how much and in which direction is the sample shifted?
Model answer
Shift every observation upward by 53.2 thousand dollars, since 200−146.8=53.2.
Explanation
Adding the same amount to each observation raises the sample mean to the null mean.
- 20
How is a randomization distribution for the difference between two means constructed using the reallocate-groups method?
Model answer
Pool all observed values, randomly reassign them into two groups of the original sizes, and calculate the first group mean minus the second group mean for each randomization sample.
Explanation
Under the null of equal means, group labels are randomly reassigned; the resulting distribution of differences is centered on zero.
- 21
In a randomization test comparing two means, why is the null difference usually zero, and how should the difference be ordered?
Model answer
The null difference is zero because the null states the group means are equal. Compute the difference in the stated order, such as mean of group one minus mean of group two.
Explanation
Changing the order reverses the sign of each difference and changes which tail represents a positive effect.
- 22
What information is entered to construct a randomization distribution for a single proportion in the defective-products example?
Model answer
Enter the sample size, n=100, the observed number of defective products, x=9, and the null proportion, p=0.05.
Explanation
These inputs describe the observed sample and the population proportion assumed under the null.
- 23
How many randomization samples does the lesson recommend generating, and what purpose do they serve?
Model answer
It recommends generating at least 5,000 randomization samples. Their statistics form an approximate sampling distribution under the null hypothesis.
Explanation
A large collection of simulated statistics provides the distribution used to estimate the p-value.
- 24
How can StatKey and Minitab Express be used to obtain a randomization distribution and p-value?
Model answer
Both programs can generate randomization distributions and identify the proportion of simulated statistics in the relevant tail or tails. StatKey displays a dot plot, while Minitab Express displays a histogram and can also show the p-value in a table.
Explanation
Minitab Express can also display the hypotheses, which helps confirm that the intended test was run.
- 25
Why might StatKey and Minitab Express report slightly different p-values for the same randomization test?
Model answer
Their results can differ slightly because of random sampling variation in the generated randomization samples.
Explanation
The programs use simulated samples to estimate the p-value.
- 26
What is a p-value in a randomization test?
Model answer
It is the proportion of statistics in the randomization distribution that are as extreme as or more extreme than the observed statistic in the direction of the alternative hypothesis.
Explanation
The relevant tail or tails depend on whether the alternative is one-tailed or two-tailed.
- 27
How can a p-value be expressed as a conditional probability?
Model answer
It is the probability of obtaining a statistic as extreme as or more extreme than the observed statistic, given that the null hypothesis is true.
Explanation
The condition “given the null hypothesis is true” is essential to the interpretation.
- 28
Does a p-value give the probability that the null hypothesis is true? Explain.
Model answer
No. It gives the probability of observing a statistic at least as extreme as the one obtained, assuming the null hypothesis is true.
Explanation
The null hypothesis is the condition used to calculate the probability, not the event whose probability the p-value reports.
- 29
How is a p-value found for a right-tailed randomization test?
Model answer
Count the randomization statistics at or above the observed statistic in the right tail and use their proportion as the p-value.
Explanation
For the defective-products example, the right-tail cutoff is the observed sample proportion, 0.090.
- 30
How is a p-value found for a two-tailed test in StatKey?
Model answer
Add the shaded proportions in both tails beyond the cutoffs corresponding to the observed statistic's extremeness.
Explanation
A two-tailed test counts extreme results in either direction, rather than only one tail.
- 31
Why must a user check the cutoff values when using StatKey to find a p-value?
Model answer
StatKey's default tail settings may not place the cutoffs at the observed statistic, so the cutoff values must be adjusted to match the test and the observed result.
Explanation
For a right-tailed test, set the cutoff to the observed statistic; for a two-tailed test, ensure both tails reflect the observed result's extremeness.
- 32
What is the usual cutoff for deciding whether a p-value is small, and what does a small value suggest?
Model answer
The usual cutoff is 0.05. A small p-value suggests that the observed sample would be unlikely if the null-hypothesis population parameter were true.
Explanation
The p-value measures how unusual the observed statistic, or a more extreme one, would be under the null.
- 33
What decision is made when pext−value�leq0.05, and how is the result described?
Model answer
Reject the null hypothesis; the result is statistically significant.
Explanation
The test provides evidence against the null hypothesis at the usual 0.05 cutoff.
- 34
What decision is made when pext−value>0.05, and how is the result described?
Model answer
Fail to reject the null hypothesis; the result is not statistically significant.
Explanation
This decision does not meet the stated threshold for rejecting the null.
- 35
What are the five main steps in a randomization test?
Model answer
Identify the test and write hypotheses; construct a randomization distribution under the null; find the p-value; decide whether to reject the null; and state a real-world conclusion addressing the research question.
Explanation
The final conclusion translates the statistical decision back into the scenario.
- 36
Why should the final step of a hypothesis test refer back to the original research question?
Model answer
The statistical decision must be stated in context so it answers the real-world question about the population parameter.
Explanation
A decision such as rejecting or failing to reject the null is not, by itself, a contextual conclusion.
- 37
What should a two-tailed test account for when calculating its p-value from the randomization distribution?
Model answer
It should account for the extreme area in both tails by adding the two shaded proportions.
Explanation
StatKey may initially use default cutoffs, so those cutoffs should be checked before summing the tails.
- 38
A sample contains 9 defective products out of 100, and the null proportion is 0.05. If the right-tailed p-value is about 0.07, what decision and contextual conclusion follow?
Model answer
Because 0.07>0.05, fail to reject the null. There is not sufficient evidence that more than five percent of the population's products are defective.
Explanation
The observed sample proportion is 0.09, but the p-value exceeds the usual significance cutoff.
- 39
For the defective-products test, why is the alternative hypothesis right-tailed, and what sample result is counted toward the p-value?
Model answer
The question asks whether the defective proportion is greater than 0.05, so the alternative is p>0.05. The p-value counts randomization proportions of 0.090 or greater.
Explanation
The direction of the alternative determines which randomization results are considered at least as extreme.
- 40
A research question asks whether the mean house price in Canton, New York, differs from 200,000. What test and hypotheses apply when price is measured in thousands of dollars?
Model answer
Use a randomization test for a single mean, with H0:�mu=200 and Ha:�mueq200.
Explanation
The question concerns one quantitative variable in one group and asks whether the population mean is different from the specified value.
- 41
In the Canton house-price example, the two-tailed p-value is 0.03. What decision and real-world conclusion follow?
Model answer
Since 0.03extislessthan0.05, reject the null hypothesis. There is evidence that the mean price of all houses in Canton, New York, differs from 200,000.
Explanation
The conclusion states the evidence in terms of the population mean and the original research question.
- 42
For the question of whether female students are more likely than male students to have gym memberships, identify the parameter and hypotheses.
Model answer
The parameter is the difference in population proportions, pf−pm. The hypotheses are H0:pf−pm=0 and Ha:pf−pm>0.
Explanation
The phrase “more likely” specifies a greater proportion for females, so the alternative is right-tailed.
- 43
How can the gym-membership hypotheses be written as a comparison of the two population proportions rather than their difference?
Model answer
They can be written as H0:pf=pm and Ha:pf>pm.
Explanation
These are equivalent to hypotheses about pf−pm because the same male proportion can be added to both sides.
- 44
For the commute-time comparison between Atlanta and St. Louis, how would one randomization sample be generated and summarized?
Model answer
Randomly assign the pooled observations to the Atlanta and St. Louis groups, then calculate mean commute time for Atlanta minus mean commute time for St. Louis.
Explanation
Repeating this process creates a distribution of mean differences under the null of equal group means.

Ask anything
We've read this whole study set, so questions about it get the best answers.