Experimental design_Ngene
Posted: Thu Nov 09, 2023 2:07 am
Dear Michiel,
I got this error message: " Error: The modified Federov candidate set size of 2000 could not be achieved. The percentages of candidates that failed are: 95.75% due to dominance, 0% due to constraints, and 4.25% due to repeated alternatives. The candidate set size has been adjusted from 2000 to 1194 " when running the following script which has led to an undefined MNL D error:
design
alts = alt1*, alt2*, sq*
;rows = 18
;block = 2,minsum
;eff = (mnl,d)
;alg = mfederov
;require:
sq.WATER = 0,
sq.IRRIG = 0,
sq.EROSION = 0
;reject:
alt1.WATER <> 0 and alt1.IRRIG = 0,
alt2.WATER <> 0 and alt2.IRRIG = 0,
alt1.IRRIG <> 0 and alt1.WATER = 0,
alt2.IRRIG <> 0 and alt2.WATER = 0,
alt1.WATER + alt1.IRRIG + alt1.EROSION > 3 and alt1.PRICE = 30,
alt2.WATER + alt2.IRRIG + alt2.EROSION > 3 and alt2.PRICE = 30,
alt1.Price = 30 and alt1.WATER + alt1.IRRIG + alt1.EROSION < 3,
alt2.Price = 30 and alt2.WATER + alt2.IRRIG + alt2.EROSION < 3
;model :
U(alt1) = b1.dummy[0.001|0.002] * WATER[1,2,0]
+ b2.dummy[0.001|0.002] * IRRIG[1,2,0]
+ b3.dummy[0.001|0.002] * EROSION[1,2,0]
+ b4[-0.0001] * PRICE[30, 60, 90, 120](2-8,2-8,2-8,2-8)/
U(alt2) = b1 * WATER
+ b2 * IRRIG
+ b3 * EROSION
+ b4 * PRICE /
U(sq) = b_sq[0]
+ b1 * WATER
+ b2 * IRRIG
+ b3 * EROSION
+ b4 * PRICE_sq[0]
$
1/ Firstly, I put these constraints as follows : (3-7,3-7,3-7,3-7) because we have 18 rows and 4 levels of price, so to relax it, I think that it will be good to put 3-7 (number of times that a considered price level has to appear), I don't know if you share with me the same thing or not?
2/ Secondly, as I understand from the error message, the prob is mainly related to dominance, so have you some suggestions to deal with this, please? I already have an undefined MNL D error (it could be related to constraints?)
Greetings,
I got this error message: " Error: The modified Federov candidate set size of 2000 could not be achieved. The percentages of candidates that failed are: 95.75% due to dominance, 0% due to constraints, and 4.25% due to repeated alternatives. The candidate set size has been adjusted from 2000 to 1194 " when running the following script which has led to an undefined MNL D error:
design
alts = alt1*, alt2*, sq*
;rows = 18
;block = 2,minsum
;eff = (mnl,d)
;alg = mfederov
;require:
sq.WATER = 0,
sq.IRRIG = 0,
sq.EROSION = 0
;reject:
alt1.WATER <> 0 and alt1.IRRIG = 0,
alt2.WATER <> 0 and alt2.IRRIG = 0,
alt1.IRRIG <> 0 and alt1.WATER = 0,
alt2.IRRIG <> 0 and alt2.WATER = 0,
alt1.WATER + alt1.IRRIG + alt1.EROSION > 3 and alt1.PRICE = 30,
alt2.WATER + alt2.IRRIG + alt2.EROSION > 3 and alt2.PRICE = 30,
alt1.Price = 30 and alt1.WATER + alt1.IRRIG + alt1.EROSION < 3,
alt2.Price = 30 and alt2.WATER + alt2.IRRIG + alt2.EROSION < 3
;model :
U(alt1) = b1.dummy[0.001|0.002] * WATER[1,2,0]
+ b2.dummy[0.001|0.002] * IRRIG[1,2,0]
+ b3.dummy[0.001|0.002] * EROSION[1,2,0]
+ b4[-0.0001] * PRICE[30, 60, 90, 120](2-8,2-8,2-8,2-8)/
U(alt2) = b1 * WATER
+ b2 * IRRIG
+ b3 * EROSION
+ b4 * PRICE /
U(sq) = b_sq[0]
+ b1 * WATER
+ b2 * IRRIG
+ b3 * EROSION
+ b4 * PRICE_sq[0]
$
1/ Firstly, I put these constraints as follows : (3-7,3-7,3-7,3-7) because we have 18 rows and 4 levels of price, so to relax it, I think that it will be good to put 3-7 (number of times that a considered price level has to appear), I don't know if you share with me the same thing or not?
2/ Secondly, as I understand from the error message, the prob is mainly related to dominance, so have you some suggestions to deal with this, please? I already have an undefined MNL D error (it could be related to constraints?)
Greetings,