About "Creating a two way frequency table"

Creating a two way frequency table :

We can probably guess that a two-way frequency table will deal with two variables (referred to as bi-variate data). In doing so, a two-way frequency table will examine the relationship between the two categorical variables. Two-way frequency tables are especially important, because they are often used to analyze survey results.

Creating a two way frequency table - Examples

Example 1 :

A survey is conducted among school students. 50 students are randomly selected and they are asked, whether they prefer dogs, cats or other pets. In the survey, 10 boys preferred dogs, 9 boys preferred cats, 3 boys preferred other pets, 12 girls preferred dogs, 6 girls preferred cats and 10 girls preferred other pets. Construct a two-way frequency table for the above data.

Solution :

Step 1 :

Make a table by taking the categories "Boy" and "Girl" in rows and the categories "Dogs", "Cats" and "Other pets" in columns as given below.

Step 2 :

Fill the tables using the data given in the question.

Step 3 :

Find the total for each gender by adding the frequencies in each row.

Step 4 :

Find the total for each pet by adding the frequencies in each column.

Step 5 :

Find the grand total, which is the sum of the row totals as well as the sum of the column totals. Write this in the lower-right corner.