Page 1 of 1

Get max observations of pages and create a new one

Posted: Tue Feb 28, 2012 6:46 am
by patrice
I want to create a new page with the number of observations = max(number of observations) of 2 other pages.
In this exemple, I want to create a new page with number of observations = 20 (max of 10 and 20)

Code: Select all

wfcreate(page=R) u 1 pagecreate(page=P0) u 10 series a=rnd pagecreate(page=P1) u 20 series a=rnd pageselect R pagecreate(page=Z) u ????

Get max observations of pages and create a new one

Posted: Tue Feb 28, 2012 7:50 am
by EViews Gareth
@obsrange will tell you how many observations are on the current page.

Pageselect lets you switch pages.