Data frame with known relationship between responses and predictors useful to illustrate multicollinearity concepts. Created from vi using the code shown in the example.
Usage
data(toy)
Details
Columns:
y
: response variable generated froma * 0.75 + b * 0.25 + noise
.a
: most important predictor ofy
, uncorrelated withb
.b
: second most important predictor ofy
, uncorrelated witha
.c
: generated froma + noise
.d
: generated from(a + b)/2 + noise
.
These are variance inflation factors of the predictors in toy
.
variable vif
b 4.062
d 6.804
c 13.263
a 16.161
See also
Other example_data:
vi
,
vi_predictors
,
vi_predictors_categorical
,
vi_predictors_numeric