Bayesian bootstrap for linear regression
Usage
bboot(object, reps = 100L, cluster = NULL, ...)
Arguments
- object
model object of class lm or fixest
- reps
number of replications
- cluster
clustering variable passed as bare formula or char vector
Examples
lm(mpg ~ wt + hp, mtcars) |>
bboot(reps = 1e3) |>
summary()
#> Loading required package: fixest
#> mean conf.low conf.upper
#> (Intercept) 37.20325292 33.52256643 40.86486152
#> wt -3.86020154 -5.03703081 -2.66822040
#> hp -0.03244541 -0.04556427 -0.02063755