Unable to run the program

This forum is for posts that specifically focus on Ngene.

Moderators: Andrew Collins, Michiel Bliemer, johnr

Unable to run the program

Postby CMA » Tue Jul 06, 2021 8:18 pm

When I try to run the following program on page 177 of the manual(Ngene 1.2 USER MANUAL & REFERENCE GUIDE), I get the error "The 'candidates' parameter of the Modified Federov algorithm is neither specified as a valid number, nor a The 'candidates' parameter of the Modified Federov algorithm is neither specified as a valid number, nor a valid file name or path. What could be wrong?
Code: Select all
Design
;alts = hotelA*, hotelB*
;rows = 12
;eff = (mnl,d)
;alg = mfederov(candidates = implicit_partial_profiles.csv)
;model:
U(hotelA) = b1[-0.01] * price[100,150,200,0] +
b2[-0.2] * stars[1,3,5,0] +
b3[-0.001] * distance[500,1000,1500,0] +
b4.dummy[0.3] * wifi[1,0] +
b5.dummy[0.2] * breakfast[1,0] +
b6.dummy[0.2] * pool[1,0] /
U(hotelB) = b1 * price +
b2 * stars +
b3 * distance +
b4 * wifi +
b5 * breakfast +
b6 * pool
$
CMA
 
Posts: 34
Joined: Mon Jun 14, 2021 3:42 pm

Re: Unable to run the program

Postby Michiel Bliemer » Sat Jul 10, 2021 8:28 am

This error message may occur if it cannot find the file.
Did you run this syntax using the demonstration project? The CSV file is available within that project and Ngene should be able to find it. If you did not open the Demonstration project, then you can load the candidate set into Ngene by selecting File | Open from the menu and browsing to the place where the CSV file is stored on your computer.

Michiel
Michiel Bliemer
 
Posts: 1885
Joined: Tue Mar 31, 2009 4:13 pm

Re: Unable to run the program

Postby CMA » Mon Jul 12, 2021 1:29 pm

Thank you. I did what you said and I was able to execute it.
CMA
 
Posts: 34
Joined: Mon Jun 14, 2021 3:42 pm


Return to Choice experiments - Ngene

Who is online

Users browsing this forum: No registered users and 23 guests

cron