Hi Statalists,
I am trying to find the relationship between the change in labour productivity (dependent variable) and immigrants occupational level (independent variable). My unit analysis is by sector. From 2010-2016. Right now I am going to include dummy variable (manager, senior office and etc = is equal to 1 for high skilled occupations and vice versa) and interaction term sector*highskill into the regression. However the dummy is omitted because of collinearity as shown at the end of the post***. So my question is.....
If my focus is on the interaction term (i.e. how immigrants with different occupational level (high or low skilled occupations) affects labour productivity in each sector), how can I do that?
I've attached a picture of my final dataset which I use for my regression
Thanks in advance
Lisa
Related Posts with The problem with creating dummy variables
create a new var extracting part of string with different lengthHi, How can I create a new var(var2) extracting part of string from var1 with different length? The…
Variability over time of positive and negative valuesHello, I'm interested in calculating the variability over time of a variable that can takes either …
Difficulty aggregating variables to the unit of analysis without losing or altering dataHello, I'm a first year grad student that is fairly new to Stata. I'm working on a project in which…
create a new var extracting part of string with varying lengthHi, How can I create a new var(var2) extracting part of string from var1 with varying length? The s…
bysort gen n = _n with if condition 1/2/3/4 is trueHello everybody, I have a hospital list (ik) doing several surgeries (haupt_op). Now I want create a…
Subscribe to:
Post Comments (Atom)
0 Response to The problem with creating dummy variables
Post a Comment