Chi Squared Tests for Goodness of Fit