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
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Help with Dummy Variables
smpl if dummy=0
Re: Help with Dummy Variables
Hi, thank you for replying. I'm not too sure what you mean. Could you clarify your earlier comment?smpl if dummy=0
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Help with Dummy Variables
Type in that command and only observations where variable equals zero will be included.Hi, thank you for replying. I'm not too sure what you mean. Could you clarify your earlier comment?smpl if dummy=0
Re: Help with Dummy Variables
Thank you for your help, startz :)Type in that command and only observations where variable equals zero will be included.Hi, thank you for replying. I'm not too sure what you mean. Could you clarify your earlier comment?smpl if dummy=0
Who is online
Users browsing this forum: No registered users and 2 guests
