Copy description of a timeseries

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

loulouviews
Posts: 60
Joined: Wed Mar 11, 2015 2:19 am

Copy description of a timeseries

Postby loulouviews » Fri Jun 12, 2015 9:51 am

Hi everybody,

I have a very simple problem, I have a timeseries X with a description and I want the series Y to be perfectly equal to X, description included.
I wrote :

Code: Select all

smpl @all series Y = X
But unfortunately it doesn't paste the description, only the values.

Does anybody have an idea ? It would be of great help.

Thanks a lot,

Loulouviews

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

Re: Copy description of a timeseries

Postby EViews Gareth » Fri Jun 12, 2015 5:13 pm

Code: Select all

%desc = x.@description y.setattr("description") {%desc}

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Copy description of a timeseries

Postby EViews Glenn » Mon Jun 15, 2015 11:30 am

Copy should carry forward the description

Code: Select all

copy x y


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests