INTERMEDIATEFrequently Tested 4 min read 4 views
Statistical Inference: MLE, MAP Estimation, Confidence Intervals & Hypothesis Testing
Maximum Likelihood vs Maximum A Posteriori derivations (Bernoulli/Beta & Gaussian priors), unbiased sample variance Bessel correction (n-1), Z vs t tests, p-values, and Type-I/II errors.
1. Worked MLE & Conjugate MAP Derivations
- Bernoulli Coin ( Heads in Flips) with Prior:
- MLE: (if , extreme small-sample overfitting!).
- MAP with : Notice act as pseudo-counts (Laplace smoothing corresponds to posterior mean under uniform !).
- Linear Regression Probabilistic Equivalence:
- Gaussian noise + Gaussian prior Ridge Regression ().
- Gaussian noise + Laplace prior Lasso Regression!
2. Hypothesis Testing, -Values & Test Selection Matrix
| Statistical Test | Distributional Setup | Test Statistic |
|---|---|---|
| One/Two-Sample -Test | Population variance known (or large via CLT) | |
| Student’s -Test | Gaussian population with unknown, estimated by | |
| Chi-Square () Test | Categorical goodness-of-fit or contingency table independence | |
| One-Way ANOVA (-Test) | Comparing means across groups simultaneously |
Common Exam Mistake
What a -Value Is (and Is NOT!): The -value is — it is NEVER ! Similarly, a Frequentist Confidence Interval means of repeated random intervals cover the fixed true .
Key Formulas Summary
MLE vs MAP Parameter Estimators
Note: As sample size n -> infinity, prior influence vanishes and theta_MAP -> theta_MLE!
Gaussian MLE Variance (Biased) vs Bessel-Corrected Sample Variance (Unbiased)
Note: E[sigma_MLE^2] = ((n-1)/n) * sigma^2 (underestimates variance for small n); E[S^2] = sigma^2!
#Data Science#Statistics#MLE#MAP#Hypothesis Testing#p-Value#Bayes#GATE DA
Practice Questions on This Chapter (2)
Q1GATE DA StatsMCQMEDIUM
+2M • -0.67
A biased coin with Heads probability has prior . In independent tosses, you observe Heads and Tail. What are and ?
⚡ Click an option above to verify instantly
Q2GATE DA StatsMCQEASY
+1M • -0.33
In classical Frequentist Hypothesis Testing, Rejecting a True Null Hypothesis () and Failing to Reject a False Null Hypothesis () are respectively called:
⚡ Click an option above to verify instantly