Choice sets with exponential and interaction terms
Posted: Mon Apr 01, 2024 9:13 pm
Dear Moderators,
I am a PhD student and I am designing my first DCE. I am facing challenges to generate choice sets, particularly due to the incorporation of an exponential term and interaction terms within my utility function. The function is specified as follows: V = asc + b1*morb * exp(-b3*delay) + b2*mort * exp(-b3*delay) + b4*cost
I've included my current syntax below, which, unfortunately, is not working as expected:
Design
;alts = alt1, alt2, alt3
;rows = 48
;eff = (mnl,d)
;model:
U(Alt1) =
b1[0.013]* morb[25, 50, 100]*exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b2[0.018]* mort[25, 50, 75] *exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b4[-0.0009]* cost[200, 500, 1000, 2000]
/
U(Alt2) =
b1[0.013]* morb[25, 50, 100]*exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b2[0.018]* mort[25, 50, 75] *exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b4[-0.0009]* cost[200, 500, 1000, 2000]
$
I would be immensely grateful for any insights or suggestions you might have on correcting the syntax or methodology to generate choice sets accurately.
Thank you for your time and assistance.
Best regards,
Yanying
I am a PhD student and I am designing my first DCE. I am facing challenges to generate choice sets, particularly due to the incorporation of an exponential term and interaction terms within my utility function. The function is specified as follows: V = asc + b1*morb * exp(-b3*delay) + b2*mort * exp(-b3*delay) + b4*cost
I've included my current syntax below, which, unfortunately, is not working as expected:
Design
;alts = alt1, alt2, alt3
;rows = 48
;eff = (mnl,d)
;model:
U(Alt1) =
b1[0.013]* morb[25, 50, 100]*exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b2[0.018]* mort[25, 50, 75] *exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b4[-0.0009]* cost[200, 500, 1000, 2000]
/
U(Alt2) =
b1[0.013]* morb[25, 50, 100]*exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b2[0.018]* mort[25, 50, 75] *exp(-(b3[0.102]) * delay[0, 2, 5, 10])+
b4[-0.0009]* cost[200, 500, 1000, 2000]
$
I would be immensely grateful for any insights or suggestions you might have on correcting the syntax or methodology to generate choice sets accurately.
Thank you for your time and assistance.
Best regards,
Yanying