Coding for scenario variables
Posted: Tue Aug 03, 2021 11:04 am
Hi there,
I have designed a DCE with the following syntax and have a few questions before I use this to run a pilot study:
Design
;alts = alt1, alt2, alt3
;rows = 60
;require:
alt1.LBP = alt2.LBP ,
alt1.Comm = alt2.Comm
;eff = (mnl,d,mean)
;block = 5, minmax, noimprov(10 secs)
;alg=mfederov(stop=total(100000 iterations))
;bdraws = gauss(2)
;model:
U(alt1) = b0+b1.dummy[(n,1.38,0.08) ]*LBP[1,0] +b2.dummy[(n,1.32,0.18)|(n,1.32,0.18)|(n,1.32,0.18)]*Comm[1,2,3,0] +b3.dummy[(n,0.74,0.2)|(n,0.74,0.2)|(n,0.74,0.2)] *Opioid [1,2,3,0] + b4[(n,-0.56,0.14)]* OpioidPain[1,0] + b5[(n,-0.56,0.14)]* OpioidAEs[1,0] /
U(alt2) = b0 + b1.dummy[(n,1.38,0.08)] * LBP + b2.dummy[(n,0.32,0.18)|(n,1.32,0.18)|(n,1.32,0.18)]* Comm + b6.dummy[(n,0.52,0.13)]* NSAID[1,0] + b7[(n,-0.54 ,0.13)]* NSAIDPain[1,0] + b8[(n,-0.53,0.13)]* NSAIDAEs[1,0] /
U(alt3) = 0
$
1. The design has two scenario variables (LBP and Comm in the below syntax) which remain constant across alternatives. I am wondering if these should be coded as interaction effects or main effects and what would the implications of each be?
2. We would like to alternate the options between each choice set in the survey, with the aim to reduce bias in the answers, however does this require a specific coding or is this something we just do when setting up the survey?
3. The priors I have are from dummy data, random simulations from Qualtrics. I have been advised not to use these for the main study, but is it ok to use these to help with the design for the pilot study and then use the priors from the pilot for the main study? I understand I cannot run an orthogonal design for the pilot as we have an uneven number of levels across alternatives.
4. Alt 3 is the opt out option, however does this still need to include the scenario variables? is this coded correctly?
Greatly appreciate your help!
Melanie
I have designed a DCE with the following syntax and have a few questions before I use this to run a pilot study:
Design
;alts = alt1, alt2, alt3
;rows = 60
;require:
alt1.LBP = alt2.LBP ,
alt1.Comm = alt2.Comm
;eff = (mnl,d,mean)
;block = 5, minmax, noimprov(10 secs)
;alg=mfederov(stop=total(100000 iterations))
;bdraws = gauss(2)
;model:
U(alt1) = b0+b1.dummy[(n,1.38,0.08) ]*LBP[1,0] +b2.dummy[(n,1.32,0.18)|(n,1.32,0.18)|(n,1.32,0.18)]*Comm[1,2,3,0] +b3.dummy[(n,0.74,0.2)|(n,0.74,0.2)|(n,0.74,0.2)] *Opioid [1,2,3,0] + b4[(n,-0.56,0.14)]* OpioidPain[1,0] + b5[(n,-0.56,0.14)]* OpioidAEs[1,0] /
U(alt2) = b0 + b1.dummy[(n,1.38,0.08)] * LBP + b2.dummy[(n,0.32,0.18)|(n,1.32,0.18)|(n,1.32,0.18)]* Comm + b6.dummy[(n,0.52,0.13)]* NSAID[1,0] + b7[(n,-0.54 ,0.13)]* NSAIDPain[1,0] + b8[(n,-0.53,0.13)]* NSAIDAEs[1,0] /
U(alt3) = 0
$
1. The design has two scenario variables (LBP and Comm in the below syntax) which remain constant across alternatives. I am wondering if these should be coded as interaction effects or main effects and what would the implications of each be?
2. We would like to alternate the options between each choice set in the survey, with the aim to reduce bias in the answers, however does this require a specific coding or is this something we just do when setting up the survey?
3. The priors I have are from dummy data, random simulations from Qualtrics. I have been advised not to use these for the main study, but is it ok to use these to help with the design for the pilot study and then use the priors from the pilot for the main study? I understand I cannot run an orthogonal design for the pilot as we have an uneven number of levels across alternatives.
4. Alt 3 is the opt out option, however does this still need to include the scenario variables? is this coded correctly?
Greatly appreciate your help!
Melanie