Dear moderators and users,
I am very happy to find this forum, it is great to have a place, where the questions are answered so quickly.
My problem is following: I would like to generate an efficient design, but only specific combinations of attribute levels are allowed.
More specifically, the attribute levels are computed from other attributes which are not a part of the design (it is a travel time reliability research with scheduling approach).
I was suggested that it is possible to supply ready choice situations to Ngene, and the program would find a subset with lowest errors.
However, my attempts to do so have failed so far.
My syntax:
Design
;alts = alt1, alt2
;rows = 8
;eff = (mnl,d)
;alg = mfederov(candidates=C:\Users\...\my_design project\my_design project files\import_my_design.ngd)
;model:
U(alt1) = b1[-0.1] * twmean[2.125,2.5,3.571,3.786,4.643,5.05,5.2,5.8] + b2[-0.1] * tv[20,30,40] + b3[-0.6] * earliness[0,4.264,4.504,4.632,4.816,4.883,4.954,4.987,4.999,9.97,9.999,11.392,12.133,12.143,13.468,13.881,13.966,14.262,14.632,14.662,14.765,14.908,14.974,14.998,19.939,19.998,21.238,22.124,22.143,23.877,24.662] + b4[-1.2] * lateness[0,0.001,0.002,0.006,0.007,0.011,0.018,0.027,0.038,0.056,0.069,0.093,0.131,0.218,0.459,0.68,2.671,3.127,3.948,4.106,5.066,5.276,5.557,6.234] + b5[-2] * tc[120,150,250] + b6[-0.2] * 95wait[43.301,45.945,49.917,57.151,58.931,62.04,66.534,67.852,70.498] /
U(alt2) = b1 * twmean + b2 * tv + b3 * earliness + b4 * lateness + b5 * tc + b6 * 95wait$
I am getting an error message: “Error: The 'mfederov' algorithm has an incorrectly formatted 'candidates' parameter.”
The import_my_design.ngd file was created as a full enumeration of choice situations with the allowed alternatives (the full enumeration has 8646 lines, but the same result was with 100 lines used).
The .ngd file can be opened in the project.
As can be seen from above, I specified all possible attribute levels also in the syntax although they are given in the input file; and I also specified them in the end of .ngd file. I am not sure whether this should be done.
Any help on how to approach my problem will be very appreciated!
Thanks in advance,
Baiba