Hi, I tried running the function terasvirta.test in the package tseries for a univariate tseries object.
For eg. x<- as.ts(rnorm(1000)) terasvirta.test(x) I get the following error Error in as.matrix(y) : argument "y" is missing, with no default The function seems to expect a default y argument for regressing. The package source contains a function as mentioned below terasvirta.test.ts <- function(x, lag = 1, type = c("Chisq", "F"), scale = TRUE, ...) When i try to call this , it gives an error sating function not available. Please do help. Thanks -- Thanks and Regards, Aravind Nadarajan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.