[R] Re: R-help Digest V2 #710

About this list Date view Thread view Subject view Author view Attachment view

From: Adrian Trapletti (adrian.trapletti@lmttrading.com)
Date: Tue 23 Apr 2002 - 17:20:45 EST


Message-id: <3CC50B4D.7E09DC5E@lmttrading.com>


> Date: Mon, 22 Apr 2002 07:21:41 +0000
> From: "sonchawan tamkaew" <psu17772@hotmail.com>
> Subject: [R] PP.test
>
> Hello there,
>
> I would like to know whether PP.test from library(ts) is appropriate to test
> unit root in financial data (daily)?
>
> Thank you for your help.
>
> Sonchawan
>

In principle yes. However, it is by now a well know fact that the PP test has severe size distortions for certain processes (e.g. integrated MA(1)). A more robust alternative in some situations is the Augmented-Dickey-Fuller test which is provided by tseries (see adf.test).

best
Adrian

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:13 EST