The Poisson regression margin-matching score equations from the site indicator for each directly give
Subtracting these seven row balances from the intercept equation gives the missing reference row balance. Therefore
The after-indicator score similarly gives . Subtracting it from the intercept balance yields the before-column balance, so
Thus the fitted before and after count totals are and , and each fitted site total equals its observed total. These identities concern expected counts ; unequal exposures do not imply corresponding unweighted sums of fitted rates equal sums of observed rates. They follow from the unpenalized canonical Poisson likelihood and the available intercept/factor columns, not from balanced exposure periods.

Articles by others on the same topic (0)

There are currently no matching articles.