FormulaSheet Test 1
FormulaSheet Test 1
Estimating One Population Mean When the Population Standard Deviation is Unknown
Under the confidence level 1 − 𝛼, the confidence interval for the population mean is
∗
𝑠
𝑥̅ ± 𝑡𝑛−1 𝑆𝐸(𝑥̅ ), , 𝑆𝐸(𝑥̅ ) =
√𝑛
∗
𝑡𝑛−1 𝑖𝑠 𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑣𝑎𝑙𝑢𝑒 𝑤𝑖𝑡ℎ 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚 𝑛 − 1 𝑢𝑛𝑑𝑒𝑟 𝑡ℎ𝑒 𝑐𝑜𝑛𝑓𝑖𝑑𝑒𝑛𝑐𝑒 𝑙𝑒𝑣𝑒𝑙 1 − 𝛼.
Testing One Population Mean when the Population Standard Deviation is Unknown
𝑥̅ − 𝜇0
𝑇𝑒𝑠𝑡 𝑠𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐 𝑡= , 𝑛 − 1 𝑖𝑠 𝑑𝑒𝑔𝑟𝑒𝑒 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚
𝑠/√𝑛
Under the confidence level 1 − 𝛼, 𝑤ℎ𝑒𝑛 𝜎12 ≠ 𝜎22 the confidence interval of 𝜇1 − 𝜇2 is
Under the confidence level 1 − 𝛼, 𝑤ℎ𝑒𝑛 𝜎12 = 𝜎22 the confidence interval of 𝜇1 − 𝜇2 is
1 1
𝑆𝐸𝑝𝑜𝑜𝑙𝑒𝑑 (𝑥̅ 1 − 𝑥̅2 ) = 𝑠𝑝 √ +
𝑛1 𝑛2
𝐻1 : 𝜇𝑑 ≠ 0, 𝑜𝑟 𝐻1 : 𝜇𝑑 > 0, 𝑜𝑟 𝐻1 : 𝜇𝑑 < 0
𝑥̅𝐷 − 𝜇𝐷
𝑇𝑒𝑠𝑡 𝑠𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐 𝑡= , 𝑑𝑓 = 𝑛 − 1 𝑖𝑠 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚
𝑠𝐷 /√𝑛𝐷
𝐻0 : 𝜇1 = 𝜇2 = ⋯ = 𝜇𝑘
𝑀𝑆𝑇
𝑇𝑒𝑠𝑡 𝑠𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐 𝐹𝑘−1,𝑁−𝑘 = , 𝑟𝑒𝑗𝑒𝑐𝑡𝑖𝑛𝑔 𝑡ℎ𝑒 𝑛𝑢𝑙𝑙 ℎ𝑦𝑝𝑜𝑡ℎ𝑒𝑠𝑖𝑠 𝑤ℎ𝑒𝑛 𝐹𝑘−1,𝑁−𝑘 𝑖𝑠 𝑡𝑜𝑜 𝑙𝑎𝑟𝑔𝑒.
𝑀𝑆𝐸
𝑆𝑆𝑇 𝑆𝑆𝐸
𝑀𝑆𝑇 = , 𝑀𝑆𝐸 =
𝑘−1 𝑁−𝑘
Average size of the error standard deviation 𝑠𝑝 = √𝑀𝑆𝐸
Variation between the groups
𝑘
𝑥𝑖𝑗 represents the ith level of the first factor and the jth level of the second factor. First factor A has a levels and
second factor B has b levels.
𝑏 𝑎
𝑜𝑏𝑠𝑒𝑟𝑣𝑎𝑡𝑖𝑜𝑛𝑠.
𝑆𝑆𝐴
𝑀𝑆𝐴 =
𝑎−1
𝑎 𝑏
2
𝑇𝑟𝑒𝑎𝑡𝑚𝑒𝑛𝑡 𝑆𝑢𝑚 𝑜𝑓 𝑆𝑞𝑢𝑎𝑟𝑒𝑠 𝑓𝑜𝑟 𝑡ℎ𝑒 𝑠𝑒𝑐𝑜𝑛𝑑 𝑓𝑎𝑐𝑡𝑜𝑟 𝑆𝑆𝐵 = ∑ ∑(𝑥̅𝑗 − 𝑥̿ )
𝑖=1 𝑗=1
𝑥̅𝑗 𝑖𝑠 𝑡ℎ𝑒 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑎𝑙𝑙 𝑠𝑢𝑏𝑗𝑒𝑐𝑡𝑠 𝑎𝑠𝑠𝑖𝑔𝑛𝑚𝑒𝑛𝑡 𝑎𝑠𝑠𝑖𝑔𝑛𝑒𝑑 𝑙𝑒𝑣𝑒𝑙 𝑗 𝑜𝑓 𝑓𝑎𝑐𝑡𝑜𝑟 𝐵 𝑎𝑛𝑑 𝑥̿ 𝑖𝑠 𝑡ℎ𝑒 𝑜𝑣𝑒𝑟𝑎𝑙𝑙 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑎𝑙𝑙
𝑜𝑏𝑠𝑒𝑟𝑣𝑎𝑡𝑖𝑜𝑛𝑠.
𝑆𝑆𝐵
𝑀𝑆𝐵 =
𝑏−1
𝑆𝑆𝐸
𝑀𝑒𝑎𝑛 𝑆𝑞𝑢𝑟𝑒 𝑓𝑜𝑟 𝐸𝑟𝑟𝑜𝑟 𝑀𝑆𝐸 = , 𝑤ℎ𝑒𝑟𝑒 𝑁 = 𝑎 × 𝑏
𝑁 − (𝑎 + 𝑏 − 1)
Test statistic
𝑀𝑆𝐴
𝐹𝑎−1, 𝑁−(𝑎+𝑏−1) =
𝑀𝑆𝐸
𝑀𝑆𝐵
𝐹𝑏−1, 𝑁−(𝑎+𝑏−1) =
𝑀𝑆𝐸
𝑀𝑆𝐴𝐵
𝐹(𝑎−1)(𝑏−1), 𝑎𝑏(𝑟−1) = 𝑖𝑓 𝑡ℎ𝑒 𝑒𝑥𝑝𝑒𝑟𝑖𝑚𝑒𝑛𝑡 𝑖𝑠 𝑟𝑒𝑝𝑙𝑖𝑐𝑎𝑡𝑒𝑑 𝑟 𝑡𝑖𝑚𝑒𝑠.
𝑀𝑆𝐸
𝑁 = 𝑎 × 𝑏 × 𝑟, 𝑘 =𝑎×𝑏
ANOVA Table of Two-Factor with Replication
(𝑂𝑏𝑠 − 𝐸𝑥𝑝)2
𝐶ℎ𝑖 − 𝑆𝑞𝑢𝑎𝑟𝑒 𝑆𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐, 𝜒2 = ∑
𝐸𝑥𝑝
𝐷𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝐹𝑟𝑒𝑒𝑑𝑜𝑚 = 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑐𝑒𝑙𝑙𝑠 − 1
𝑇𝑜𝑡𝑎𝑙𝑟𝑜𝑤 𝑖 × 𝑇𝑜𝑡𝑎𝑙𝐶𝑜𝑙 𝑗
𝐸𝑥𝑝𝑖𝑗 =
𝑇𝑎𝑏𝑙𝑒 𝑇𝑜𝑡𝑎𝑙
𝑂𝑏𝑠 − 𝐸𝑥𝑝
𝑆𝑡𝑎𝑛𝑑𝑎𝑟𝑑𝑖𝑧𝑒𝑑 𝑅𝑒𝑠𝑖𝑑𝑢𝑎𝑙 =
√𝐸𝑥𝑝
(𝑂𝑏𝑠 − 𝐸𝑥𝑝)2
𝐶ℎ𝑖 − 𝑆𝑞𝑢𝑎𝑟𝑒 𝑆𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐, 𝜒2 = ∑
𝐸𝑥𝑝
T.DIST.2T(x, degree of freedom) gives the probability of the two tails outside of
the interval (-x, x).
F.DIST(x, df1, df2, cumulative) gives the probability of the left side of x when
the cumulative is true.
F.INV(probability, df1, df2) gives the critical value given the probability of left
side of the critical value.
F.INV.RT(probability, df1, df2) gives the critical value given the probability of
right side of the critical value.
Excel has all these analysis programs built in but they are not showing up in the
default setting when you open Excel. You have to do the following steps in Excel to
have the functions available for you to use.
Now when you go back to Excel interface, click the group “Data”, you will see “Data
Analysis” showing on the right side of the ribbon area. Click it, you will be able to
perform different kind of z-tests, t-tests and other analysis.