I have 2 independent variables and i need to create an interaction from both variable.
The first variable is distance to financial institution and i made the data became categorical (1: 0-1km; 2: 1-10km; 3: >10km)
The second variable is health shock in the dummy form. 1 for health shock occur, and 0 for health shock doesnt occur.
My data is panel for year 2007 and 2014.
Can i make an interaction from both variable? If yes, how can i do that?
Related Posts with How to create interaction variable in stata
suest - variance matrix is nonsymmetric or highly singularI fit the full multinomial logit model for all four alternatives of my response variable and four re…
Command for stratifying categorical variableDear, I want stratify my predictors (marital status, religion, education level, employment status fo…
c.ingroup##c.inyear vs i.ingroup##i.inyearDear All, I run a DID regression with the following command (the first one is working, but the secon…
Number of different values of a given variable for every combination of other two variablesI have a hospital record dataset with variables such as hospitalisation id (n_aih), year of hospital…
Double sorted portfolio - Error EstimationI have to make a double sorted portfolio analysis. First I need to regress a simple linear model wit…
Subscribe to:
Post Comments (Atom)
0 Response to How to create interaction variable in stata
Post a Comment