OLS: Custom OLS with extra information

View source: R/Utils.Estimates.R

OLSR Documentation

Custom OLS with extra information

Description

Getting OLS estimates of betas, residuals, forecasted values and t-values.

Usage

OLS(y, x)

Arguments

y

A dependent variable.

x

Explanatory variables.

Value

A list of:

  • beta: estimates of coefficients,

  • resid: estimated residuals,

  • predict: forecasted values,

  • t.beta: t-statistics for beta.


d9d6ka/RANEPA-R documentation built on May 4, 2024, 7:11 a.m.