title: Pearson-type goodness-of-fit test with bootstrap maximum likelihood estimation.
abstract: The Pearson test statistic is constructed by partitioning the data into bins and computing the difference between the observed and expected counts in these bins. If the maximum likelihood estimator (MLE) of the original data is used, the statistic generally does not follow a chi-squared distribution or any explicit distribution. We propose a bootstrap-based modification of the Pearson test statistic to recover the chi-squared distribution. We compute the observed and expected counts in the partitioned bins by using the MLE obtained from a bootstrap sample. This bootstrap-sample MLE adjusts exactly the right amount of randomness to the test statistic, and recovers the chi-squared distribution. The bootstrap chi-squared test is easy to implement, as it only requires fitting exactly the same model to the bootstrap data to obtain the corresponding MLE, and then constructs the bin counts based on the original data. We examine the test size and power of the new model diagnostic procedure using simulation studies and illustrate it with a real data set.
authors.affiliation: Department of Statistics and Actuarial Science The University of Hong Kong Pokfulam Road, Hong Kong gyin@hku.hk.
authors.forename: Guosheng
authors.initials: G
authors.lastname: Yin
authors.forename: Yanyuan
authors.initials: Y
authors.lastname: Ma
keywords: Asymptotic distribution; bootstrap sample; hypothesis testing; maximum likelihood estimator; model diagnostics