by SupphaCH » Fri May 03, 2024 9:09 pm
Hi Michiel
Thank you for your reply. I have a question about utility functions in relation to design and estimation.
When designing a utility function with specific attributes, should the utility function used for model estimation also include these specific attributes?
Alternatively, is it permissible to use generic attributes for some of them during the estimation? For instance, if the design phase incorporates 19 specific attributes (e.g., b1-b19), can I use a dummy attribute as a generic attribute for all alternatives during the estimation phase?
Design
; alts = BEV, PHEV, ICE
; rows = 36
; block = 6,minsum,noimprov(20 secs)
; bseed = 12345
; con
; eff = (mnl, d, mean)
; bdraws = sobol(5000)
;cond:
if(BEV.PRICEb = 550, BEV.RANGEb = 380),
if(BEV.PRICEb = 820, BEV.RANGEb = 440),
if(BEV.PRICEb = 950, BEV.RANGEb = 500),
if(BEV.PRICEb = 1200, BEV.RANGEb = 500),
if(BEV.PRICEb = 1600, BEV.RANGEb = 600)
; model:
U(BEV) = b1[0.05]+
b2[(n, -0.00001,0.00001 )]*PRICEb[550,820,950,1200,1600] +
b3[(n,0.000001,0.00001)]*RANGEb [380,440, 500, 600] +
b4[(n,-0.00001,0.00001)]*CTIMEb [15, 30, 60] +
b5.dummy[(n,0.00001,0.00001)|(n,0.00001,0.00001)]*CLOCATION[3,2,1] +
b6.dummy[(n,0.00001,0.00001 )|(n,0.00001,0.00001)]*CDENSITY[3,2,1] +
b7.dummy[(n,0.00001,0.00001)]*CHOME[2,1] +
b8.dummy[(n,0.00001,0.00001)|(n,0.00001,0.00001)|(n,0.00001,0.00001)]*POLICY[4,3,2,1] /
U(PHEV) = b9 [0.05]+
b10[(n,-0.00001,0.00001)]*PRICEp[880,980,1200, 1400,1600] +
b11[(n,0.000001,0.00001)]*RANGEp [440, 540, 680, 760] +
b12[(n,-0.00001,0.00001)]*CTIMEp [5, 10, 15] +
b13.dummy[(n,0.00001,0.00001)|(n,0.00001,0.00001)]*CLOCATION[3,2,1] +
b14.dummy[(n,0.00001,0.00001 )|(n,0.00001,0.00001)]*CDENSITY[3,2,1] +
b15.dummy[(n,0.00001,0.00001)]*CHOME[2,1] +
b16.dummy[(n,0.00001,0.00001)|(n,0.00001,0.00001)|(n,0.00001,0.00001)]*POLICY[4,3,2,1] /
U(ICE) = b17[(n,-0.00001,0.00001)]*PRICEi[530,630,870,990,1200] +
b18[(n,0.00001,0.00001)]*RANGEi [640,760, 840, 920] +
b19[(n,-0.00001,0.00001)]*CTIMEi [3, 5, 10]
$