S: Compute sum of squared errors

Description Usage Arguments Value

View source: R/utils.R

Description

Compute sum of squared errors

Usage

1
S(Y, X)

Arguments

Y

T x 1 matrix (left-hand side of regression equation)

X

T x N matrix (right-hand side of regression equation)

Value

Sum of squared errors of regressing Y = X beta+ epsilon


voigtstefan/btap documentation built on May 17, 2018, 11:17 a.m.