Hi!
I've got a question referring the use of continuous by continuous by continuous interaction and the contrast post estimation command:
How do I apply the contrast command in order to test whether the interaction effect of XZ differs significantly between W= -.54 W=-.035 W=.53 (which are the 20th, 50th and 80th percentile of the mean centered variable W)?
The code below leads to the following error message: "interactions without factor variables are not allowed".
Any comments appreciated! Thanks in advance!
I've got a question referring the use of continuous by continuous by continuous interaction and the contrast post estimation command:
How do I apply the contrast command in order to test whether the interaction effect of XZ differs significantly between W= -.54 W=-.035 W=.53 (which are the 20th, 50th and 80th percentile of the mean centered variable W)?
The code below leads to the following error message: "interactions without factor variables are not allowed".
Code:
reg Y lc.C##lc.W##lc.Z l.Y, vce(cluster ccode) margins, dydx(l.X) at(lc.Z =(-.4(0.1).4) lc.W=( -.54 -.035 .53 1.60)) marginsplot contrast lc.W#lc.X#lc.Z, nowald pveffects
Comment