Smooth population counts in 5-year age groups.
smooth_age_5_kkn(Value, Age, OAG = TRUE, start_on = 0)
numeric vector of counts in single, abridged, or 5-year age groups.
numeric vector of ages corresponding to the lower integer bound of the counts.
logical. Whether or not the top age group is open. Default
integer. Either 0 or 5. Do we constrain decades starting on the 0s or 5s?
numeric vector of smoothed counts in 5-year age groups.
This method does not account for ages < 10 nor for the 10 year age interval prior to the open age group. These are returned imputed with
NA. Age classes must be cleanly groupable to 5-year age groups. Smoothed counts are constrained to sum to original totals in 10-year age groups.
Carrier NH, Farrag AM (1959). “The reduction of errors in census populations for statistically underdeveloped countries.” Population Studies, 12(3), 240--285.