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!
Implicit partial profiles
Moderators: Andrew Collins, Michiel Bliemer, johnr
-
Michiel Bliemer
- Posts: 2060
- Joined: Tue Mar 31, 2009 4:13 pm
Re: Implicit partial profiles
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
Michiel
Re: Implicit partial profiles
Dear Michael,
Many thanks! I'm sorry I missed that.
Best wishes,
Pamela.
Many thanks! I'm sorry I missed that.
Best wishes,
Pamela.