tr: A sub-routine calculating trace

Description Usage Arguments References

View source: R/ptm.R

Description

Estimation of trace.

Usage

1
 tr(y, tt, n)

Arguments

This function is a sub-routine for model(), calculating trace of matrix

y

data vector.

tt

time period length.

n

number of cross-section units.

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 May 30, 2017, 3:24 a.m.

Search within the pdR package
Search all R packages, documentation and source code