View source: R/parity_assess.R
prtyElBadry | R Documentation |
El-Badry correction Function
prtyElBadry(ages, parity, women, prtyElBadry.graph = FALSE, na_code = NA)
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 |
prtyElBadry.graph |
TRUE of FALSE for El-Badry diagnose plot output (default = FALSE) |
na_code |
A numeric value representing the code for missing parities (default = NA) |
A list with 3 elements: $data_par data.frame with corrected numbers of zero and missing parities estimated by the El-Badry function, $prty.Zi data.frame with proportion of zero parities and $prty.Ui with proportion of unkown parities
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
el-Badry MA. 1961. "Failure of enumerators to make entries of zero: errors in recording childless cases in population censuses", Journal of the American Statistical Association 56(296):909–924. doi: http://dx.doi.org/10.1080/01621459.1961.10482134
UN Population Division. 1983. Manual X: Indirect Techniques for Demographic Estimation. New York: United Nations, Department of Economic and Social Affairs, ST/ESA/SER.A/81. http://www.un.org/esa/population/techcoop/DemEst/manual10/manual10.html
library(DemoToolsData)
### Kenya 1989 data:
prtyElBadry( ages = data.prty_KEN$ages,
parity = data.prty_KEN$parity,
women = data.prty_KEN$women,
prtyElBadry.graph = TRUE)
### Cambodia 2008 data:
prtyElBadry( ages = data.prty_KHM$ages,
parity = data.prty_KHM$parity,
women = data.prty_KHM$women )
###
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.