Testing Independence with Contingency Tables | CFA Level I Quantitative Methods
In this lesson, we’ll explore the test of independence using contingency tables. This non-parametric test is ideal for examining the relationship between two categorical or discrete variables.
Contingency Tables: A Quick Overview
In our previous lessons, we covered the parametric approach and the Spearman Rank correlation approach for testing correlation between two random variables. However, these methods aren’t suitable for categorical or discrete data. That’s where contingency tables come in handy!
For example, suppose we want to investigate if a firm’s size is independent of the stock classification (growth, value, or blend). We’d use a contingency table to analyze the relationship between these categorical variables.
Performing a Test of Independence Using a Contingency Table
Follow these steps to perform a test of independence with a contingency table:
- Calculate the total observations for each category.
- Compute the expected frequencies for each cell.
- Calculate the degrees of freedom. df = (r-1)(c-1)
- Obtain the critical value from the Chi-square table based on the degrees of freedom and the level of significance.
- Define the decision rule using the critical value.
- Calculate the contributions to the test statistic for each cell, and sum them up.
- Check the test statistic against the decision rule.
EXAMPLE
Conclusion
And that’s a wrap! You’ve learned how to perform a test of independence using contingency tables, suitable for categorical or discrete variables.
✨ Visual Learning Unleashed! ✨ [Premium]
Elevate your learning with our captivating animation video—exclusive to Premium members! Watch this lesson in much more detail with vivid visuals that enhance understanding and make lessons truly come alive. 🎬
Unlock the power of visual learning—upgrade to Premium and click the link NOW! 🌟