Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
7 registered members (EternallyCurious, 7th_zorro, Ayumi, Quad, AndrewAMD, ricky_k, 1 invisible), 497 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
No ADF test in Zorro? #485752
04/19/22 07:53
04/19/22 07:53
Joined: Feb 2022
Posts: 21
T
TrumpLost Offline OP
Newbie
TrumpLost  Offline OP
Newbie
T

Joined: Feb 2022
Posts: 21
I'm surprised there's no ADF test built-in for Zorro. Is there any function in Zorro to test for unit root?

Re: No ADF test in Zorro? [Re: TrumpLost] #485756
04/19/22 10:07
04/19/22 10:07
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Things are built in when people need them, but it seems no one until now wanted an ADF test. If you have C code you can implement it yourself, or you call it from a R package.

Re: No ADF test in Zorro? [Re: TrumpLost] #485761
04/19/22 11:54
04/19/22 11:54
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
You can use the ADF test from the "tseries" package.

Ex = adf.test(MyDataSeries)
Ex$statistic is the Dickey-Fuller statistic, Ex$parameter is the lag order, and Ex$p.value is the p-value.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1