A question about dummy variable

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

eisamabodian
Posts: 13
Joined: Tue Aug 05, 2014 3:50 am

A question about dummy variable

Postby eisamabodian » Fri Jul 15, 2016 2:20 am

Which of these forms is correct for a dummy variable?

Model A)

Code: Select all

1   :  T>=S
0   :   T<S

S=Structural break date


Model B)

Code: Select all

1   :  T>S
0   :   T<=S
S=Structural break date

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: A question about dummy variable

Postby startz » Fri Jul 15, 2016 5:37 am

Either is fine. They differ in whether date T is on or off.

eisamabodian
Posts: 13
Joined: Tue Aug 05, 2014 3:50 am

Re: A question about dummy variable

Postby eisamabodian » Sat Jul 16, 2016 7:09 am

startz wrote:Either is fine. They differ in whether date T is on or off.


What does mean on or off?

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: A question about dummy variable

Postby startz » Sat Jul 16, 2016 7:16 am

Which side of the structural break do you want observation T to be in.

eisamabodian
Posts: 13
Joined: Tue Aug 05, 2014 3:50 am

Re: A question about dummy variable

Postby eisamabodian » Sun Jul 17, 2016 2:27 am

startz wrote:Which side of the structural break do you want observation T to be in.


Is this arbitrary ?
Can we use both of this forms in empirical works?
Because in some papers I see Model A , while in others I see Model B.Is the result is the same in both of these situations or is different?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 18 guests