segCoverageFromYear | R Documentation |
Given two censuses and an average annual number of deaths in each age class between censuses, we can use stable population assumptions to estimate the degree of underregistration of deaths. The method estimates age-specific degrees of coverage. The age pattern of these is assumed to be noisy, so we take the arithmetic mean over some range of ages. One may either specify a particular age-range, or let the age range be determined automatically. If the age-range is found automatically, this is done using the method developed for the generalized growth-balance method. Part of this method relies on a prior value for remaining life expectancy in the open age group. By default, this is estimated using a standard reference to the Coale-Demeny West model life table, although the user may also supply a value. Called by seg()
. Users probably do not need to use this function directly.
segCoverageFromYear(
codi,
minA = 15,
maxA = 75,
minAges = 8,
exact.ages = NULL,
eOpen = NULL,
nx.method = 2,
deaths.summed = FALSE,
mig.summed = deaths.summed,
delta = FALSE,
exact.ages.ggb = NULL,
lm.method = "oldschool",
opt.method = "r2"
)
codi |
|
minA |
the lowest age to be included in search |
maxA |
the highest age to be included in search (the lower bound thereof) |
minAges |
the minimum number of adjacent ages to be used in estimating |
exact.ages |
optional. A user-specified vector of exact ages to use for coverage estimation |
eOpen |
optional. A user-specified value for remaining life-expectancy in the open age group. |
nx.method |
either 2 or 4. 4 is smoother. |
deaths.summed |
logical. is the deaths column given as the total per age in the intercensal period ( |
mig.summed |
logical. Is the (optional) net migration column |
delta |
logical. Do we perform the so-called delta adjustment? |
exact.ages.ggb |
optional vector of ages used to estimate GGB coverage (if |
lm.method |
character, one of:
|
opt.method |
what kind of residual do we minimize? choices |
Census dates can be given in a variety of ways: 1) using Date classes, and column names $date1
and $date2
(or an unambiguous character string of the date, like, "1981-05-13"
) or 2) by giving column names "day1","month1","year1","day2","month2","year2"
containing integers. If only year1
and year2
are given, then we assume January 1 dates. If year and month are given, then we assume dates on the first of the month.
a data.frame
with columns for the coverage coefficient, and the min and max of the age range on which it is based.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.