dummy varibles help
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
diesel20056
- Posts: 5
- Joined: Thu Dec 15, 2011 6:57 am
dummy varibles help
can some help i have these varibles y x e t and want to make a dummy varible 1 if female ,0 otherwise can some one help as i need to see the differences between the males and females within the data thanks
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: dummy varibles help
I don't quite understand the question. Could you elaborate?
-
diesel20056
- Posts: 5
- Joined: Thu Dec 15, 2011 6:57 am
Re: dummy varibles help
there is data for 93 people the starting salary =Y education in years =X months of previous work experience =E the month in which the individual was hired =T with individuals hired in the first month having T=1 and those hired in the last month having T=36.
The first 61 observations are for female employees and the last 32 observations are or male employees.
i need to make a dummy varible so i can see if males do get a higher starting wage or not, hope that helps
The first 61 observations are for female employees and the last 32 observations are or male employees.
i need to make a dummy varible so i can see if males do get a higher starting wage or not, hope that helps
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: dummy varibles help
The command
series female = @trend<61
creates the dummy variable with 1's for the first 61 observations, and 0's for the remainder (you should check that this lines up with what you expect). Just type that in the command line...
series female = @trend<61
creates the dummy variable with 1's for the first 61 observations, and 0's for the remainder (you should check that this lines up with what you expect). Just type that in the command line...
-
diesel20056
- Posts: 5
- Joined: Thu Dec 15, 2011 6:57 am
Re: dummy varibles help
thanks alot that helped :D
-
diesel20056
- Posts: 5
- Joined: Thu Dec 15, 2011 6:57 am
Re: dummy varibles help
Hey, how would I compute a equation to show the differences for the women and mens salaries side by side on the ols table
Who is online
Users browsing this forum: No registered users and 2 guests
