Skip to content
Prev 16982 / 20628 Next

significance of slope (different than zero) in triple interaction

Ok i found out that was messing up everything.

When an offset is included in the model, the slopes produced by
emtrends(model,~factor1|factor2,"num_var") are very different than the ones
that can be computed with the model output (the coefficients for the slopes
in the output need to be divided by the standard deviation of "num_var" in
case of a scaled(num_var) in order to be directly comparable with emtrends
output). I don't know what emtrends is doing in this case.

However, the slopes produced by emtrends(model,~factor1|factor2,"num_var")
are equivalent to the back transformed scaled coefficients of slopes of the
summary output when the offset is taken out. Is there any way to keep the
offset and have the correct values of slope? I do not know.

To come back to my original questions, I was indeed looking for the "null"
argument which I need to set to 0 because the tests are done on the scale
of the linear predictor and a slope of 0 on the log scale is equivalent to
a multiplicative factor of 1 on the original scale (which means a flat
regression line - no effect).

Don't hesitate to give me your feedback if you believe something I have
said above is incorrect.

Thank you a thousand time for you help.

Guillaume ADEUX


Le mer. 5 sept. 2018 ? 19:08, Guillaume Adeux <guillaumesimon.a2 at gmail.com>
a ?crit :