Description Usage Arguments Value Examples
Checks omitted variable bias in a variable between an initial regression and a longer one
1 | check_bias(df, model, target_predictor, ...)
|
df |
A dataframe |
model |
A model object of class "lm" or a valid formula. |
target_predictor |
The (unquoted) independent variable to be checked for bias |
... |
Any number of (unquoted) variables to omitted for checking bias of the target predictor |
A tibble with each omitted variable and the resulting change in the estimate of the target predictor in question
1 | check_bias(mtcars, mpg ~ cyl + hp, hp, am)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.