The Poisson regression margin-matching score equations from the site indicator for each directly giveSubtracting these seven row balances from the intercept equation gives the missing reference row balance. ThereforeThe after-indicator score similarly gives . Subtracting it from the intercept balance yields the before-column balance, soThus 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
There are currently no matching articles.