boot_estimate: Apply blocked weighted bootstrap to indicator datasets

Description Usage Arguments Value Examples

View source: R/15-boot_indicators.R

Description

A wrapper for bootBW function in bbw package.

Usage

1
2
3
4
5
6
7
boot_estimate(
  indicator = c("ifaDF", "iycfDF", "mnpDF", "vitDF", "screenDF", "anthroDF"),
  county,
  w,
  replicates = 399,
  core.columns = c("spid", "cid", "did", "eid", "motherID", "m2")
)

Arguments

indicator

A character vector of indicator data.frame names

county

An integer indicating which county to interpolate; 1 for Greater Monrovia; 2 for Grand Bassa

w

Population dataset

replicates

Number of bootstrap replicates

core.columns

A vector of variable names included in indicator data.frames

Value

A data.frame of indicator estimates with lower and upper confidence limits

Examples

1
boot_estimate(indicator = "iycfDF", county = 1, w = psuDataGM, replicates = 9)

validmeasures/liberiaData documentation built on Dec. 2, 2020, 3:32 a.m.