Page 1 of 1

Implicit partial profiles

PostPosted: Sat Jun 25, 2022 7:59 pm
by psalazar
Dear all,

I'm trying to create implicit partial profiles as follows:

design
;alts = hotel1*, hotel2*
;rows = 18
;eff = (mnl,d)
;alg = mfederov(candidates = overlap3.csv)
;model:
U(hotel1) = b1[-0.08] * price[80,120,160]
+ b2.dummy[0.4|0.5] * stars[3,5,1]
+ b3[-0.0002] * dist[500,1500,2500]
+ b4.dummy[0.3] * breakfast[1,0]
+ b5.dummy[0.2] * wifi[1,0]
+ b6.dummy[0.1] * pool[1,0]
/
U(hotel2) = b1 * price
+ b2 * stars
+ b3 * dist
+ b4 * breakfast
+ b5 * wifi
+ b6 * pool
$

This is actually an example from the course I took with Prof. Bliemer, at the University of Leeds. When I try to run it, I'm getting the following error: "Error: The 'candidates' parameter of the Modified Fedorov algorithm is neither specified as a valid number, nor a valid file name or path."

The csv file is in the right folder. Any idea what's going on?

Thanks!

Re: Implicit partial profiles

PostPosted: Mon Jun 27, 2022 11:52 am
by Michiel Bliemer
The script does not specify a path name so you first need to load the CSV file in the project. Use File | Open from the menu and then select the overlap3.csv. Then run the script, this should work.

Michiel

Re: Implicit partial profiles

PostPosted: Mon Jun 27, 2022 6:55 pm
by psalazar
Dear Michael,

Many thanks! I'm sorry I missed that.

Best wishes,

Pamela.