Effects coded parameters & rp logit
Posted:
Sat Nov 10, 2012 6:30 am
by nashkato
I have a model with effects coded parameters. The MNL results are good but I'd like to implement this with RP/MMNL or RPPANEL/panel MMNL logit. I can't seem to pass an effects coded parameter to NGene for the RP models, and I don't see the option written into the manual. Is there any way to do it? If not, please consider this for future versions. Thanks, Derek
Re: Effects coded parameters & rp logit
Posted:
Mon Nov 12, 2012 11:03 am
by johnr
Dear Nashkato
The procedure syntax is exactly the same for all model types. For example
Design
;alts = alt1, alt2
;rows = 12
;eff = (rppanel,d)
;rep = 500
;rdraws = halton(250)
;model:
U(alt1) = b1[3.94] + b2.effects[n,1.2,0.3|n,0.3,0.1] * A[0,1,2] + b3[2.5] * B[0,1] /
U(alt2) = b2 * A + b4[u,0.5,1.5] * C[2,4,6,8] $
The above syntax will produce a design in which the attribute A is effects coded.
John
Re: Effects coded parameters & rp logit
Posted:
Sat Nov 17, 2012 2:24 am
by nashkato
Thanks, John. The code worked and it's great to see the capability. I appreciate it!