Hello. I have been working on a project which involves random number generation and unit root test. After I generate the numbers (I am generating stock returns using rnorm(1000,0,0.25), I want to check if the series has a unit root or not. But before I should modify the data to time series. My question is which of the functions ts or timeSeries more appropriate to test unit root using Augmented Dickey Fuller test? Thank you.
-- View this message in context: http://r.789695.n4.nabble.com/Using-ts-and-timeSeries-tp3598693p3598693.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.