I'm looking at social origin effect on occupational attainment in three different countries and want to run a regression with an interaction between the social origin dummies and country. However, in the dataset (ESS) the country variable is a string variable (no numbers assigned). Is it possible to create an interaction when one of the variables is a string variable?
Related Posts with Interaction term between social origin and country
XTIVREG, FE: needs to be FE in stage 1 and 2?Hi all, I'm running a fixed effects regression using an IV variable, but I'm wondering, do I need t…
Trimming certain part of variable labelsI am trying to remove the "R10 D Covid-19 Sp" part from all the variables. I used the Code: cleanch…
Logit, Probit and Penalised Maximum Likelihood (PMLE)Hi all, Just wondering as to why the sample sizes are different when I run Logit/probit and PMLE re…
Generalized difference in differences with panel dataHi, I am relatively new to Stata so any help would be greatly appreciated! Q: How do I do a general…
7-point ordinal dependent variable: Is it okay to transform and model with fracreg logit?Greetings, I'm running Stata 15.1 on a Mac OS and working with cross-sectional survey data. My depe…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction term between social origin and country
Post a Comment