In: Statistics and Probability
| 
 Gun Ownership  | 
 Types of Residential Area  | 
|||
| 
 Rural  | 
 Town  | 
 City  | 
 Total  | 
|
| 
 Own Gun  | 
 555  | 
|||
| 
 No Gun  | 
 989  | 
|||
| 
 Total  | 
 593  | 
 585  | 
 366  | 
 1544  | 
The expected frequency is a probability count that appears in contingency table calculations including the chi-square test. Expected frequencies also used to calculate standardized residuals, where the expected count is subtracted from the observed count in the numerator.
