Compute residuals from OLS model
Estimate residuals from OLS model.
get_resids_ols(y_data, x_data)
y_data
: A vector for the left hand variable.x_data
: A matrix with right hand variables.A numeric vector with residuals from OLS regression.
Philipp Adämmer
Useful links