Learn R Programming

apt (version 1.0)

plot.ciTarThd: Plot for Threshold Value Selection

Description

Plot the values of SSE, AIC and BIC for threshold cointegration regressions by threshold value.

Usage

## S3 method for class 'ciTarThd':
plot(x, \dots)

Arguments

x
an object of class 'ciTarThd'.
...
additional arguments to be passed.

Value

  • A plot of three graphs (SSE, AIC, and BIC versus threshold value).

Details

This function generates three plots in one window. They reveals the relationship between SSE (sum of squared errors), AIC, BIC and threshold value. The best threshold value is associated with the lowest SSE value.

References

Chan, K.S. 1993. Consistency and limiting distribution of the least squares estimator of a threshold autoregressive model. The Annals of Statistics 21(1):520-533. Enders, W., and C.W.J. Granger. 1998. Unit-root tests and asymmetric adjustment with an example using the term structure of interest rates. Journal of Business & Economic Statistics 16(3):304-311.

See Also

ciTarThd and ciTarFit.

Examples

Run this code
data(daVi); data(daCh)
t4 <- ciTarThd(y=daVi, x=daCh, model="mtar", lag=0) 
(th.mtar <- t4$basic)
plot(t4)

Run the code above in your browser using DataLab