getting unit root results

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

pcruzd
Posts: 15
Joined: Thu Dec 14, 2017 11:53 am

getting unit root results

Postby pcruzd » Tue May 06, 2025 6:57 am

Hi,
I have a simple question. Im running unit root tests for 100 variables (var1 to var 100) and I want to create a table with the p-value of an ADF unt root test. The thing is that I don't know how to get the p-value, or any other thing, from a unit root test since the uroot command is a view and not an object. Im using Eviews 13.

Formally, I want to do something like this:
table tab
tab(1,1) = "Series"
tab(1,2) = "Prob.*"
for !x = 1 to 100
tab(!x+1,1) = var{!x}
tab(!x+1,2) = var{!x}.uroot.@prob '(this doesn't work)
next

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13600
Joined: Tue Sep 16, 2008 5:38 pm

Re: getting unit root results

Postby EViews Gareth » Tue May 06, 2025 8:40 am



Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests