Page 1 of 1

makegroup - what is the code to include % deviations?

Posted: Fri Dec 21, 2012 1:10 pm
by tzink
From the GUI, it is possible to create a group that shows the results of the Active and Comparison scenarios, as well as either the absolute deviation between them or the % deviation (model object -> proc -> make group/table).

The group can also be created, including the deviations, within a program using

Code: Select all

modelname.makegroup(d) groupname @endog
from page 336 of the object reference

However, nothing is mentioned in the manual about including the % deviation instead of the absolute deviation. What is the option key to produce the % deviations?

Thanks

Re: makegroup - what is the code to include % deviations?

Posted: Fri Dec 21, 2012 2:17 pm
by EViews Glenn
I'm not seeing what you refer to on p. 336. From the EViews 7 manual...

t= arg
(default= “level”)

Transformation type: “level” (display levels), “pch” (percent
change), “pcha” (display percent change - annual
rates), “pchy” (display 1-year percent change), “dif” (display
1-period differences), “dify” (display 1-year differences).

Re: makegroup - what is the code to include % deviations?

Posted: Fri Dec 21, 2012 2:44 pm
by tzink
t= arg changes the output of the *entire* table. The option in the GUI, "% Deviations: Active from Compare" displays the *only* the deviation in percentage format, leaving the values of the actual variables unchanged. I want to achieve this using a program.

As for the manual reference, I was referring to the Object Reference, Chapter 1, p. 336, the makegroup function under the Model object.

Re: makegroup - what is the code to include % deviations?

Posted: Fri Dec 21, 2012 3:02 pm
by EViews Glenn
Oh, I think I understand the question better now.

I haven't double checked this and I have to run and do some other things, but in a brief look at the code, it looks like the undocumented "R" option will do it for you. So replace the "D" with "R".

Re: makegroup - what is the code to include % deviations?

Posted: Fri Dec 21, 2012 3:05 pm
by tzink
Perfect! (r) does the trick.

Thank you so much. I feel better knowing that it's undocumented too--I was getting worried I just couldn't operate the manual properly.

Re: makegroup - what is the code to include % deviations?

Posted: Fri Dec 21, 2012 3:15 pm
by EViews Glenn
Should have been documented. Our apologies. I just checked and the documentation has been updated to reflect the option.

Thanks for your patience.