I am not able to run Dickey-Fuller test. adf.test() function is not working. It is showing 'Error: could not find function "adf.test" Can any tell how to call "time series" library? -- Siddharth Arun, 4th Year Undergraduate student Industrial Engineering and Management, IIT Kharagpur [[alternative HTML version deleted]]
What operating system are you using? What version of R are you using? How did you install the package in question? Did the installation process give any error messages? Did you load the package before trying to use it? What package are you trying to load - there is no "time series" package. Do you mean timeSeries? Or tseries? Or some other package entirely? On Mon, Jun 6, 2011 at 2:41 AM, siddharth arun <sid.arun91 at gmail.com> wrote:> I am not able to run Dickey-Fuller test. > adf.test() function is not working. It is showing 'Error: could not find > function "adf.test" > > > Can any tell how to call "time series" library? > > ---- Sarah Goslee http://www.functionaldiversity.org
Hi Siddharth, adf.test() is part of the "tseries" package, so you need to download and install it before using that function. Try the following and let us now what you get: install.packages('tseries') require(tseries) ?adf.test HTH, Jorge On Mon, Jun 6, 2011 at 2:41 AM, siddharth arun <> wrote:> I am not able to run Dickey-Fuller test. > adf.test() function is not working. It is showing 'Error: could not find > function "adf.test" > > > Can any tell how to call "time series" library? > > -- > Siddharth Arun, > 4th Year Undergraduate student > Industrial Engineering and Management, > IIT Kharagpur > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >[[alternative HTML version deleted]]