Get bootstrapped residuals from a fitted model
Source:R/zzz_auto_visual_inference.R
AUTO_VI-cash-boot_method.Rd
This default method gets bootstrapped residuals from a fitted linear model by sampling the observations with replacement then refit the model. User needs to override this method if a different bootstrapping scheme is needed.
Arguments
- fitted_model
lm
. A linear model object.- data
Data frame. The data used to fit the model. See also
AUTO_VI$get_data()
.