Page 1 of 1

Simple "sex" dummy variable

Posted: Wed Mar 03, 2010 1:25 pm
by Gemini
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?)

Re: Simple "sex" dummy variable

Posted: Wed Mar 03, 2010 1:57 pm
by EViews Gareth
series man = 1-woman

Re: Simple "sex" dummy variable

Posted: Wed Mar 03, 2010 3:28 pm
by Gemini
Makes sense, thanks!