Page 1 of 1

excluding all observations where the dummy is 0

Posted: Sun Jan 03, 2010 2:49 am
by Machiavelli
Hello,

I have a model with a qualitative dummy variable, and I simply want to run a regression including only all observations where the dummy is 1, excluding all where it is 0, since running a regression with all observations did not make me much wiser.

Thanks,
Chris

Re: excluding all observations where the dummy is 0

Posted: Sun Jan 03, 2010 12:10 pm
by EViews Gareth
Set the estimation sample to be:

Code: Select all

if dum=1
where dum is the name of your dummy