fertGompPF: Gompertz PF Fertility Estimation

View source: R/gomp_pf.R View source: R/gompChooseAges.R

fertGompPFR Documentation

Gompertz PF Fertility Estimation

Description

Performs Gompertz PF model for fertility estimation by user's F and P points selection

Gompertz PF Fertility Estimation

Usage

fertGompPF(
  ages = seq(15, 45, 5),
  asfr,
  P = NULL,
  level = FALSE,
  madef = "12m",
  sel.ages = c(20, 25, 30, 35, 40, 45),
  plot.diagnostic = TRUE
)

fertGompPF(
  ages = seq(15, 45, 5),
  asfr,
  P = NULL,
  level = FALSE,
  madef = "12m",
  sel.ages = c(20, 25, 30, 35, 40, 45),
  plot.diagnostic = TRUE
)

Arguments

ages

A vector of starting ages of five-year age groups ranging from 15 to 45 (default = c(15,20,25,30,35,40,45))

asfr

A vector of age-specific fertility rates by five-year age group - same groups as 'ages'

P

A vector of mean parities by five-year age group - same groups as 'ages'

level

TRUE for correction of fertility level using parity data information, false for correction of fertility shape only

madef

Mother's age definition: '0m' for age at birth of child, '12m' for age at survey for 12 months data (default), '24m' for age at survey for 24 months data, '36m' for age at survey for 36 months data

sel.ages

select ages for curve fitting

plot.diagnostic

plot diagnostic graph

Value

A list with 3 elements: pf_data data frame with columns ages, P for mean parities, asfr, Fi for cumulate fertility estimated from Brass coefficients,PF for ratios P/F and adj_asfr for adjusted asfr; tfr_unadj for unadjusted total fertility rate estimate; and tfr_adj for adjusted total fertility rate estimate by applying the selected age-group PF ratio

A list with 3 elements: pf_data data frame with columns ages, P for mean parities, asfr, Fi for cumulate fertility estimated from Brass coefficients,PF for ratios P/F and adj_asfr for adjusted asfr; tfr_unadj for unadjusted total fertility rate estimate; and tfr_adj for adjusted total fertility rate estimate by applying the selected age-group PF ratio

Source

Brass W, AJ. 1968. Coale Methods of analysis and estimation. In: BRASS, W. et al. (Ed.). The demography of tropical Africa. 1. ed. New Jersey: Princeton University Press, p. 88-139. Brass W. 1975. Methods for Estimating Fertility and Mortality from Limited and Defected Data. North Carolina: Carolina Population Center.

Brass W, AJ. 1968. Coale Methods of analysis and estimation. In: BRASS, W. et al. (Ed.). The demography of tropical Africa. 1. ed. New Jersey: Princeton University Press, p. 88-139. Brass W. 1975. Methods for Estimating Fertility and Mortality from Limited and Defected Data. North Carolina: Carolina Population Center.

Examples

## Malawi 2008 Census data:
ages_ma = c(15, 20, 25, 30, 35, 40, 45)
asfr_ma = c(0.111, 0.245, 0.230, 0.195, 0.147, 0.072, 0.032)
P_ma    = c(0.283, 1.532, 2.849, 4.185, 5.214, 6.034, 6.453)
fertGompPF( ages            = ages_ma,
            asfr            = asfr_ma,
            P               = P_ma,
            level           = TRUE,
            madef           = '24m',
            sel.ages        = c( 20, 25, 30, 35, 40, 45 ),
            plot.diagnostic = FALSE)


## Malawi 2008 Census data:
ages_ma = c(15, 20, 25, 30, 35, 40, 45)
asfr_ma = c(0.111, 0.245, 0.230, 0.195, 0.147, 0.072, 0.032)
P_ma    = c(0.283, 1.532, 2.849, 4.185, 5.214, 6.034, 6.453)
fertGompPF( ages            = ages_ma,
            asfr            = asfr_ma,
            P               = P_ma,
            level           = TRUE,
            madef           = '24m',
            sel.ages        = c( 20, 25, 30, 35, 40, 45 ),
            plot.diagnostic = FALSE)


josehcms/fertestr documentation built on Oct. 9, 2024, 9:03 p.m.