Hi all,
I have been tasked with matching analysis a previous vendor has conducted, and trying to understand the decisions made throughout their process.
We are generating incident rate ratios, and the approach they use was as follows:
When doing this, Stata labels the exponentiated coefficient as an IRR.
I am struggling to understand how using the xtgee command with a negative binomial family, a negative binomial link and utilising the eform option, generates IRRs.
Using the glm command, with a negative binomial family, a negative binomial link and eform option, the exponentiated coefficient is not labelled as an IRR, instead exp(b).
My usual approach would be to use a log link in these situations, when doing so using the glm command with a negative binomial family, a log link and eform option, Stata still labels the exponentiated coefficient as an IRR.
I am not as experienced in using the xtgee command, so would appreciate some insight.
Thanks in advance.
I have been tasked with matching analysis a previous vendor has conducted, and trying to understand the decisions made throughout their process.
We are generating incident rate ratios, and the approach they use was as follows:
Code:
xtgee exa_protocoltemp i.period if tp_baseline==2, family(nbinomial) link(nbinomial) corr(ar1) robust eform
Code:
GEE population-averaged model Number of obs = 902 Group and time vars: id period Number of groups = 451 Family: Negative binomial(k=1) Obs per group: Link: Negative binomial min = 2 Correlation: AR(1) avg = 2.0 max = 2 Wald chi2(1) = 105.86 Scale parameter = 1 Prob > chi2 = 0.0000 (Std. err. adjusted for clustering on id) ------------------------------------------------------------------------------ | Robust exa_protoc~p | IRR std. err. z P>|z| [95% conf. interval] -------------+---------------------------------------------------------------- 2.period | .4761841 .034338 -10.29 0.000 .4134226 .5484735 _cons | .6606471 .0150424 -18.21 0.000 .6318127 .6907974 ------------------------------------------------------------------------------
Using the glm command, with a negative binomial family, a negative binomial link and eform option, the exponentiated coefficient is not labelled as an IRR, instead exp(b).
My usual approach would be to use a log link in these situations, when doing so using the glm command with a negative binomial family, a log link and eform option, Stata still labels the exponentiated coefficient as an IRR.
I am not as experienced in using the xtgee command, so would appreciate some insight.
Thanks in advance.
Comment