Hi All,
Up to now I have benefitted a lot from this forum. One question I can’t get my head around is the following:
I have a longitudinal dataset in a long-format (the long-format is because I have variables that change every visit a patient comes is). I want to estimate the IR (by1.000) using poisson regression.
#poisson hpvinc i.agec i.smk, exposure(pdomo) irr#
#xtset id#
#xi: xtgee hpvinc i.agec i.smk, exposure(pdomo) eform family(poisson) corr(exc)#
#gen pdomo=(pdo/30.5)/1000#
Because the data is in long-format, would it be better to use GEE to take into account clustering of the individuals records within one id?
Both approaches give almost the same answer, with some subtle differences behind the comma for the IR as well as the 95%CI.
Thanks for your time,
Catharina
Related Posts with Estimating Incidence Rate using poisson regression
Selecting certain observations for a graphHello, I have made a multilevel model for which I want to plot the effects of one of the levels, wh…
Retrieving data from online archive database and making it ready for STATA (CEDA Archive database) THERE MUST BE SOMEONE HERE WHO IS ABLE TO DO THIS Hi everyone, I'm in a bit of a pickle. I have …
Interpretation of logistic regression of categorical variables with interactionGood morning! I am using a statewide dataset of adult inpatients with COVID-19 (n=18k+) to assess ra…
Minimum wage as state level controlHello stata community, For my research, I'm working with IPUMS CPS data and would like to see how w…
Replace Values by previous valuesDear all, I am a bit stuck. I have household and personal id date for 8 rounds, however not each pe…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Incidence Rate using poisson regression
Post a Comment