BB113 Formula Sheet
BB113 Formula Sheet
A. Notation
𝑛 = sample size 𝜇 = population mean
𝑋̅ = sample mean 𝜎 = population standard deviation
𝑆 = sample standard deviation 𝑝̂ = sample proportion
𝑁 = population size 𝑝 = population proportion
Sample variance
2 (∑ 𝑋)2
2
∑(𝑋 − 𝑋̅)2 ∑ 𝑋 − 𝑛
𝑆 = =
𝑛−1 𝑛−1
Z score
𝑋 − 𝑋̅
𝑍=
𝑆
Covariance
∑𝑋∑𝑌
∑(𝑋 − 𝑋̅) ∑(𝑌 − 𝑌̅) ∑ 𝑋𝑌 − 𝑛
𝑐𝑜𝑣(𝑋, 𝑌) = =
𝑛−1 𝑛−1
Coefficient of correlation
𝑐𝑜𝑣(𝑋, 𝑌) ∑ 𝑋𝑌 − 𝑛𝑋̅𝑌̅
𝑟= =
𝑆𝑋 𝑆𝑌 √(∑ 𝑋 2 − 𝑛𝑋̅ 2 )(∑ 𝑌 2 − 𝑛𝑌̅ 2 )
C. Basic Probability
Probability of occurrence Independence
𝑋 𝑃(𝐴|𝐵) = 𝑃(𝐴)
Probability of occurrence =
𝑇
Page 1 of 5
Formula Sheet BB113 Statistics and its Applications
Standard deviation of the binomial distribution Standard deviation of the Poisson distribution
𝜎 = √𝜎 2 = √Var(𝑋) = √𝑛𝑝(1 − 𝑝) 𝜎 = √𝜆
Standard deviation of the mean Confidence interval for the mean (𝝈 unknown)
𝜎 𝑆
𝜎𝑋̅ = 𝑋̅ ± 𝑡𝛼⁄2 with df = 𝑛 − 1
√𝑛 √𝑛
Finding 𝒁 for the sampling distribution of the Confidence interval estimate for the proportion
mean
𝑝̂ (1 − 𝑝̂ )
𝑋̅ − 𝜇𝑋̅ 𝑋̅ − 𝜇𝑋̅ 𝑝̂ ± 𝑍𝛼⁄2 √
𝑍= = 𝑛
𝜎𝑋̅ 𝜎 ⁄√ 𝑛
Page 2 of 5
Formula Sheet BB113 Statistics and its Applications
𝒕 test of hypothesis for the mean (𝝈 unknown) 𝒁 test of hypothesis for the proportion in terms
𝑋̅ − 𝜇 of the number of events of interest
𝑡𝑆𝑇𝐴𝑇 = with df = 𝑛 − 1 𝑋 − 𝑛𝑝
𝑆 ⁄√ 𝑛 𝑍𝑆𝑇𝐴𝑇 =
√𝑛𝑝(1 − 𝑝)
H. Analysis of Variance
Total variation in one-way ANOVA Mean squared in one-way ANOVA
(computing formula)
𝑆𝑆𝐴
(∑ 𝑋)2 𝑀𝑆𝐴 =
𝑐−1
𝑆𝑆𝑇 = ∑ 𝑋 2 −
𝑛
𝑆𝑆𝑊
𝑀𝑆𝑊 =
Among-group variation in one-way ANOVA 𝑛−𝑐
(computing formula)
𝑆𝑆𝑇
𝑀𝑆𝑇 =
𝑇𝑗2 (∑ 𝑋) 2 𝑛−1
𝑆𝑆𝐴 = ∑ ( )−
𝑛𝑗 𝑛
where 𝑇𝑗 = sum of data from group 𝑗
Page 3 of 5
Formula Sheet BB113 Statistics and its Applications
(∑ 𝑌)2
𝑆𝑆𝑌 = ∑(𝑌 − 𝑌̅)2 = ∑ 𝑌 2 −
𝑛
Coefficient of determination
𝑆𝑆𝑅
𝑟2 =
𝑆𝑆𝑇
or
𝑆𝑆𝑋𝑌 2
𝑟2 =
𝑆𝑆𝑋 × 𝑆𝑆𝑌
Page 4 of 5
Formula Sheet BB113 Statistics and its Applications
J. Chi-Square Tests
𝝌𝟐 test for the difference between two Computing the estimated overall proportion for
proportions 𝒄 groups
(𝑓𝑜 − 𝑓𝑒 )2 𝑋1 + 𝑋2 + ⋯ + 𝑋𝑐 𝑋
2
𝜒𝑆𝑇𝐴𝑇 = ∑ 𝑝̅ = =
𝑓𝑒 𝑛1 + 𝑛2 + ⋯ + 𝑛𝑐 𝑛
all cells
Computing the estimated overall proportion for Computing the expected frequency
two groups Row total × column total
𝑋1 + 𝑋2 𝑋 𝑓𝑒 =
𝑝̅ = = 𝑛
𝑛1 + 𝑛2 𝑛
Page 5 of 5