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
Arrangement of Dataxtset firm_iden year, yearly panel variable: firm_iden (unbalanced) time variable: year, 2015 to 201…
Collapse produces different but optically similar resultsDear all, I am having a weird problem with the collapse command. I collapse my data to a sum and th…
Replace missing values that are indicated with an asterisk (*)I have a problem regarding an Excel file that has missing values that are indicated with an asterisk…
Standard errors to standard deviations in mixed modelsDear readers, For a study into differences (e.g. liver values) between different dosages of a speci…
Rwolf equivalent in R?I am looking for an equivalent R-package for 'rwolf' in Stata for multiple hypothesis correction. So…
Subscribe to:
Post Comments (Atom)
0 Response to How to create interaction variable in stata
Post a Comment