powered by
Estimation of trace.
tr(y, tt, n)
This function is a sub-routine for model(), calculating trace of matrix
data vector.
time period length.
number of cross-section units.
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/).