Simulated dataset with collinearity and mild nonlinearity¶
Source: man/diagnostic_data.Rd ยท Help: ?diagnostic_data
This dataset contains two predictors with correlation and a response including a quadratic term. It is useful for testing diagnostics beyond heteroscedasticity.
Usage¶
Format¶
A data frame with 150 rows and 3 variables:
- x1
- first predictor
- x2
- second predictor, correlated with
x1 - y
- response
Source¶
Simulated via set.seed(123).