00:02
Bloomsburg businessweek subscriber study asked, in the past 12 months when traveling for business, what type of airline ticket did you purchase most often? and then the second question asked if the type of flight was domestic or international.
00:15
And then we are given some sample data.
00:18
The table wasn't shown in the problem, but i'm assuming it would look something like this, where 29 were first class domestic flight tickets, 22 were first class international tickets, business tickets, business tickets, 91 were domestic, 122 were international, and economy class, 515 were domestic flights, and 136 were international.
00:43
If it looks something, if the table was actually something else, you can just rearrange these numbers around so that it fits what the actual data says.
00:51
So what we're asked to find is a kai square test statistic rounded to two decimals.
00:57
All right, so a k -square test statistic is going to be the sum of all of the observed values minus the expected values squared over the expected value.
01:19
So you would basically do a computation for every single one in this matrix.
01:24
We have all the observed values here given.
01:29
To find the expected values, you would basically just need to take the row total.
01:41
So for example, 29 plus 22 is 51, multiplied by the column total.
01:59
So for example, 29 plus 91 plus 515 is 635.
02:09
And then you would just divide that by the total total total.
02:18
And what would that be? well, basically you would have to add everything up.
02:21
So 29 plus 91 plus 515...