Hello All! I am currently writing my Bachelor’s Thesis and have a question about the interpretation of an interaction term in a log-linear model.
Without an interaction I’d take the coefficient of a x variable and transform it via exp(coefficient)-1 * 100. Then I am able to argue: A 1 unit increase in X is associated with a increase of … percent in Y. The coefficients are just very high (<0.3) That's why I applied the transformation.
Now I want to do that with the coefficient of an interaction term with a continuous and a binary variable. Binary variable is male/female and I want to be able to argue:
A 1 unit increase in the male sample is associated with an increase in variable Y by …percent.
A 1 unit increase in the female sample is associated with an increase in variable Y by …percent.
Is it correct to use the Stata command margins, dydx(continuous variable) at (dummy_variable=(0 1)) and then transform the output for each value of the dummy (0 1) via exp(coefficient)-1 * 100 ?
I would appreciate any help!
Related Posts with Interaction Term in Log-Linear Model
variable not found Code: * Example generated by -dataex-. To install: ssc install dataex clear input str3 countrycode …
variable not found Code: * Example generated by -dataex-. To install: ssc install dataex clear input str3 countrycode …
Moderation effect Graph in StataHi everyone, I have been trying to plot interaction graphs for one of my research works, but I have…
Instrumental Variables (as Two Stage Least Squares 2SLS)Hello guys, Please I need help, I have questions about Instrumental Variables (Two Stage Least Squa…
Long to wide with continuous timeHi everyone, I am looking for a way to convert a dataset from the long format to a wide format. How…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction Term in Log-Linear Model
Post a Comment