Dear all,
I have two categorical variables that are socialclass (1=low, 2=middle, 3=high) and jobtype (1=manufacturing, 2=services, 3=construction, 4=other). I am running a logit regression and want to interact them with the level of unemployment in the region. Normally I would just do:
gen unemploymentsocialclass=socialclass*unemployment
gen unemploymentjobtype=jobtype*unemployment
However, I think that for jobtype the interpretation would not make sense as an increase in jobtype is not really meaningful given the variable options. In this case, should I create 4 new independent binary variables for each of the options of jobtype and then interact those with unemployment?
Thank you very much!
Joan
Related Posts with Interacting Categorical Variable
How to calculate the same propensity score within an individual in panel data ?I am trying to estimate the propensity score to balance the difference between the treated and the c…
Interpreting probit marginal effectsI have a question about how to interpret the marginal effects in a probit model that I hope someone …
Country and Time Fixed EffectsHi! I am doing a fixed effects regression on the impact of trade (TGDP) on inequality (Gini). My pa…
Spaghetti plot 95% CIHi everyone! I have made a spaghetti plot illustrating how a measured diameter change between two t…
Directly modifying part of a date variableDear Stata users, I have a date variable formatted using %tmCCYYMon. However, I have identified a s…
Subscribe to:
Post Comments (Atom)
0 Response to Interacting Categorical Variable
Post a Comment