PROBABILITY & STATISTICS · INTERVIEW QUESTION
Explain the difference between parametric and non-parametric tests. When would you use each?
🟡 intermediate · Statistical Inference
Hint: Assumptions about the underlying distribution.
Answer
Parametric tests assume data follows a specific distribution (usually normal): t-test, ANOVA, Pearson correlation, linear regression. More powerful when assumptions hold. Non-parametric tests avoid a specified finite-dimensional distribution family, but still require assumptions such as independent observations, correct pairing, or symmetry depending on the test: Mann-Whitney U, Kruskal-Wallis, Spearman correlation, Wilcoxon signed-rank.
Use non-parametric when:
- Data is ordinal
- Distribution is heavily skewed
- Sample size is very small
- Assumptions of normality are violated
- **Data has outliers.
Trade-off:** relative statistical power depends on the data distribution and alternative; non-parametric tests can outperform parametric tests when parametric assumptions fail. Bootstrap methods are a modern non-parametric alternative: resample with replacement to estimate any statistic's distribution. Permutation tests are exact under an appropriate randomization/exchangeability null and permutation scheme; unrestricted shuffling is invalid for many paired, clustered or time-dependent datasets.
Related questions
- What is the difference between Type I and Type II errors? How do they relate to precision and recall?
- What is the difference between descriptive and inferential statistics?
- What is the multiple comparisons problem? How do you correct for it?
- What is a confidence interval? How is it different from a credible interval?
- Explain Bayes' theorem and give an ML application.