Notes on Pearson residuals and weighted likelihood estimating equations