Description Usage Arguments Value
This functions takes binary classification as outcome variables, apply MLE estimator, and returned corrected coefficient estimates.
1 2 3 4 5 6 7 8 | MLE_logit_bootstrap(
formula,
data,
tl,
pl,
nboot = 10000,
return_boot_samples = FALSE
)
|
formula |
R formula, such as y ~ x |
data |
a data.frame object |
tl |
vector of true values |
pl |
vector of predicted values; needs to be of the same dimension of the vevtor of true values. |
nboot |
number of bootstrap samples |
_boot_samples whether to return raw bootstrap estimates
if return_boot_samples is false, return mean/standard error/quantile statistics from bootstrap sample only; otherwise return a list, the first element of which is mean/standard error/quantile statistics from bootstrap sample , and the second ele,ent of which is nboot
samples from bootstrap draws
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.