๐ Descriptive Statistics:
โฆ Mean = (ฮฃx) / n
โฆ Median = Middle value
โฆ Mode = Most frequent value
โฆ Variance (ฯยฒ) = ฮฃ(x - ฮผ)ยฒ / n
โฆ Std Dev (ฯ) = โVariance
โฆ Range = Max - Min
โฆ IQR = Q3 - Q1
๐ Probability Basics:
โฆ P(A) = Outcomes A / Total Outcomes
โฆ P(A โฉ B) = P(A) ร P(B) (if independent)
โฆ P(A โช B) = P(A) + P(B) - P(A โฉ B)
โฆ Conditional: P(A|B) = P(A โฉ B) / P(B)
โฆ Bayesโ Theorem: P(A|B) = [P(B|A) ร P(A)] / P(B)
๐ Common Distributions:
โฆ Binomial (fixed trials)
โฆ Normal (bell curve)
โฆ Poisson (rare events over time)
โฆ Uniform (equal probability)
๐ Inferential Stats:
โฆ Z-score = (x - ฮผ) / ฯ
โฆ Central Limit Theorem: sampling dist โ Normal
โฆ Confidence Interval: CI = xโ ยฑ z*(ฯ/โn)
๐ Hypothesis Testing:
โฆ Hโ = No effect; Hโ = Effect present
โฆ p-value < ฮฑ โ Reject Hโ
โฆ Tests: t-test (small samples), z-test (known ฯ), chi-square (categorical data)
๐ Correlation:
โฆ Pearson: linear relation (โ1 to 1)
โฆ Spearman: rank-based correlation
๐งช Tools to Practice:
Python packages:
scipy.stats, statsmodels, pandas Visualization:
seaborn, matplotlib๐ก Quick tip: Use these formulas to crush interviews and build solid ML foundations!
๐ฌ Tap โค๏ธ for more