x.sheet(tform=d) transforms x rather than only affecting the view of x

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

mamo
Posts: 205
Joined: Wed Nov 07, 2012 9:11 am

x.sheet(tform=d) transforms x rather than only affecting the view of x

Postby mamo » Thu Jun 28, 2018 1:10 am

Dear Eviews team

I use Eviews 10, March 15 2018 built.

I noticed that the "tform" option to the x.sheet view actually transforms the series x rather than only affecting the display of x, see example program below.

Code: Select all

wfcreate a 2001 2008 series x=@obsnum x.sheet ' ok x.sheet(tform=d) ' ok, but x has now been transformed to x=d(x) ! x.sheet ' d(x)! show x 'd(x)!
Best,

mamo

mamo
Posts: 205
Joined: Wed Nov 07, 2012 9:11 am

Re: x.sheet(tform=d) transforms x rather than only affecting the view of x

Postby mamo » Thu Jun 28, 2018 5:09 am

Correction:
I realised that x.sheet(tform=d) does not transform the series x. However, the sheet view does not revert back to the default option "tform=level" - as documented in the help text - when thereafter the tform argument is not explicitly being provided. This can be confusing and provide unintended results, e.g., when the sheet view is frozen to a table.

Code: Select all

wfcreate a 2001 2008 series x=@obsnum x.sheet ' shows levels, default tform, ok freeze(t1) x.sheet(tform=d) ' 1st diffs, ok freeze(t2) x.sheet ' still 1st diffs, counterintuitivly not the default freeze(t3) x.sheet(tform=level) ' explicitly levels freeze(t4) x.sheet ' ... and levels again show t1 show t2 show t3 show t4
Best, mamo


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest