Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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