Page 1 of 1

Interpreting variable code

Posted: Thu Apr 05, 2012 7:17 am
by Aj_dse
Can you help me interpret this part of the Eviews code:
The variable looks like this
Log(X(-)/10000+(X=0))

I was able to understand that X(-) is the lag of length one for X but not the second part where we equate x=0 under parenthesis.

Re: Interpreting variable code

Posted: Thu Apr 05, 2012 7:34 am
by EViews Gareth
(X=0) is just a binary (or dummy) variable. It returns a value of 1 whenever X is equal to 0, and 0 otherwise.

Re: Interpreting variable code

Posted: Thu Apr 05, 2012 11:45 pm
by Aj_dse
(X=0) is just a binary (or dummy) variable. It returns a value of 1 whenever X is equal to 0, and 0 otherwise.
Thanks Gareth!!