Just opened EViews (5) for the first time and now I'm supposed to create a dummy variable.
I've got a sample with such variables as "work experience", "education", "wages", "woman", "married" etc.
I'm supposed to create a new binary variable "man" with possible values 1 (the person is male) & 0 (the person is female). (Or man=1, if male; =0, otherwise.)
How to create such a variable? Note that the data already has a variable for sex, namely the above-mentioned "woman" variable which is woman=1, if female; =0, otherwise. Am I somehow supposed to use that to create the "man" variable?
(Are "binary" and "dummy" interchangeable in this case?)
Simple "sex" dummy variable
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Simple "sex" dummy variable
series man = 1-woman
Re: Simple "sex" dummy variable
Makes sense, thanks!
Who is online
Users browsing this forum: No registered users and 2 guests
