Hi,
I am fitting a model with a continuous outcome and an interaction between two binary predictors on the righthand side. In addition to measuring the interaction as a departure from additivity, which is what the coefficient of the interaction term implies, I would also like to calculate the interaction effect on the multiplicative scale. VanderWeele and Knol (2014, p. 60) point out that this can be done by fitting a log-linear regression. I am wondering if, instead, such a measure can be calculated using margins and nlcom?
After margins, I ran:
nlcom ln((_b[4._at]/_b[3._at])/(_b[2._at]/_b[1._at])).
But I am not sure if this is producing the estimate I am interested in. Any advice would be much appreciated.
I should mention that the reason I do not want to run a log-linear regression (in this context, I use this term to mean taking the log of the continuous outcome) is because my outcome is a standardized scale and has negative values.
Thank you!
Robbie Dembo
Related Posts with Multiplicative interaction with a continuous outcome
Binning times in hours, rounding error?Hello, I am trying to truncate times to only the hour using floor so that I can merge all data for …
How to construct the distribution of propensity scores calculated from the pre-match conditional logistic regression?Dear Statalists, Hope my message finds you well. I am trying to construct an estimated propensity …
Convergence error in calculating of productivity by SFA - "Kumbhakar, S.C, 2015"Dear everyone, I am calculating total factor productivity by SFA model in using STATA. When I run …
text file without the .txt extensionHi Stata Users. I have multiple text file but without .txt extension. As I have many files I do not …
Marginsplot axis value labelsI'm using marginsplot to graph a repeated measures anova, with the timepoints labeled t0-t9. This me…
Subscribe to:
Post Comments (Atom)
0 Response to Multiplicative interaction with a continuous outcome
Post a Comment