Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I calculate age-period-cohort model(APC) using apc_ie in Stata?

    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:
    Click image for larger version

Name:	WechatIMG327.png
Views:	1
Size:	26.3 KB
ID:	1668039


    The results of data 2 is:
    Click image for larger version

Name:	WechatIMG331.png
Views:	1
Size:	21.7 KB
ID:	1668040




    Thank you very much!
Working...
X