pasfr_given_tfr: Infer proportion age-specific fertility rates from tfr using...

View source: R/project_variants.R

pasfr_given_tfrR Documentation

Infer proportion age-specific fertility rates from tfr using a global normative model

Description

This function returns the proportional age-specific fertility rates given a projected level of total fertility by converging the initial pasfr to a global model

Usage

pasfr_given_tfr(
  PasfrGlobalNorm,
  pasfr_observed,
  tfr_observed_projected,
  years_projection = 2022:2100,
  num_points = 15
)

Arguments

PasfrGlobalNorm

matrix. output from pasfr_global_model() function

pasfr_observed

matrix. with age in single years from 10 to 54 in rows and year in columns. Value is country estimates of pasfr

tfr_observed_projected

numeric vector. TFR values for the country. Names are years.

years_projection

numeric vector. Years for which pasfr is to be projected

num_points

numeric scalar. The number of past point estimates to be used to model pasfr

Details

accesses the global model in the data frame "pasfr_global_model"

Value

a matrix of pasfr with age in rows and years in columns

Author(s)

Sara Hertog


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.