check_bias_all: Checks omitted variable bias in a variable between an initial...

Description Usage Arguments Value Examples

View source: R/check_bias.R

Description

Checks omitted variable bias in a variable between an initial regression and a longer one

Usage

1

Arguments

df

A dataframe

model

A model object of class "lm" or a valid formula.

...

Any number of (unquoted) variables to omitted for checking bias of the target predictor

Value

A tibble with each omitted variable and the resulting change in the estimate of the target predictor in question

Examples

1
check_bias(mtcars, mpg ~ cyl + hp, hp, am)

jameshasbany/fastlm documentation built on July 26, 2020, 9:40 a.m.