get_resids_ols function

Compute residuals from OLS model

Compute residuals from OLS model

Estimate residuals from OLS model.

get_resids_ols(y_data, x_data)

Arguments

  • y_data: A vector for the left hand variable.
  • x_data: A matrix with right hand variables.

Returns

A numeric vector with residuals from OLS regression.

Author(s)

Philipp Adämmer

  • Maintainer: Philipp Adämmer
  • License: GPL (>= 2)
  • Last published: 2025-03-18

Useful links