Dear Statalisters,

I am working on mortality dataset. Each row represents the number of people born in given year with given education level living in given year. Example:

Cohort Year Education level Count
1950 2005 Tertiary 1057
1950 2010 Tertiary 942
1950 2015 Tertiary 813

I would like to estimate future mortality using a Gompertz function. It is clear to me how to do it when each row represent a different observation. Is there any way to do it in my case, when each row represent the total number of people?


I am using Stata 15.0.