Using dummy-coded vs effects-coded estimates as priors in Ngene
Posted: Wed Aug 05, 2026 7:01 pm
Hello everyone,
I am relatively new to DCE design and would appreciate some advice regarding priors and coding schemes in Ngene. For context, I first designed a pilot experiment using zero priors because I had no prior information available. I then collected data from 12 respondents and estimated an MNL model in Apollo. My intention is now to use the estimated coefficients and robust standard errors from this first pilot as Bayesian priors for a second pilot design in Ngene. My categorical attributes were specified using effects coding in Ngene. During analysis in Apollo, however, I estimated equivalent models using both dummy coding and effects coding, as I understand that these are simply alternative parameterisations of the same model and should lead to identical model fit and predictions, differing only in coefficient interpretation and scale.
What I am unsure about is which estimates should be used as priors in Ngene. For example, consider the attribute "Health" with three levels: Do nothing, Take probiotics and Take natural supplements
The estimated coefficients were:
Dummy coding:
Do nothing (base) = 0
Probiotics = 0.91 (rob s.e. = 0.22)
Natural supplements = 0.30 (rob s.e. = 0.26)
Effect coding:
Probiotics = 0.51 (rob s.e. = 0.12)
Natural supplements = -0.10 (rob s.e. = 0.14)
Do nothing = -0.4015
My understanding is that I should use (in Ngene) either:
dummy coding estimates with dummy coding: hlth.dummy[(n,0.91,0.22)|(n,0.30,0.26)] * SUPPLEMENT[0,1,2]
or
effect coding estimates with effect coding: hlth.effects[(n,0.51,0.12)|(n,-0.10,0.14)] * SUPPLEMENT[0,1,2]
However, someone from my department suggested that I could instead use the dummy-coded estimates together with an effects-coded specification in Ngene, i.e.: hlth.effects[(n,0.91,0.22)|(n,0.30,0.26)] * SUPPLEMENT[0,1,2], which sounds incorrect to me.
I have not been able to find any documentation or forum discussions that explicitly address this point.
Is it correct that the priors should be expressed in the same coding scheme as the Ngene specification, or is there a reason why dummy-coded estimates could be used directly within an effects-coded Ngene design?
The resulting designs are quite different, so I would be very grateful for any guidance.
Thank you!
Sara
I am relatively new to DCE design and would appreciate some advice regarding priors and coding schemes in Ngene. For context, I first designed a pilot experiment using zero priors because I had no prior information available. I then collected data from 12 respondents and estimated an MNL model in Apollo. My intention is now to use the estimated coefficients and robust standard errors from this first pilot as Bayesian priors for a second pilot design in Ngene. My categorical attributes were specified using effects coding in Ngene. During analysis in Apollo, however, I estimated equivalent models using both dummy coding and effects coding, as I understand that these are simply alternative parameterisations of the same model and should lead to identical model fit and predictions, differing only in coefficient interpretation and scale.
What I am unsure about is which estimates should be used as priors in Ngene. For example, consider the attribute "Health" with three levels: Do nothing, Take probiotics and Take natural supplements
The estimated coefficients were:
Dummy coding:
Do nothing (base) = 0
Probiotics = 0.91 (rob s.e. = 0.22)
Natural supplements = 0.30 (rob s.e. = 0.26)
Effect coding:
Probiotics = 0.51 (rob s.e. = 0.12)
Natural supplements = -0.10 (rob s.e. = 0.14)
Do nothing = -0.4015
My understanding is that I should use (in Ngene) either:
dummy coding estimates with dummy coding: hlth.dummy[(n,0.91,0.22)|(n,0.30,0.26)] * SUPPLEMENT[0,1,2]
or
effect coding estimates with effect coding: hlth.effects[(n,0.51,0.12)|(n,-0.10,0.14)] * SUPPLEMENT[0,1,2]
However, someone from my department suggested that I could instead use the dummy-coded estimates together with an effects-coded specification in Ngene, i.e.: hlth.effects[(n,0.91,0.22)|(n,0.30,0.26)] * SUPPLEMENT[0,1,2], which sounds incorrect to me.
I have not been able to find any documentation or forum discussions that explicitly address this point.
Is it correct that the priors should be expressed in the same coding scheme as the Ngene specification, or is there a reason why dummy-coded estimates could be used directly within an effects-coded Ngene design?
The resulting designs are quite different, so I would be very grateful for any guidance.
Thank you!
Sara