Internal estimation function for estimating autoregressive and threshold parameters of TVAR models by the method of least squares.
Useful links