prtyImplaus: Implausible Parities correction function

View source: R/parity_assess.R

prtyImplausR Documentation

Implausible Parities correction function

Description

Implausible Parities correction function

Usage

prtyImplaus(ages, parity, women, age_group = "q")

Arguments

ages

A vector of ages or starting ages of age group intervals

parity

A vector of parities for each age group

women

A vector of women counts by parity and age group

age_group

Character assuming values 'q' (default) for quinquennial age group or 's' for single age group input

Value

The original data_par data.frame with implausible parities set to 0

Source

Moultrie TA, RE Dorrington, AG Hill, K Hill, IM Timæus and B Zaba (eds). 2013. Tools for Demographic Estimation. Paris: International Union for the Scientific Study of Population. demographicestimation.iussp.org

Examples


library(DemoToolsData)

### Kenya 1989 data:
prtyImplaus( ages = data.prty_KEN$ages, parity = data.prty_KEN$parity, women = data.prty_KEN$women )


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