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
chaning time to minutes.I have a variable where the data er described as 6D 21H 52M 0S (d= days, H= hours, M=minutes, S= sec…
Mathematical function ceilHi guys, I generated the variable "revenue" in steps of 50 Mio. After that I want to generate the c…
Confusion about Confirmatory Factor Analysis with validscaleDear all, I am new to STATA and try to test the validity of my measures. I run Stata 16 for Microso…
Piecewise regression with panel dataDear. Statalist I am trying to do a piecewise regression with panel data but I can't find out much …
Matrix, standard deviation of each rowI have a matrix that is 12 rows by 500 columns. I would like to take the average and standard deviat…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction Term in Log-Linear Model
Post a Comment