estimate_probit {oldr} | R Documentation |
Apply bootstrap to RAM-OP indicators using a PROBIT estimator.
Description
Apply bootstrap to RAM-OP indicators using a PROBIT estimator.
Usage
estimate_probit(
x,
w,
gam.stat = probit_gam,
sam.stat = probit_sam,
params = "MUAC",
outputColumns = params,
replicates = 399
)
Arguments
x |
Indicators dataset produced by |
w |
A data frame with primary sampling unit (PSU) in column named "psu" and survey weight (i.e. PSU population) in column named "pop". |
gam.stat |
A function operating on data in |
sam.stat |
A function operating on data in |
params |
Parameters (named columns in |
outputColumns |
Names of columns in output data frame. |
replicates |
Number of bootstrap replicate case and non-case. |
Value
A tibble::tibble()
of boot estimates using PROBIT.
Examples
test <- estimate_probit(x = indicators.ALL, w = testPSU, replicates = 3)
test