Page 1 of 1

Dummy

Posted: Sat Jun 09, 2012 2:09 am
by Muto
Hi,

I've a question. I'm doing an analysis and I want to know if there are any significant differences after 2004 compared to the whole time. So I made the next Eviews analysis:

Genr lx=log(absenteeism)
Genr dx=lx-lx(-1)


Ls c time dx

After that I added AR(1) because the wasn't between the 1.6 en 2.4. After that it was.

Then I want to see if there are any differences, so:

Genr dum=0
smpl 2004 2010
genr dum=1
smpl 1970 2010
show dum
--------
genr dx1=dum*dx
show dx dx1

And finally:
ls c time dx dx1 AR(1)


I just want to know if that is the right way to do this?

Thanks!

Re: Dummy

Posted: Sat Jun 09, 2012 8:12 am
by startz
You seem to have the dependent variable in the wrong place.