You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, really lovel the package! I was just wondering if an option to exponentiate bootstrap coefficients from a boot::boot output when tidying the output could be added?
I am trying to bootstrap estimates and confidence intervals for a quasipoisson model. This feature is implemented for other tidy methods and it'd be great if it worked for bootstrap outputs.
For example:
data(mtcars)
form <- as.formula(mpg ~ wt)
bs_fun <- function(formula, data, ind){
d <- data[ind,]
fit <- glm(formula,
data = d,
family = quasipoisson)
return(coef(fit))
}
boot_output <- boot::boot(statistic = bs_fun, R = 10, formula = form,
data = mtcars)
# Currently returns "raw" coefficients
tidy(boot_output, exponentiate = TRUE, conf.int = TRUE)
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for the issue! I'm on board for this and would be glad to review a PR implementing this——see the exponentiate() idiom in other tidiers for a guide. :-)
Thanks for the issue! Went ahead and made this happen as I tackled other similar issues—I appreciate your patience here. Closing #1040 in favor of 47c2485.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Hey, really lovel the package! I was just wondering if an option to exponentiate bootstrap coefficients from a
boot::boot
output when tidying the output could be added?I am trying to bootstrap estimates and confidence intervals for a quasipoisson model. This feature is implemented for other
tidy
methods and it'd be great if it worked for bootstrap outputs.For example:
Thanks!
The text was updated successfully, but these errors were encountered: