Page 1 of 1

For loop / test for equality

Posted: Sat Apr 28, 2012 8:18 am
by A0BL7N
Hello,

I have a sample of 640 data series, which are subdivided into 320 pairs. I now need to run tests for equality of the means and medians of each of these pairs.
The manual way to do this for the first pair is:

Select Series1 and Series2 --> Open as group --> View --> Test for equality --> Median

The code to do this for the first pair is:

group a Series1 Series2
show a.testbtw(median)

In order to be more time efficient, I now would like to create a program which contains a for loop in order to perform the different tests of the 320 pairs automatically.

Could anybody help me on this? Many thanks in advance.

For loop / test for equality

Posted: Sat Apr 28, 2012 8:44 am
by EViews Gareth
What is the naming convention between the 640 series? Is the a way to logically connect the pairs?