Dear all,
I have difficulties to use pivot with effect-coded attributes.
The following design result in an error:
Design
; alts = alt1, alt2, alt3
; rows = 8
; eff = (mnl,d)
; model:
U(alt1) = b1*coutH.ref[100] + b2*wMH.ref[10] + b3.effects*stabRev.ref[2] /
U(alt2) = b0 + b1*coutH.piv[-100 , 0 , 100] + b2*wMH.piv[-10, 0, 20] + b3_1.effects[0|0]*stabRev.piv[1,2,3] /
U(alt3) = b0 + b1*coutH.piv[-100 , 0 , 100] + b2*wMH.piv[-10, 0, 20] + b3_1.effects[0|0]*stabRev.piv[1,2,3] $
Error: A pivot reference attribute has been specified with effects coding. The two are not compatible.
So far, I have tried this. Is this a correct way to circumvent my problem?
Design
; alts = alt1, alt2, alt3
; rows = 8
; eff = (mnl,d)
; model:
U(alt1) = b1*coutH.ref[100] + b2*wMH.ref[10] + b3*stabRev.ref[2] /
U(alt2) = b0 + b1*coutH.piv[-100 , 0 , 100] + b2*wMH.piv[-10, 0, 20] + b3_1.effects[0|0]*stabRev.piv[-1,0,1] /
U(alt3) = b0 + b1*coutH.piv[-100 , 0 , 100] + b2*wMH.piv[-10, 0, 20] + b3_1.effects[0|0]*stabRev.piv[-1,0,1] $
Best,
Damien