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
Help with output/results window cutting off variable namesMy variable names are not shown in full, is there any way of getting Stata to tabulate so the output…
Wald chi2 disappears after I apply the robust variance estimateDear Stata users and experts, I am running an analysis where I have a time invariant variable, cross…
Quicker way to export correlation coefficients into Excel?Hello, I am running correlations over hundreds of variables and storing the output of the correlatio…
De trending// De seasonalising data - find weekly meanHiya, for my project i have daily stock market data (returns and volatility) and daily weather (clo…
New command -oaxaca_rif-Dear all, Thanks to Prof. Baum a new command named oaxaca_rif is now available in the SSC archive. T…
Subscribe to:
Post Comments (Atom)
0 Response to How to create interaction variable in stata
Post a Comment