When do you use a paired t-test?
Answer: When observations come in natural pairs (before/after, matched subjects); test the mean of the differences.
Explanation
Reduces variability from subject differences.
Explore · Flashcard deck
Shared from Quizcard. Flip through the cards below, or copy the deck to edit and study it in your own account — free.
Space flips · arrows move · Esc exits
When do you use a paired t-test?
Answer: When observations come in natural pairs (before/after, matched subjects); test the mean of the differences.
Reduces variability from subject differences.
Two-proportion z-test: what is the pooled proportion?
Answer: p̂ = (x1 + x2) / (n1 + n2), used in the standard error under H0 that the proportions are equal.
Confidence intervals use the separate proportions.
When do you use a two-sample t-test?
Answer: Comparing means of two independent groups.
Welch's version does not assume equal variances.
What sample size is needed for a margin of error m in a proportion CI?
Answer: n = (z*/m)² · p*(1 − p*), using p* = 0.5 if unknown.
For m = 0.03 at 95%: n ≈ 1,068.
What is a one-sided test and when is it appropriate?
Answer: Ha specifies a direction (μ > μ0); appropriate only when the direction was decided in advance for a substantive reason.
Doubles the power in that direction but ignores the other.
Why does randomization matter for inference?
Answer: It makes groups comparable so differences can be attributed to the treatment, and it justifies the probability model.
Observational data risk confounding.
What is the Bonferroni correction?
Answer: Divide α by the number of tests to control the family-wise error rate.
Conservative; reduces power.
Why is 'p-hacking' a problem?
Answer: Testing many hypotheses or tweaking analyses until something reaches p < 0.05 inflates false positives.
Preregistration and corrections (Bonferroni) help.
What is the relationship between a confidence interval and a two-sided test?
Answer: If the 95% CI excludes the null value, the test rejects H0 at α = 0.05.
They convey the same evidence, but the CI shows the magnitude.
Statistical vs practical significance?
Answer: A tiny effect can be statistically significant with a huge sample; practical significance asks whether the effect matters.
Report effect sizes and confidence intervals.
How do you test whether a regression slope is significant?
Answer: t = b / SE(b) with n − 2 df; H0: β = 0.
A confidence interval for the slope not containing 0 means significance.
What does a one-way ANOVA test?
Answer: Whether the means of three or more groups are all equal.
F = between-group variance / within-group variance; follow up with post-hoc tests.
How are expected counts computed in a test of independence?
Answer: (row total × column total) / grand total for each cell.
df = (rows − 1)(columns − 1); expected counts should be ≥ 5.
Chi-square test statistic formula
Answer: χ² = Σ (observed − expected)² / expected
Large values indicate poor fit.
When do you use a chi-square goodness-of-fit test?
Answer: To test whether observed counts in one categorical variable match expected proportions.
df = categories − 1.
Write the hypotheses for testing whether a coin is fair.
Answer: H0: p = 0.5; Ha: p ≠ 0.5 (two-sided).
One-sided tests use < or > in Ha.
What is a test statistic?
Answer: A standardized value (z, t, χ², F) measuring how far the sample result is from what H0 predicts.
Compare it with a critical value or convert it to a p-value.
What is a significance level (α)?
Answer: The threshold probability for rejecting H0; the maximum acceptable Type I error rate, commonly 0.05.
Choose α before collecting data.
Sample: 60 of 100 prefer A; test H0: p = 0.5. Compute z.
Answer: z = (0.60 − 0.50) / √(0.25/100) = 0.10 / 0.05 = 2.0
Two-sided p ≈ 0.046; reject at α = 0.05.
Conditions for a one-proportion z-test?
Answer: Random sample, independence, and np0 ≥ 10 and n(1 − p0) ≥ 10.
Expected successes and failures both at least 10.
One-proportion z statistic
Answer: z = (p̂ − p0) / √(p0(1 − p0)/n)
Use p0 (not p̂) in the standard error for the test.
Conditions for a t-test on a mean?
Answer: Random sample, independence (n < 10% of population), and approximately normal population or n ≥ 30.
Check for outliers in small samples.
Sample: n = 25, x̄ = 52, s = 10, H0: μ = 50. Compute t.
Answer: t = (52 − 50) / (10/√25) = 2 / 2 = 1.0
With 24 df, p ≈ 0.33 two-sided; fail to reject.
One-sample t statistic formula
Answer: t = (x̄ − μ0) / (s / √n)
x̄ sample mean, μ0 hypothesized mean, s sample SD.
When do you use a one-sample z-test vs t-test for a mean?
Answer: z when σ is known (rare); t when σ is estimated from the sample.
t has n − 1 degrees of freedom.
How can you increase the power of a test?
Answer: Larger sample size, larger true effect, higher α, or less variability.
Power analysis is done before the study.
Define Type I and Type II errors in a drug trial.
Answer: Type I: concluding the drug works when it does not. Type II: concluding it does not work when it does.
α controls Type I; power = 1 − β controls Type II.
What does 'fail to reject H0' mean?
Answer: The data do not provide enough evidence against H0; it does not prove H0 true.
Absence of evidence is not evidence of absence.
A p-value is 0.03 with α = 0.05. What do you conclude?
Answer: Reject H0: there is statistically significant evidence for Ha.
At α = 0.01 you would fail to reject.
How do you decide using a p-value?
Answer: If p ≤ α, reject H0; otherwise, fail to reject H0.
Never 'accept' H0.
All Statistics decks → · Explore everything
Make your own deck like this
Upload a PDF, Word doc, or slides and Quizcard writes the cards for you, or build them by hand. Free to start, no credit card required.