Generalization of Chisquare Goodness-ofFit Test for Binned Data Using Saturated Models , with Application to Histograms