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


AdaemmerP/lpirfs documentation built on July 27, 2023, 6:15 p.m.