Dear all,
I use the code "apc_ie" to calculate APC model but failure and meet some problems:
I follow Yang's codes (https://yangclaireyang.web.unc.edu/a...ons/chapter-5/ ), the codes work using his data but it doesn't work using ma data.
The data I use pls. see appendix. I think my data are wrong, but I can't figure out why. Can someone help me?
My code is "apc_ie y, period(survey_group) cohort(birth_group) family(poisson) link(log)"
The results of data 1 is:

The results of data 2 is:

Thank you very much!
I use the code "apc_ie" to calculate APC model but failure and meet some problems:
I follow Yang's codes (https://yangclaireyang.web.unc.edu/a...ons/chapter-5/ ), the codes work using his data but it doesn't work using ma data.
The data I use pls. see appendix. I think my data are wrong, but I can't figure out why. Can someone help me?
My code is "apc_ie y, period(survey_group) cohort(birth_group) family(poisson) link(log)"
The results of data 1 is:
The results of data 2 is:
Thank you very much!