Effects coding

This forum is for posts that specifically focus on Ngene.

Moderators: Andrew Collins, Michiel Bliemer, johnr

Effects coding

Postby nastay » Thu Mar 03, 2022 9:03 pm

Dear all,

I am new to Ngene and have a question with regard to effects coding, which I hope you can help me:

1) I know that with dummy coding, the last level is the base level. So A.dummy[0.140] * X[0,1] means that level 1 has utility 0 and level 0 has utility 0.140, so level 1 is preferred over level 0 in this syntax.
Is the same rule (that the last level is the base level) applies for effects coding as well?

Thank you so much in advance.

Best, Nasrin
nastay
 
Posts: 16
Joined: Thu Nov 22, 2018 7:45 pm

Re: Effects coding

Postby Michiel Bliemer » Fri Mar 04, 2022 8:01 am

Dummy coding:

b.dummy[0.1|0.3] * X[1,2,3]

level 3 is the base level.

level 1 has utility 0.1
level 2 has utility 0.3
level 3 has utility 0

This means that level 3 is the least preferred level and level 2 is the most preferred level.

Effects coding:

b.effects[0.1|0.3] * X[1,2,3]

level 3 is the base level

level 1 has utility 0.1
level 2 has utility 0.3
level 3 has utility -0.4 (namely, -0.1-0.3)

So the main difference is that with dummy coding the base level has utility 0, while in effects coding the base level has utility -b1-b2-b3 etc such that the average contribution to utility equals 0.

Michiel
Michiel Bliemer
 
Posts: 1885
Joined: Tue Mar 31, 2009 4:13 pm

Re: Effects coding

Postby nastay » Fri Mar 04, 2022 5:50 pm

Dear Michiel,

Thanks for the very clear explanation :)

Best, Nasrin
nastay
 
Posts: 16
Joined: Thu Nov 22, 2018 7:45 pm


Return to Choice experiments - Ngene

Who is online

Users browsing this forum: No registered users and 15 guests

cron