Hello Statalist members,
I am running a fixed effects poisson model using xtpoisson looking at the effect of 2 continuous variables and the interaction between these on a count outcome variable.
My code is as follows:
xtpoisson depvar var1 var2 var1Xvar2, fe
The interaction effect is significant (β=0.145, SE=0.051, p=.005) so in order to understand what direction the effect is in I run marginscontplot to picture the interaction using this code:
marginscontplot var1 var2 , var1(20) var2(3) margopts(predict (iru0))
This is the graph that is produced.
My question is what does the scale on the y-axis refer to? As I am looking at within person changes over time it clearly is not a count, but what it is I don't know.
Many thanks for any help,
Jessica
I am running a fixed effects poisson model using xtpoisson looking at the effect of 2 continuous variables and the interaction between these on a count outcome variable.
My code is as follows:
xtpoisson depvar var1 var2 var1Xvar2, fe
The interaction effect is significant (β=0.145, SE=0.051, p=.005) so in order to understand what direction the effect is in I run marginscontplot to picture the interaction using this code:
marginscontplot var1 var2 , var1(20) var2(3) margopts(predict (iru0))
This is the graph that is produced.
My question is what does the scale on the y-axis refer to? As I am looking at within person changes over time it clearly is not a count, but what it is I don't know.
Many thanks for any help,
Jessica
Comment