Login Register

Access the GIFSQ Portal

Select your user type to log in or register a new account.

Student Portal

Access your food safety courses and exams.

Instructor Portal

Manage courses, view student submissions, and grade quizzes.

Company Portal

Manage corporate setup, view employee logs, and access QA services.

Hypothesis Testing Quiz

GIFSQ ID: ART-2117

Test your knowledge with this free 20-question Hypothesis Testing quiz from Mathematics & Biostatistics for Food Science …

What this quiz covers

Hypothesis testing is the machinery that turns a food science experiment into a decision, and this quiz covers the ideas that stop a good experiment from being read badly. It starts with the two hypotheses: the null is the default no effect, no difference statement that testing tries to disprove, and the alternative is the research claim that a real effect or difference exists. A Type I error is a false positive, rejecting a true null, and alpha, commonly 0.05, is the threshold for rejecting the null, accepting a 5 percent false-positive rate. A Type II error is a false negative, failing to detect a real effect, and statistical power is 1 minus beta, the probability of detecting a real effect when it exists. A p-value of 0.03 means that if the null were true, you would see data this extreme only 3 percent of the time: it is evidence against the null, not the probability that the null is true.

The quiz then covers the tests themselves and the traps around them. A t-test compares the means of two groups, a paired t-test handles before and after or matched-pair comparisons such as the same panelists rating two products, the chi-square test handles categorical data such as preference counts, and the Wilcoxon rank-sum test is the non-parametric alternative for two groups when normality cannot be assumed. Test assumptions have to be checked before a t-test, because violations can invalidate p-values and small samples are especially sensitive. A 95 percent confidence interval excluding zero tells you the difference is significant at alpha 0.05, consistent with the p-value, and one-tailed tests examine a directional claim while two-tailed tests examine any difference, a choice that must be made before the data are seen.

Significance is not the same as importance

A trial can find a statistically significant yield gain of 0.1 percent with p less than 0.001 and still be ignored by the plant, because the effect is too small to matter practically. The same gap appears in shelf-life testing, where the null is no difference from fresh because statistics can reject a difference but never prove exact equality, and in multiple testing, where running many tests raises the chance of false positives and needs correction such as Bonferroni. Pre-registering hypotheses and alpha before data collection prevents p-hacking, and absence of evidence is not evidence of absence, because a non-significant result may just reflect low power.

How to use this quiz

Take the 20 questions in order, then read the answer explanations below the quiz. Each explanation names the correct answer and the reason behind it in plain words. If you analyse trial or panel data, pay special attention to the triangle taste test question, where 20 of 30 correct far exceeds the 10 expected by chance, and to the p-value question, because that single definition is the one most often stated backwards in meetings.

Hypothesis Testing Quiz
Uncategorized

Choose how you want to play

Sound effects
🔈 Volume
Show explanations
🔊 Auto-read every question
Reading speed

A short note: hypothesis testing

Hypothesis testing starts with the null hypothesis, H0: no effect, no difference. The alternative, H1, claims a real effect exists. Alpha, usually 0.05, is the cut-off for rejecting H0, accepting a 5 percent false-positive rate.

A p-value of 0.03 tells us that if H0 were true, data this extreme would appear only 3 percent of the time. A 95 percent confidence interval that stays clear of zero signals a significant difference.

A Type I error means rejecting a true null, a false positive. A Type II error means missing a real effect, a false negative. Power, 1 minus beta, is the chance of detecting a real effect. A non-significant result is not proof of no effect: it may reflect low power.

A t-test compares group means. A paired t-test compares before and after, or matched pairs. The Wilcoxon rank-sum test compares two groups without assuming normality. The chi-square test suits categorical data. Check assumptions such as normality first: violations can spoil p-values, and small samples are especially sensitive.

Running many tests raises the false-positive chance, needing correction such as Bonferroni. Register hypotheses and alpha before data collection to prevent p-hacking. A one-tailed test covers a directional claim; a two-tailed test covers any difference. In a triangle test, 20 correct of 30 far exceeds 10 by chance. Statistics can only reject difference, never prove equality. A significant 0.1 percent gain may still be too small to matter.

Practical takeaway: set alpha and hypotheses before collecting data, and check assumptions first.

Questions and answers

Note: the player shuffles the questions and the answer options on every attempt, so the numbers in the player will not match the numbers in the questions and answers below. Match each answer by its wording.

Question 1: What is a Type I error?

  • A. Missing a real effect during normal plant operations
  • B. False positive, rejecting a true null hypothesis
  • C. Always harmless during normal operations across the facility
  • D. A calculation mistake during routine operations each day

Correct answer: False positive, rejecting a true null hypothesis

A Type I error is a false positive : rejecting a true null hypothesis. At alpha 0.05 you accept a 5% chance of this happening.

Question 2: Why check test assumptions (e.g., normality) before a t-test?

  • A. Violations can invalidate p-values; small samples are especially sensitive
  • B. It is optional during normal operations across the facility
  • C. Tests always work under routine conditions throughout the plant
  • D. Assumptions never matter during routine operations each day

Correct answer: Violations can invalidate p-values; small samples are especially sensitive

Checking assumptions before a t-test matters because violations can invalidate p-values, and small samples are especially sensitive. The test's guarantees only hold when its conditions do.

Question 3: What is a paired t-test for?

  • A. Before/after or matched-pair comparisons, e.g., same panelists rating two products
  • B. Three groups during normal operations across the facility
  • C. It is obsolete under routine conditions throughout the plant
  • D. Independent groups during normal operations across the facility

Correct answer: Before/after or matched-pair comparisons, e.g., same panelists rating two products

A paired t-test compares before/after or matched pairs, such as the same panelists rating two products. Pairing removes between-subject noise.

Question 4: What is the null hypothesis (H₀)?

  • A. Always true during normal operations across the facility
  • B. The alternative under routine conditions throughout the plant
  • C. The exciting claim during routine operations each day
  • D. The default 'no effect/no difference' statement that testing tries to disprove

Correct answer: The default 'no effect/no difference' statement that testing tries to disprove

The null hypothesis is the default 'no effect, no difference' statement that testing tries to disprove. You assume nothing is happening, then look for evidence otherwise.

Question 5: What does a 95% confidence interval excluding zero tell you about a difference?

  • A. Nothing during normal operations across the facility from receiving through dispatch
  • B. It is not significant under routine conditions throughout the plant
  • C. CI is unrelated during routine operations each day
  • D. The difference is significant at α=0.05, consistent with the p-value

Correct answer: The difference is significant at α=0.05, consistent with the p-value

A 95% confidence interval excluding zero means the difference is significant at alpha 0.05, consistent with the p-value. CI and test tell the same story in different dialects.

Question 6: Why is 'absence of evidence' not 'evidence of absence'?

  • A. They are identical during normal operations across the facility from intake through final dispatch
  • B. Power is irrelevant under routine conditions throughout the plant from receiving through dispatch
  • C. A non-significant result may just reflect low power, not proof of no effect
  • D. It is during routine operations each day from start-up through shutdown

Correct answer: A non-significant result may just reflect low power, not proof of no effect

Absence of evidence is not evidence of absence because a non-significant result may just reflect low power. You failed to find an effect : you didn't prove there isn't one.

Question 7: What is multiple testing inflation?

  • A. Running many tests raises the chance of false positives, needing correction (e.g., Bonferroni)
  • B. A good thing during normal operations across the facility from intake through final dispatch
  • C. It is impossible under routine conditions throughout the plant from receiving through dispatch
  • D. It lowers p-values during routine operations each day from start-up through shutdown

Correct answer: Running many tests raises the chance of false positives, needing correction (e.g., Bonferroni)

Multiple testing inflates false positives: running many tests raises the chance one looks significant by luck, so corrections like Bonferroni are needed. More looks, more luck.

Question 8: In a triangle taste test, 20 of 30 panelists pick the odd sample. Is this significant at α=0.05?

  • A. Can't tell during normal operations across the facility from intake through final dispatch
  • B. Yes, far above the 10 expected by chance (p < 0.001); panelists detect a difference
  • C. No under routine conditions throughout the plant from intake through final dispatch
  • D. Borderline during routine operations each day from receiving through dispatch under the plant's operating conditions

Correct answer: Yes, far above the 10 expected by chance (p < 0.001); panelists detect a difference

In the triangle test, 20 of 30 correct far exceeds the 10 expected by chance, with p below 0.001. Panelists genuinely detect a difference.

Question 9: What is a one-tailed versus two-tailed test?

  • A. One-tailed tests a directional claim (greater than); two-tailed tests any difference
  • B. Tails are irrelevant during normal operations across the facility
  • C. Same thing under routine conditions throughout the plant
  • D. One is wrong during routine operations each day

Correct answer: One-tailed tests a directional claim (greater than); two-tailed tests any difference

A one-tailed test examines a directional claim (greater than); a two-tailed test examines any difference. The choice must precede the data.

Question 10: What is a Type II error?

  • A. False positive during normal operations across the facility
  • B. A typo under routine conditions throughout the plant
  • C. False negative, failing to detect a real effect
  • D. Impossible during normal operations across the facility

Correct answer: False negative, failing to detect a real effect

A Type II error is a false negative : failing to detect a real effect. Beta is its probability; power is one minus beta.

Question 11: Why pre-register hypotheses and α before data collection?

  • A. Bureaucracy during normal operations across the facility from intake through final dispatch
  • B. It is optional under routine conditions throughout the plant
  • C. It prevents p-hacking, choosing analyses after seeing data to manufacture significance
  • D. It speeds work during normal operations across the facility

Correct answer: It prevents p-hacking, choosing analyses after seeing data to manufacture significance

Pre-registering hypotheses and alpha before data collection prevents p-hacking : choosing analyses after seeing the data to manufacture significance. The plan must beat the peek.

Question 12: When is the chi-square test used?

  • A. Categorical data, e.g., testing if preference counts differ from chance
  • B. Continuous data during normal operations across the facility
  • C. It is outdated under routine conditions throughout the plant
  • D. Means during routine operations each day from intake through final dispatch

Correct answer: Categorical data, e.g., testing if preference counts differ from chance

The chi-square test is for categorical data, such as testing whether preference counts differ from chance. Counts in categories, not measured values.

Question 13: What does a p-value of 0.03 mean?

  • A. 97% proven during normal operations across the facility from intake through final dispatch
  • B. 3% chance H₀ is true under routine conditions throughout the plant from receiving through dispatch
  • C. It is an error during routine operations each day from start-up through shutdown
  • D. If H₀ were true, you'd see data this extreme only 3% of the time, evidence against H₀

Correct answer: If H₀ were true, you'd see data this extreme only 3% of the time, evidence against H₀

A p-value of 0.03 means that if the null were true, you'd see data this extreme only 3% of the time. It is evidence against the null, not the probability the null is true.

Question 14: What is the alternative hypothesis (H₁)?

  • A. A guess during normal operations across the facility
  • B. The research claim, a real effect or difference exists
  • C. Always false under routine conditions throughout the plant
  • D. The same as H₀ during routine operations each day

Correct answer: The research claim, a real effect or difference exists

The alternative hypothesis is the research claim: a real effect or difference exists. It is what the study hopes to support by rejecting the null.

Question 15: In shelf-life testing, why test H₀: 'no difference from fresh' rather than proving equality?

  • A. It is tradition during normal operations across the facility from intake through final dispatch
  • B. Statistics can only reject difference, never prove exact equality, equivalence testing needs special methods
  • C. H₀ is always true under routine conditions throughout the plant from receiving through dispatch
  • D. It is easier during routine operations each day from start-up through shutdown

Correct answer: Statistics can only reject difference, never prove exact equality, equivalence testing needs special methods

Shelf-life testing uses 'no difference from fresh' as the null because statistics can reject a difference but never prove exact equality. Equivalence needs special methods.

Question 16: What is statistical power?

  • A. Sample size during normal operations across the facility from intake through final dispatch
  • B. Always 0.95 under routine conditions throughout the plant from receiving through dispatch
  • C. 1 − β, the probability of detecting a real effect when it exists
  • D. The p-value during routine operations each day from start-up through shutdown

Correct answer: 1 − β, the probability of detecting a real effect when it exists

Statistical power is 1 minus beta : the probability of detecting a real effect when it exists. Underpowered studies miss what powered ones find.

Question 17: A trial finds a statistically significant yield gain of 0.1 percent with p less than 0.001. Why might the plant still ignore the result?

  • A. The p-value is too high during normal operations across the facility
  • B. Significance always demands action under routine conditions throughout the plant
  • C. The trial must be wrong during routine operations each day
  • D. The effect is statistically significant but too small to matter practically

Correct answer: The effect is statistically significant but too small to matter practically

A significant 0.1% yield gain with tiny p may still be ignored because the effect is too small to matter practically. Statistical significance is not practical significance.

Question 18: What is the significance level α (commonly 0.05)?

  • A. Always 0.05 during normal operations across the facility
  • B. A guarantee under routine conditions throughout the plant
  • C. The threshold for rejecting H₀, accepting a 5% false-positive rate
  • D. The p-value during normal operations across the facility

Correct answer: The threshold for rejecting H₀, accepting a 5% false-positive rate

Alpha, commonly 0.05, is the threshold for rejecting the null : accepting a 5% false-positive rate. It is a decision rule set before the data.

Question 19: When is a t-test used?

  • A. Counting defects during normal operations across the facility from receiving through dispatch
  • B. Comparing the means of two groups (e.g., two packaging films' shelf life)
  • C. Three groups under routine conditions throughout the plant from start-up through shutdown
  • D. Any data during routine operations each day from intake through final dispatch

Correct answer: Comparing the means of two groups (e.g., two packaging films' shelf life)

The t-test compares the means of two groups, such as two packaging films' shelf life. Two groups, one continuous outcome.

Question 20: What is the Wilcoxon rank-sum test?

  • A. A t-test during normal operations across the facility
  • B. It is parametric under routine conditions throughout the plant
  • C. Obsolete during normal operations across the facility
  • D. A non-parametric alternative comparing two groups without assuming normality

Correct answer: A non-parametric alternative comparing two groups without assuming normality

The Wilcoxon rank-sum test is the non-parametric alternative comparing two groups without assuming normality. Ranks replace raw values when distributions misbehave.