Game 9 · Testing and estimation

Which statistical test fits this data?

Types of data, and when to use the t-test, chi-square, ANOVA or a non-parametric test.

Read with: Choosing a test, Checking assumptions71 DNB questions

Play

Read the study, pick the test

Most rounds describe a made-up study and ask for the test. Some rounds make you walk the decision tree one question at a time, sort variables by type of data, or work out an expected count to choose between chi-square and Fisher's exact test. You have three lives.

3 lives leftRound 1Score 0Streak 0Best 0

Loading the first round…

The idea

Three questions decide the test

The test is chosen by the data and the design, not by what gives the smallest p-value. Answer three questions in order, and write the answers in the protocol before the data are collected.

  1. What type of outcome? A measurement, an ordered grade, a category counted as numbers of patients, or a time to an event.
  2. How many groups? One group against a reference value, two groups, or three or more.
  3. Independent or paired? Different patients in each group, or the same patients measured more than once (or matched pairs).

For a measurement there is one more question: is it roughly normal (for paired data, are the differences roughly normal)? If yes, a parametric test such as the t-test or ANOVA uses the actual values. If the data are skewed or have outliers, a rank (non-parametric) test such as Mann–Whitney or Kruskal–Wallis is used instead.

FeatureParametric testsNon-parametric tests
SuitsMeasurements that are roughly normalSkewed measurements, outliers, ordinal scores
Works onThe actual values (means, SDs)Ranks or signs
AssumesNormality, similar variances, independence, interval or ratio scaleNo particular distribution
Examplest-tests, ANOVA, Pearson correlationMann–Whitney, Wilcoxon, Kruskal–Wallis, Friedman, Spearman

Types of data

Nominal, ordinal, interval, ratio

In 1946 S. S. Stevens described four scales of measurement. Each scale adds one property to the one before it.

ScaleWhat it hasExampleSummaryUsual tests
NominalNamed categories, no orderBlood group, sex, cured yes/noCounts, percentages, modeChi-square, Fisher's exact
OrdinalOrder, unequal gapsPain grade, NYHA class, cancer stageMedian, percentilesMann–Whitney, Wilcoxon, Spearman
IntervalEqual gaps, arbitrary zeroTemperature in °CMean, SDt-test, ANOVA if roughly normal
RatioEqual gaps and a true zeroWeight, haemoglobinMean, SDt-test, ANOVA if roughly normal

A second way to classify: qualitative (categorical) data are nominal or ordinal. Quantitative (numerical) data are either discrete, counts that take only whole numbers (seizures in a month), or continuous, measurements that can take any value in a range (haemoglobin). Coding does not change the scale: blood groups entered as 1, 2, 3 and 4 are still nominal.

Memory trick

NOIR: Nominal, Ordinal, Interval, Ratio. Order, then equal gaps, then a true zero.

The test map

Find the outcome, then the design

OutcomeTwo independent groupsTwo paired setsThree or more independent groupsThree or more repeated measurementsRelation between two variables
Measurement, roughly normalUnpaired t-testPaired t-testOne-way ANOVARepeated measures ANOVAPearson correlation
Measurement skewed, or ordinal scoresMann–Whitney UWilcoxon signed-rankKruskal–WallisFriedmanSpearman correlation
Categories (counts)Chi-square, or Fisher's exact if expected counts are smallMcNemarChi-square (r × c table)Cochran QChi-square, logistic regression
Time to an eventLog-rank test—Log-rank test—Cox regression

One group against a reference value: the one-sample t-test for a normal measurement, or the Wilcoxon signed-rank test for a skewed one. With three or more groups, do not run repeated t-tests: three tests at 5% give up to a 14% chance of a false positive. Use ANOVA or Kruskal–Wallis, then a post hoc test (Tukey, Bonferroni) if the result is significant.

The full decision tree, with worked examples of every test, is in the Choosing a test chapter. How to check normality, and when a t-test is still safe with skewed data in large groups, is in the Checking assumptions chapter.

Chi-square or Fisher

Small expected counts change the test

The chi-square p-value is an approximation. It needs adequate expected counts: no more than 20% of cells with an expected count below 5, and no cell below 1. In a 2 × 2 table one cell below 5 is already 25% of the cells, so Fisher's exact test is used instead. It calculates the exact probability and is valid at any sample size.

Expected count = row total × column total ÷ grand total

row total
patients in that group
column total
patients with (or without) the outcome, both groups together
grand total
all patients in the table

Teaching example from the chapter: complications in 1 of 10 patients with a new technique and 5 of 10 with the standard one. Expected complications = 10 × 6 ÷ 20 = 3 in each row, so 2 of the 4 cells are below 5. Fisher's exact test gives p = 0.14. Note that the rule is about expected counts, not observed ones.

Writing the answer

How to write this in a 10-mark DNB answer

  1. Start with the types of data (nominal, ordinal, interval, ratio, and discrete or continuous), one example each.
  2. Define parametric and non-parametric tests, and list the assumptions of parametric tests (normality, equal variances, independence, interval or ratio scale).
  3. Draw the test map as a table: outcome type down the side, design across the top, with the paired partners (unpaired t and Mann–Whitney, paired t and Wilcoxon, ANOVA and Kruskal–Wallis, repeated measures ANOVA and Friedman, Pearson and Spearman).
  4. For the test asked (t-test, chi-square, ANOVA), give its formula, degrees of freedom and one worked example with round numbers.
  5. Add the conditions: Fisher's exact test when expected counts are below 5, a post hoc test after a significant ANOVA, McNemar for paired proportions.
  6. End with one line on reporting: name the test, give the exact p-value with the effect size and its 95% CI.

The one thing to remember

The outcome type, the number of groups and pairing choose the test. Decide all three before you see the data.

Past papers

DNB questions this game helps you answer

Questions from NBE theory papers for DNB, DrNB and Diploma courses, most often asked first. The tag after each question is the specialty and the year it was set.

  1. ×7ANOVA.DNB Physiology · Jun 2025Diploma Anaesthesiology · Jun 2025DNB Nuclear Medicine · Dec 2025DNB Anaesthesiology · Apr 2023DNB Physiology · Jun 2022DNB Biochemistry · Jun 2022DNB Physiology · Dec 2017
  2. ×2Student's t test.DrNB Medical Gastroenterology · Apr 2023DrNB Medical Gastroenterology · Dec 2021
  3. ×2a) Non-parametric tests. b) Principles of randomization. c) Names of randomized multi institutional trials with respect to coronary artery bypass surgery and their salient findings.DrNB Cardio Vascular and Thoracic Surgery · Dec 2022DNB Direct 6-Year (SS) · Dec 2022
  4. ×1Brief summary of non parametric tests. [2.5]DrNB Endocrinology · Apr 2026
  5. ×1Student's t-test. [2]DrNB Paediatric Surgery · Apr 2026
  6. ×1Types of variables. [5]DrNB Cardiology · Apr 2026
  7. ×1ANOVA. [2.5]DNB Biochemistry · Dec 2025
  8. ×1Chi square test, paired T test, triple blind study, p value. [2+2+2+1]Diploma Anaesthesiology · Dec 2025
  9. ×1Chi-square test.DNB Nuclear Medicine · Jun 2025
  10. ×1Discuss the different statistical measures to observe for test of significance related to parametric and non-parametric data.DNB Psychiatry · Dec 2025
  11. ×1Enumerate the statistical tests used for quantitative data. Write in brief about any one of them.DrNB Cardiac Anaesthesia · Jun 2025
  12. ×1Student's t-test. [2.5]DNB Pharmacology · Dec 2025
  13. ×1What is Chi-square test and its uses?DrNB Neonatology · Jan 2025
  14. ×1Wilcoxon signed rank test.DNB Community Medicine · Jun 2025
  15. ×1Chi Square test.DNB Nuclear Medicine · Oct 2024
  16. ×1One way ANOVA test.DNB Biochemistry · May 2024
  17. ×1Post hoc comparisons after ANOVA test.DNB Community Medicine · May 2024
  18. ×1a) Measures of Central Tendency. b) Parametric and non parametric tests. c) Analysis of variance.DrNB Medical Gastroenterology · May 2024
  19. ×1Compare parametric and nonparametric tests.DNB Emergency Medicine · Apr 2023
  20. ×1Explain the chi-square test.DNB Emergency Medicine · Apr 2023
  21. ×1Non parametric tests.DrNB Neonatology · Oct 2023
  22. ×1Paired t test.DNB Community Medicine · Oct 2023
  23. ×1Student's t-test.DrNB Endocrinology · Oct 2023
  24. ×1What is normal distribution? What are the prerequisites for applying parametric tests?DNB Pharmacology · Oct 2023
  25. ×1't' Test and Chi Square test.DNB Nuclear Medicine · Jun 2022
  26. ×1Chi square test.DNB Nuclear Medicine · Dec 2022
  27. ×1Describe various parametric tests used in reasearch.DNB Pharmacology · Jun 2022
  28. ×1What are the types of errors in research ? What is Chi-square test ?DNB Otorhinolaryngology ENT · Jun 2022
  29. ×1Compare parametric versus non parametric tests. Give two examples for each one of them.DNB Haematology · Dec 2021
  30. ×1Describe parametric and non-parametric statistical tests and their application.DNB Paediatric Surgery · Dec 2021
  31. ×1Discuss parametric versus non-parametric statistical tests.DNB Emergency Medicine · Jun 2021
  32. ×1Enumerate and describe various parametric and non-parametric statistical tests for studying differences and correlation in two different groups of subjects.DNB Physiology · Dec 2021
  33. ×1Non-parametric tests.DNB Pharmacology · Jun 2021
  34. ×1Briefly discuss analysis of variance (ANOVA) with an example. List three post hoc tests commonly used after results are significant for ANOVA.DNB Pharmacology · Dec 2020
  35. ×1Parametric Versus Non-Parametric tests.DNB Pharmacology · Jun 2020
  36. ×1a) One-way ANOVA and its Post-hoc tests. b) Tests to check normal distribution of data.DNB Biochemistry · Jun 2020
  37. ×1Chi square testDNB Family Medicine · Dec 2019
  38. ×1Non-Parametric tests of significance.DNB Community Medicine · Jun 2019
  39. ×1Parametric tests of significance.DNB Community Medicine · Jun 2019
  40. ×1Student’s t test and chi square test.DNB Nuclear Medicine · Jun 2019
  41. ×1Various non-parametric tests and their utility.DrNB Neonatology · Jun 2019
  42. ×1What is Analysis of Variance (ANOVA)? What are the types of ANOVA? Write about the applications of ANOVA in Psychiatry.DNB Psychiatry · Jun 2019
  43. ×1When the same patient group is analyzed prospectively and retrospectively, what is the type of Student’s t test used?DNB Paediatric Surgery · Jun 2019
  44. ×1a) Statistical significance of difference in means. b) The Chi-square test.DNB Respiratory Medicine · Dec 2019
  45. ×1"Student t test" and "Chi-square test"DrNB Neurology · Jun 2018
  46. ×1Chi-Square test.DrNB Cardiology · Dec 2018
  47. ×1Enumerate Non-parametric tests. Explain them with example for qualitative data.DNB Community Medicine · Dec 2018
  48. ×1a) ANOVA. b) Chi- Square test and t- test. c) Correlation and regression coefficients in statistical analysis.DNB Biochemistry · Dec 2018
  49. ×1ANOVADNB Anaesthesiology · Dec 2017
  50. ×1Chi Square Test.DrNB Surgical Gastroenterology · Dec 2017
  51. ×1Chi-Square testDNB Nuclear Medicine · Jun 2017
  52. ×1Mention and justify the statistical tests which would be most appropriate for the following data: a. Comparison of two groups of sample size 150 each where the parameter /data is a continuous variable and is normally distributed. b. Comparison of two different groups of sample size 20 each where the data is a continuous variable but is not normally distributed. c. Comparison of bilirubin values pre and post therapy (4 weeks) in patients with acute hepatitis E who are given an experimental new drug. Sample size is 200 patients. d. Comparison of outcome (alive or dead) in patients given an experimental drug for severe enteric fever. The control group was given inj. Ceftriaxone. Sample size 50 in each group.DNB Gastroenterology · Dec 2017
  53. ×1Parametric Tests.DNB Community Medicine · Dec 2017
  54. ×1Utility and limitations of non-parametric tests of significance.DrNB Nephrology · Jun 2017
  55. ×1Differentiate between parametric and non-parametric tests for statistical significance.DNB Anaesthesiology · Jun 2016
  56. ×1How is correlation analysis performed for a nonparametric data?DNB Biochemistry · Dec 2016
  57. ×1Non Parametric tests.DNB Community Medicine · Dec 2016
  58. ×1Paired t-test.DrNB Urology · Dec 2016
  59. ×1Parametric versus Non-Parametric tests.DNB Pharmacology · Dec 2016
  60. ×1Define the types of variables that the researcher will be analyzing.DNB Gastroenterology · Dec 2016
  61. ×1Chi Square testDNB Nuclear Medicine · Dec 2015
  62. ×1Differentiate between parametric and non parametric tests of significance.DNB Anaesthesiology · Jun 2015
  63. ×1Discuss applications of statistical tests. What are limitations and deficiencies of these tests, related to research skills in cardiac surgery?DrNB Cardio Vascular and Thoracic Surgery · Dec 2014
  64. ×1What are parametric and nonparametric tests employed in Research?DNB Pharmacology · Dec 2014
  65. ×1What do you mean by parametric and nonparametric data? What statistical tests are performed to find out the significance of difference in these data between two groups?DrNB Urology · Jun 2014
  66. ×1When would you use the Wilcoxon Rank Sum Test?DNB Pharmacology · Dec 2014
  67. ×1Briefly discuss the following: (a) Preanalytical variable (b) Total quality management (c) ANOVADNB Biochemistry · Dec 2013
  68. ×1What are non-parametric tests of significance? Classify and enumerate these tests and briefly discuss non-parametric tests of significance for nominal data.DNB Community Medicine · Dec 2013
  69. ×1What is Chi-Square test? Discuss its application in clinical medicine?DrNB Cardiology · Jun 2013
  70. ×1What is the difference between nominal and ordinal data? Describe student t test and its use. What is a case control study? What does P value signify?DrNB Urology · Dec 2013
  71. ×1Discuss parametric and non parametric tests in evaluating results of biomedical research. Mention different tests and their applicability.DNB Pharmacology · Dec 2011

Read next

The chapters behind this game