Maximum Likelihood Estimation
- 35Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is a hypothesis test in the context of parametric statistics?
35 questions
- 1
What is a hypothesis test in the context of parametric statistics?
Model answer
A hypothesis test is a procedure to decide between two hypotheses about a parameter: the null hypothesis (H0) and the alternative hypothesis (H1), based on sample data.
Explanation
The test uses a statistic to either reject or fail to reject H0, with a controlled probability of error.
- 2
What are the null and alternative hypotheses in the Cherry Blossom Run example?
Model answer
H0: mu=103.5 (mean running time unchanged), H1: mu<103.5 (runners faster in 2012).
Explanation
The null represents the status quo from 2009; the alternative is the specific change of interest.
- 3
Why is it important to specify the direction of the alternative hypothesis?
Model answer
A specific alternative (e.g., mu<103.5) yields a more powerful test than a two-sided alternative (mueq103.5) when that direction is correct.
Explanation
Focusing the alternative concentrates evidence, making it easier to detect the effect if it exists.
- 4
What is a test statistic?
Model answer
A test statistic is a function of the sample data used to decide between hypotheses.
Explanation
It summarizes the evidence against the null; its distribution under H0 is known (at least approximately).
- 5
What is the rejection region of a test?
Model answer
The rejection region is the set of sample outcomes for which the test rejects H0 (i.e., psi(x)=1).
Explanation
It partitions the sample space into rejection and non-rejection regions.
- 6
Define Type I error.
Model answer
Rejecting H0 when H0 is true.
Explanation
The probability of Type I error is controlled by the significance level alpha.
- 7
Define Type II error.
Model answer
Failing to reject H0 when H1 is true.
Explanation
Its probability is denoted eta; the power is 1-eta.
- 8
What is the power of a test?
Model answer
The power is the probability of correctly rejecting H0 when H1 is true; it is 1 - eta( heta) for hetainTheta1, and the overall power is the infimum over Theta1.
Explanation
Power depends on the true parameter value; we consider the worst-case (minimum) power.
- 9
In the Cherry Blossom Run example, what modeling assumptions are made?
Model answer
The running times are i.i.d. Gaussian with known variance sigma2=373; only the mean may differ from 2009.
Explanation
These assumptions narrow the possible distributions, focusing the test on the mean.
- 10
Why do we need modeling assumptions in hypothesis testing?
Model answer
Assumptions restrict the family of distributions, preventing the data from being 'explained' by implausible alternatives (like a discrete distribution that fits perfectly).
Explanation
Without restrictions, any sample could appear unlikely under the null, leading to false rejections.
- 11
In the clinical trial example, what are H0 and H1?
Model answer
H0: muextdrug=muextcontrol; H1: muextdrug<muextcontrol.
Explanation
The null is no effect; the alternative is that the drug reduces coughing.
- 12
What distribution is assumed for the number of expectorations in the clinical trial example?
Model answer
Poisson distribution with means muextdrug and muextcontrol.
Explanation
This is a modeling assumption; the data are counts per hour.
- 13
Why is it harder to test muextdrug<muextcontrol than to test mu<103.5?
Model answer
Both sample means have variability; we need to account for two sources of randomness, not just one.
Explanation
The test must consider fluctuations in both ar{X} and ar{Y}.
- 14
In the coin flip example, what are H0 and H1?
Model answer
H0: p=0.5 (fair coin); H1: peq0.5 (biased coin).
Explanation
This is a two-sided test; we care about bias in either direction.
- 15
Why is the test statistic for the coin flip example standardized as T_n = sqrt{n}rac{ar{X}_n - p_0}{sqrt{p_0(1-p_0)}} under H0?
Model answer
Under H0, p=p0, and by the CLT, Tn is approximately standard normal, providing a known reference distribution.
Explanation
Standardization centers and scales the sample proportion to have mean 0 and variance 1 approximately.
- 16
For n=80 flips, you observe 54 heads. Compute the standardized test statistic using p0=0.5 in the denominator.
Model answer
z = sqrt{80}rac{0.675 - 0.5}{sqrt{0.5 imes 0.5}} = sqrt{80}rac{0.175}{0.5} approx 3.13.
Explanation
Using p0 in denominator yields 3.13; using ar{X}(1-ar{X}) gives 3.45. Both are far in the tail.
- 17
If n=30 and you observe 13 heads, how does the standardized statistic compare to a standard normal?
Model answer
z = sqrt{30}rac{13/30 - 0.5}{sqrt{0.5 imes 0.5}} approx -0.73, which is a plausible value from N(0,1).
Explanation
A value of -0.73 is within the central 95% of the standard normal, so we fail to reject H0.
- 18
What is the role of the Central Limit Theorem in hypothesis testing?
Model answer
The CLT provides approximate normality for sample means or proportions, allowing us to compute p-values and critical values from the standard normal distribution.
Explanation
It justifies the use of normal quantiles even when the population distribution is not normal, for large samples.
- 19
Why do we standardize a test statistic?
Model answer
Standardization transforms the statistic to a common scale (e.g., standard normal) so that we can assess extremity without needing to know the original sampling distribution's parameters.
Explanation
It converts the problem to one of judging 'how many standard deviations away from the null' the observed value is.
- 20
In the coin example, the professor initially used ar{X}(1-ar{X}) in the denominator. What concern did a student raise, and how was it addressed?
Model answer
The student noted that using ar{X} in the denominator adds extra variability, making the statistic larger than using p0. The professor agreed that using p0 is more accurate when known.
Explanation
Plugging in p0 (the null value) gives a test statistic with exact standard normal distribution under H0 (asymptotically), while using ar{X} introduces additional randomness.
- 21
What is the Neyman-Pearson paradigm?
Model answer
It involves fixing the maximum acceptable probability of Type I error (significance level alpha) and then choosing a test that maximizes power (minimizes Type II error).
Explanation
This provides a principled trade-off: control the more serious error, then optimize the other.
- 22
Why is it said that hypothesis tests are asymmetric?
Model answer
The null hypothesis is treated as the status quo; we require strong evidence to reject it. Failing to reject does not mean accepting H0; we only conclude insufficient evidence against H0.
Explanation
This asymmetry mirrors 'innocent until proven guilty' and protects against false discoveries.
- 23
Give an analogy to explain the asymmetry of hypothesis testing.
Model answer
A criminal trial: H0 = innocence, H1 = guilt. A Type I error is convicting an innocent person; Type II error is letting a guilty person go free. We set a low alpha to avoid convicting the innocent.
Explanation
The burden of proof is on the prosecution (H1); lack of evidence (failure to reject H0) does not prove innocence.
- 24
What is the significance level of a test?
Model answer
The significance level alpha is the maximum probability of Type I error that we are willing to tolerate.
Explanation
Common choices are 0.05, 0.01, 0.10. It determines the critical value (e.g., 1.96 for alpha=0.05 two-sided).
- 25
How does the choice of alpha affect the test?
Model answer
A smaller alpha makes it harder to reject H0 (reduces Type I error) but increases Type II error (reduces power).
Explanation
There is a trade-off; the Neyman-Pearson paradigm chooses alpha first, then maximizes power.
- 26
What is the relationship between the rejection region and the test statistic?
Model answer
The test psi(x) is an indicator function: psi(x)=1 if the test statistic falls in the rejection region, and 0 otherwise.
Explanation
Thus, any test can be described by its rejection region, and vice versa.
- 27
In the clinical trial example, why might the sample sizes for drug and control groups differ?
Model answer
Practical constraints like patient availability or ethical concerns can cause imbalance; also design of experiments may deliberately allocate more subjects to a group with higher variance.
Explanation
Unequal sample sizes are common; the test must account for different variances and sample sizes.
- 28
What is the 'worst-case' power of a test?
Model answer
It is the infimum over all heta in Theta1 of the probability of rejecting H0 when heta is true.
Explanation
Since power varies across the alternative, we consider the minimum to ensure a guaranteed level of performance.
- 29
In the Cherry Blossom example, why do we fix the variance to 373?
Model answer
We assume the variance is unchanged from 2009 to 2012, allowing us to focus the test solely on the mean.
Explanation
This is a modeling assumption; it simplifies the problem and lets the data speak about the mean difference.
- 30
How would the hypothesis test change if we allowed the variance to differ?
Model answer
We would need a two-sample test for means with unknown variances, typically using a t-test or a normal approximation with estimated variances.
Explanation
Additional unknown parameters make the test more complex and potentially less powerful.
- 31
What does it mean to 'fail to reject H0'?
Model answer
It means the data do not provide enough evidence to conclude that H1 is true; it does not prove H0 is true.
Explanation
The decision is about evidence, not truth; H0 is treated as plausible until contradicted.
- 32
Give an example of a test that always rejects H0. Why is it a bad test?
Model answer
psi(x)=1 for all x always rejects H0. It has Type I error probability 1, making it useless for controlling false discoveries.
Explanation
A good test should have low Type I error under H0 and high power under H1.
- 33
In the coin example, if we observed 80 heads out of 80, what is the approximate p-value under H0?
Model answer
The p-value is approximately P(|Z| ge sqrt{80}rac{1-0.5}{sqrt{0.5 imes0.5}} ) = P(|Z|ge 8.94) approx 0.
Explanation
Such extreme evidence leads to rejection at any reasonable alpha.
- 34
Why is the test statistic for the coin example often written with sqrtp0(1−p0) rather than sqrt{ar{X}(1-ar{X})}?
Model answer
Under H0, p0 is known, so using it gives an exact (asymptotic) standard normal distribution, whereas using ar{X} adds estimation error.
Explanation
The standardized statistic with p0 is more directly linked to the null hypothesis.
- 35
What is the difference between a one-sided and a two-sided test?
Model answer
A one-sided test has an alternative in one direction (e.g., mu<103.5); a two-sided test considers deviations in either direction (peq0.5).
Explanation
One-sided tests have more power to detect an effect in the specified direction.

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