Hello all,
I have a silly question regarding interaction term. Would appreciate prompt input :-)
The research model uses Women ratio (and women dummy) as the main independent variable and leverage as the outcome variable.
I want to see the partical effect of e.g. industry size (large, Medium) and have created the following interaction term
gen size_interaction=WOMENDUMMY*DAX ( DAX is aslo a dummy variable & equal ==1 for large and otherwise)
and here is the model: reg LEVERAGE WOMENDUMMY DAX size_interaction GROWTH i.year i.SIC
I am confused whether i can use the womenratio instead of women dummy in the above model of regression considering the interaction term was generated using dummy. If not how can i generate an interaction term for continuous var (WOMEN ratio) and other dummy variable for interaction ? similarly, can i use women dummy and the continuous variable to generate an interaction term?
I hope I haven't posted a confused query.
Thanks.
Related Posts with Interaction Term with dummy and continuous variable!
Problem with xtunitroot llc: throws error r(2000) with strongy balanced panelI am using the Levin Lin Chiu test in Stata 17 to test for stationarity in a panel of 115 countries,…
Twoway line graph with non-integer intervalsHi, I want to create a two-way line graph with the line restricted between two years value. The prob…
unable to export mean and sd using tabstatHello, I am using the below code to export my descriptive statistics. All is good except that I get…
Error in post command: unknown function () post: above message corresponds to expression 1, variable I´m getting an error in my code when using post command but I don´t know why. The code is reproduc…
Different kinds of missingsDear stata-community, I collected data on about 2000 participants via an online survey. I am now in…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction Term with dummy and continuous variable!
Post a Comment