Popular Statistics Formulas
1. Basic Statistics Formulas
- Mean:
Mean = (Sum of all values) / (Number of values)
- Median:
Middle value of the dataset when arranged in order.
- Mode:
The value that appears most frequently in the dataset.
- Variance:
Variance = Sum of squared differences from the Mean / (Number of values)
- Standard Deviation:
Std Dev = Square root of Variance
- Range:
Range = Max value - Min value
2. Probability Formulas
- Probability of an event (P):
P(A) = (Number of favorable outcomes) / (Total number of outcomes)
- Conditional Probability:
P(A given B) = P(A and B) / P(B)
- Bayes' Theorem:
P(A given B) = [P(B given A) * P(A)] / P(B)
- Law of Total Probability:
P(A) = Sum of [P(A given Bi) * P(Bi)] for all Bi
3. Inferential Statistics Formulas
- Z-Score:
Z = (X - Mean) / Standard Deviation
- T-Score:
T = (Sample Mean - Population Mean) / (Sample Std Dev / sqrt(n))
- Confidence Interval for Mean (Known Variance):
CI = Sample Mean ± Z * (Population Std Dev / sqrt(n))
- Confidence Interval for Mean (Unknown Variance):
CI = Sample Mean ± T * (Sample Std Dev / sqrt(n))
- Hypothesis Testing (Z-test):
Z = (Sample Mean - Population Mean) / (Population Std Dev / sqrt(n))
- Hypothesis Testing (T-test):
T = (Sample Mean - Population Mean) / (Sample Std Dev / sqrt(n))
4. Regression Formulas
- Simple Linear Regression:
Y = b0 + b1 * X
where,
b1 = Sum[(X - Mean X)(Y - Mean Y)] / Sum[(X - Mean X)^2]
b0 = Mean Y - b1 * Mean X
- Coefficient of Determination (R^2):
R^2 = 1 - [Sum of (Y - Predicted Y)^2 / Sum of (Y - Mean Y)^2]