Effects coded parameters & rp logit

This forum is for posts that specifically focus on Ngene.

Moderators: Andrew Collins, Michiel Bliemer, johnr

Effects coded parameters & rp logit

Postby nashkato » Sat Nov 10, 2012 6:30 am

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
nashkato
 
Posts: 4
Joined: Fri Apr 27, 2012 1:13 am

Re: Effects coded parameters & rp logit

Postby johnr » Mon Nov 12, 2012 11:03 am

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
johnr
 
Posts: 168
Joined: Fri Mar 13, 2009 7:15 am

Re: Effects coded parameters & rp logit

Postby nashkato » Sat Nov 17, 2012 2:24 am

Thanks, John. The code worked and it's great to see the capability. I appreciate it!
nashkato
 
Posts: 4
Joined: Fri Apr 27, 2012 1:13 am


Return to Choice experiments - Ngene

Who is online

Users browsing this forum: No registered users and 40 guests