problem with lagged variables in groups
Posted: Wed Apr 25, 2018 6:42 am
Hello,
I am having a problem when working with lagged variables in groups. Lets say I have a group G with the variable X(-1) in it:
group G
G.add X(-1)
I want to form another group G2 with a transformation of the first variable of G:
!a = 2
group G2
G2.add G(1)*!a
This should give me a group named G2 with the variable X(-1)*2 in it. However, I am getting a G2 group with the variable X*2 in it. I have also noticed that if no transformation is done, then the lagged variable is correctly asigned to G2, but if I write
G2.add (G(1))
I also get X in the group instead of X(-1). Is there a way to fix this?
(im working with Eviews 10)
I am having a problem when working with lagged variables in groups. Lets say I have a group G with the variable X(-1) in it:
group G
G.add X(-1)
I want to form another group G2 with a transformation of the first variable of G:
!a = 2
group G2
G2.add G(1)*!a
This should give me a group named G2 with the variable X(-1)*2 in it. However, I am getting a G2 group with the variable X*2 in it. I have also noticed that if no transformation is done, then the lagged variable is correctly asigned to G2, but if I write
G2.add (G(1))
I also get X in the group instead of X(-1). Is there a way to fix this?
(im working with Eviews 10)