Hi,
I have a dummy variable and i only want to include the observations that are '0' and leave out the '1' observations. I sorted the variable so that all the 0s will come first. I then tried to change the number of observations so that it will only include the '0's, but this came up with an error. Could someone please help with this? How can I ensure I'm only including the '0' observations in my model?
Help with Dummy Variables
Moderators: EViews Gareth, EViews Moderator
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Help with Dummy Variables
smpl if dummy=0
Re: Help with Dummy Variables
startz wrote:smpl if dummy=0
Hi, thank you for replying. I'm not too sure what you mean. Could you clarify your earlier comment?
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Help with Dummy Variables
Mej12 wrote:startz wrote:smpl if dummy=0
Hi, thank you for replying. I'm not too sure what you mean. Could you clarify your earlier comment?
Type in that command and only observations where variable equals zero will be included.
Re: Help with Dummy Variables
startz wrote:Mej12 wrote:startz wrote:smpl if dummy=0
Hi, thank you for replying. I'm not too sure what you mean. Could you clarify your earlier comment?
Type in that command and only observations where variable equals zero will be included.
Thank you for your help, startz
Who is online
Users browsing this forum: No registered users and 41 guests