boot_fun | R Documentation |
Generates one parametric bootstrap sample given GLM family and model coefficients.
boot_fun(X, beta, family, sloe = F)
X |
A n*p covariate matrix (each row represents one obs.). |
beta |
Model coefficient. |
family |
GLM family. Besides the usual definition of glm family (see [stats::family]),
|
sloe |
If True, use SLOE to estimate |
This model does not fit an intercept. As a result, if you would like to fit an intercept, please include a column of 1 in the matrix X.
A length p vector of MLE coefficients.
If sloe = T
, returns the estimated \hat{\eta}
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.