In: Statistics and Probability
| 
 Payment method  | 
 Number of shoppers (observed)  | 
 Number of shoppers (expected)  | 
| 
 Store credit card  | 
||
| 
 Major Credit card  | 
||
| 
 Cash  | 
||
| 
 Total  | 
 150  | 
a)
| relative | observed | Expected | |
| category | frequency(p) | Oi | Ei=total*p | 
| Store credit card | 1/3 | 46 | 50.00 | 
| Major credit card | 1/3 | 43 | 50.00 | 
| Cash | 1/3 | 61 | 50.00 | 
| total | 1.000 | 150 | 150 | 
b)
| degree of freedom =categories-1= | 2 | ||
c)
| applying chi square goodness of fit test: | 
| relative | observed | Expected | Chi square | ||
| category | frequency(p) | Oi | Ei=total*p | R2i=(Oi-Ei)2/Ei | |
| Store credit card | 1/3 | 46 | 50.00 | 0.320 | |
| Major credit card | 1/3 | 43 | 50.00 | 0.980 | |
| Cash | 1/3 | 61 | 50.00 | 2.420 | |
| total | 1.000 | 150 | 150 | 3.7200 | |
| test statistic X2 = | 3.720 | ||||
d)
| for 0.05 level and 2 df :crtiical value X2 = | 5.991 | |||
| since test statistic does not falls in rejection region we fail to reject null hypothesis | ||||||
| we do not have have sufficient evidence to conclude that methods of payment have changed |