sse_calc: a subroutine of model()

View source: R/ptm.R

sse_calcR Documentation

a subroutine of model()

Description

SSE calculation

Usage

sse_calc(y, x)

Arguments

This function is a sub-routine for model(), calculating SSE of each regression

y

vector of dependent variable.

x

matrix of independent variables.

References

Hanse B. E. (1999) Threshold effects in non-dynamic panels: Estimation, testing and inference. Journal of Econometrics,93, 345-368.

Original code from Dr. Hansen (http://www.ssc.wisc.edu/~bhansen/).


pdR documentation built on Aug. 21, 2023, 5:06 p.m.