Dear Stata users
Please may I ask a question regarding comparing models after using xtgee?
My data are longitudinal mortality rates estimates for different countries, for every year from 2001. I would like to compare the UK (UK=1) with a group of different countries (UK=0).
log_mortality = mortally rate logged for each country and year.
country = country identifier number
yearc = year centred on 2001
UK = If the country is UK this is 1; if the country is not the UK this is 0
I have declared data to be panel data using
xtset country year
My model is
xtgee log_mortality yearc i.uk, i(country) family(poisson) link(log) robust
Previously I have used estat ic to then compare models using AIC and BIC after including (for example) quadratic terms in the model, but this does not seem to work with xtgee. Are there equivalent commands to compare models in this way for use with xtgee?
Many thanks for your help!
Joe
Please may I ask a question regarding comparing models after using xtgee?
My data are longitudinal mortality rates estimates for different countries, for every year from 2001. I would like to compare the UK (UK=1) with a group of different countries (UK=0).
log_mortality = mortally rate logged for each country and year.
country = country identifier number
yearc = year centred on 2001
UK = If the country is UK this is 1; if the country is not the UK this is 0
I have declared data to be panel data using
xtset country year
My model is
xtgee log_mortality yearc i.uk, i(country) family(poisson) link(log) robust
Previously I have used estat ic to then compare models using AIC and BIC after including (for example) quadratic terms in the model, but this does not seem to work with xtgee. Are there equivalent commands to compare models in this way for use with xtgee?
Many thanks for your help!
Joe
Comment