I have 2 questions when writing a small program in eviews. Firstly, is it possible for eviews to identify the format ( d( ), dlog(), log(), etc) of the dependent variable in a group after it creates the group by eq_xyz.makeregs group1? e.g.,
1st procedure:
Code: Select all
equation eq_xyz.ls(n) <some transformation of y> c {x variables}Code: Select all
eq_xyz.makeregs group1
scalar varnum = eq_xyz.@count
table tab
for !i = 1 to varnum ' everything
tab(!i,1) = eq_xyz.@seriesname(!i)
next !i
- 1st var in tab --> dep var
- check dep var's transformation
- if it's format a, do 1; format b, do 2, ...
Second question relates to sorting. I know there has been some discussions about sorting for a while, but I don't see if there is a way to sort results from correlation. Say, this is what I got so far:
Code: Select all
group gp_1 a b c d e
freeze(table) gp_1.cor
Thanks guys!
