get_resids_ols: Compute residuals from OLS model

View source: R/get_resids_ols.R

get_resids_olsR Documentation

Compute residuals from OLS model

Description

Estimate residuals from OLS model.

Usage

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.

Value

A numeric vector with residuals from OLS regression.

Author(s)

Philipp Adämmer


lpirfs documentation built on April 4, 2025, 1:36 a.m.