calcTS: This function calculates the test statistics
Description
This function calculates the test statistics
Usage
calcTS(dta, pnull, param, TS, typeTS, TSextra)
Arguments
- dta
list with data set
- pnull
cdf under the null hypothesis
- param
estimated parameters (or some constant)
- TS
routine
- typeTS
format of TS
- TSextra
list passed to TS function