The following table shows age distribution and location of a random sample of 166 buffalo in a national park.
Age Lamar District Nez Perce District Firehole District Row Total
Calf 14 17 10 41
Yearling 13 11 9 33
Adult 36 30 26 92
Column Total 63 58 45 166
Find the value of the chi-square statistic for the sample. (Round the expected frequencies to at least three decimal places. Round the test statistic to three decimal places.)