a Consider the that shows the results of the survey conducted at the shopping mall.
|
|
Food Court
|
| Shoppers
|
Like
|
Dislike
|
| Adults
|
21
|
79
|
| Teenagers
|
96
|
4
|
In order to construct the , we need to calculate the total values of all the rows in the table.
|
|
Food Court
|
| Shoppers
|
Like
|
Dislike
|
Total
|
| Adults
|
21
|
79
|
21+ 79=100
|
| Teenagers
|
96
|
4
|
96+ 4=100
|
Similarly, we also need to calculate the total values of all the columns in the table.
|
|
Food Court
|
| Shoppers
|
Like
|
Dislike
|
Total
|
| Adults
|
21
|
79
|
100
|
| Teenagers
|
96
|
4
|
100
|
| Total
|
21+ 96=117
|
79+ 4=83
|
100+ 100=200
|
We want to use this table to construct a two-way table that shows the and relative frequencies. To do so, we will start by dividing each by the grand total, 200, to obtain the joint relative frequencies.
|
|
Food Court
|
| Shoppers
|
Like
|
Dislike
|
| Adults
|
21/200 =0.105
|
79/200 =0.395
|
| Teenagers
|
96/200 =0.48
|
4/200 =0.02
|
Similarly, we will divide each by the grand total to obtain the marginal relative frequencies.
|
|
Food Court
|
| Shoppers
|
Like
|
Dislike
|
Total
|
| Adults
|
0.105
|
0.395
|
100/200 =0.5
|
| Teenagers
|
0.48
|
0.02
|
100/200 =0.5
|
| Total
|
117/200 =0.585
|
83/200 =0.415
|
200/200 =1
|