Dummy Variable
Posted: Fri Sep 10, 2010 10:34 am
Hi!
EViews 6
I have 3 series:
- net income as dependent variable (NI)
- stock returns as independent variable (RET)
- and a dummy variable: 1 if stock returns are negative, 0 if positive (NEG)
Regression: NI = c(1) + c(2)*RET + c(3)*NEG + c(4)*RET*NEG
My question is, how can I become a graph of this regression (two lines with different slopes for negative and positive stock returns in ONE picture)
Many thanks
Thomas
EViews 6
I have 3 series:
- net income as dependent variable (NI)
- stock returns as independent variable (RET)
- and a dummy variable: 1 if stock returns are negative, 0 if positive (NEG)
Regression: NI = c(1) + c(2)*RET + c(3)*NEG + c(4)*RET*NEG
My question is, how can I become a graph of this regression (two lines with different slopes for negative and positive stock returns in ONE picture)
Many thanks
Thomas