@karina-d-wallrafen : opening up this separate issue here as you are continuing to work on this.
I already created the age.pyramid argument for build_netstats, so we will just need to plug in your updated data and test the mechanism to update the parameters.
But one thing arose related to the age distributions I mentioned today at our team meeting: it will be necessary to reweight the upper age group (that group above the age of sexual cessation) or else all of the target stats get inconsistent.
With a uniform age distribution, we can reweight the overall size of that upper age group with any ratio like so:
where 0.005 is the fraction of the total population that should be within the ages of 65 and 99. I'd like you to create a generalized weighting function for build_netstats that specifies this proportion for any age distribution (a uniform like the above, a proper age pyramid as you're working on, or anything else).
@karina-d-wallrafen : opening up this separate issue here as you are continuing to work on this.
I already created the
age.pyramid
argument forbuild_netstats
, so we will just need to plug in your updated data and test the mechanism to update the parameters.But one thing arose related to the age distributions I mentioned today at our team meeting: it will be necessary to reweight the upper age group (that group above the age of sexual cessation) or else all of the target stats get inconsistent.
With a uniform age distribution, we can reweight the overall size of that upper age group with any ratio like so:
where 0.005 is the fraction of the total population that should be within the ages of 65 and 99. I'd like you to create a generalized weighting function for
build_netstats
that specifies this proportion for any age distribution (a uniform like the above, a proper age pyramid as you're working on, or anything else).