View source: R/06-probitBoot.R
estimate_probit | R Documentation |
Function to apply bootstrap to RAM-OP indicators using a PROBIT estimator.
estimate_probit(
x,
w,
gam.stat = probit_gam,
sam.stat = probit_sam,
params = "MUAC",
outputColumns = "MUAC",
replicates = 399
)
x |
Indicators dataset produced by create_op_all with primary
sampling unit (PSU) in column named |
w |
A data frame with primary sampling unit (PSU) in column named
|
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; fixed to
|
replicates |
Number of bootstrap replicate case and non-case |
Dataframe of boot estimates using bootPROBIT function
#
test <- estimate_probit(x = indicators.ALL,
w = testPSU,
replicates = 3)
test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.