# Video Tutorial – Calculating Expected Counts in Contingency Tables Using Marginal Proportions and Marginal Totals

July 7, 2014 2 Comments

A common task in statistics and biostatistics is performing hypothesis tests of **independence** between 2 categorical random variables. The data for such tests are best organized in **contingency tables**, which allow **expected counts** to be calculated easily. In this **video tutorial** in my **Youtube channel**, I demonstrate how to calculate expected counts using **marginal proportions** and **marginal totals**. In a later video, I will introduce a second method for calculating expected counts using **joint probabilities** and **marginal probabilities**.

In a later tutorial, I will illustrate how to implement the chi-squared test of independence on the same data set in R and SAS – stay tuned!

Thankyou!!

You’re welcome, Alissa!