linreg_m: Linear Regression (M)

Description Usage Arguments Value Author(s)

View source: R/linreg.R

Description

Calculates the \mathbf{M} matrix (\mathbf{M} = \mathbf{I} - \mathbf{X} ≤ft(\mathbf{X}^{\prime} \mathbf{X} \right)^{-1} \mathbf{X}^{\prime}).

Usage

1

Arguments

X

The data matrix, that is an n \times k matrix of n observations of k regressors, which includes a regressor whose value is 1 for each observation.

Value

Returns the \mathbf{M} matrix.

Author(s)

Ivan Jacob Agaloos Pesigan


jeksterslabds/jeksterslabRds documentation built on July 16, 2020, 3:41 p.m.