Page 1 of 1
overlay two series
Posted: Mon Jan 11, 2010 4:36 am
by Krzysztof
Does anyone know how to easily overlay two series?
I would apprecaite any help.
Rgds, Krzysztof
Re: overlay two series
Posted: Mon Jan 11, 2010 8:05 am
by EViews Gareth
You'll have to be more precise as to what you mean by that.
Re: overlay two series
Posted: Tue Jan 12, 2010 2:30 am
by Krzysztof
Sure, nor problem, below there is a hypothetical example:
Assume that the annual time series A has the values 1, 2, NC, and 4 for the years 1987 to 1990 and that the annual series B has the values NA, 6, 7, and 8 for the same period.
I would like to have a function (or find any way) which would return the series 1, 2, 7 and 4. > series B overlaid with series A
I would be desirable that the solution works both ways to return the series 1, 6, 7 and 8. > series A overlaid with series B
Many thanks in advance, k
Re: overlay two series
Posted: Tue Jan 12, 2010 8:09 am
by EViews Gareth
You can use the @recode function for this:
or
Re: overlay two series
Posted: Tue Jan 12, 2010 11:02 am
by Krzysztof
works perfectly, many thanks