RunsTest

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

RunsTest

Postby trubador » Thu Apr 30, 2015 2:47 pm

This thread is about RunsTest add-in.

The add-in allows you to carry out a nonparametric test for the randomness of a given series.

Please read the documentation for further instructions.

mi34
Posts: 1
Joined: Mon Jul 27, 2015 8:13 am

Re: RunsTest

Postby mi34 » Mon Jul 27, 2015 8:19 am

Hello,

I am using the runs test add in and the result only shows the number of runs and the p-value. Does anybody know how I can determine the z statistic?
Thank you in advance.

Regards
Max

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: RunsTest

Postby trubador » Thu Jul 30, 2015 11:11 am

You can exploit the following relationship:

Code: Select all

scalar zstat = @qnorm(1-pval/2)

BNAponso
Posts: 1
Joined: Tue Jul 12, 2016 5:59 am

Re: RunsTest

Postby BNAponso » Tue Jul 12, 2016 6:03 am

Hi, could I know which one the p value for the test is, I only see the resvec file that comes up when you do the runs test, which gives two values R1 and R2. I assume the R1 gives the number of runs, is R2 the p value? or is it the probability value that comes up when you click on view>descriptive statistics? I also need the Z statistic

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: RunsTest

Postby trubador » Wed Jul 13, 2016 8:10 am

From the documentation that comes with the add-in:
Analysis returns a vector of two values. First value corresponds to the number of runs and the second value represents the associated p-value.

As for computing the z-stat:
trubador wrote:You can exploit the following relationship:

Code: Select all

scalar zstat = @qnorm(1-pval/2)


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 21 guests