Hi Prof Bliemer and all,
I am trying to generate a design through D Efficient MNL model but it keeps showing error.
• I am generating three alternatives, Opt. A, Opt. B and Neither
• I am generating 30 choice sets in five blocks and I need to use the reject constraints.
• For the prior values, I used mean and standard deviation of attributes looking into previous studies.
• Using a design with 30 rows, I hoped that I will be able to estimate all possible interaction effects after data collection.
My attributes and levels:
Tillage Practice Change
Conventional till to no-till
Conventional till to conservation till
Conservation till to no-till
No change in tillage practice
Cover Crops Practice Change
No cover crops to cover crops
No cover crops
Contract Length
5 years contract
10 years contract
No contract
Governance
Government (USDA)
Private (for-profit)
Not-for-profit
None
Carbon Payment ($/acre)
$0/acre
$5/acre
$10/acre
$15/acre
$20/acre
NGene Design (D-error: )
Syntax
Design
;alts= optA*, optB*, Neither
;rows=30
;eff=(mnl,d, mean)
;block=5
;alg= mfederov
;reject:
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Carbon_Payment =5,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Carbon_Payment =10,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Carbon_Payment =15,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Carbon_Payment =20,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Governance =3,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Governance =2,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Governance =1,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Contract_Length =2,
optA.Tillage_Practice_Change =0 and optA.Cover_Crops_Practice_Change =0 and optA.Contract_Length =1,
optA.Carbon_Payment =0 and optA.Governance =3,
optA.Carbon_Payment =0 and optA.Governance =2,
optA.Carbon_Payment =0 and optA.Governance =1,
optA.Carbon_Payment =0 and optA.Contract_Length =2,
optA.Carbon_Payment =0 and optA.Contract_Length =1,
optA.Carbon_Payment =5 and optA.Governance =0,
optA.Carbon_Payment =10 and optA.Governance =0,
optA.Carbon_Payment =15 and optA.Governance =0,
optA.Carbon_Payment =20 and optA.Governance =0,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Carbon_Payment =5,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Carbon_Payment =10,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Carbon_Payment =15,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Carbon_Payment =20,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Governance =3,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Governance =2,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Governance =1,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Contract_Length =2,
optB.Tillage_Practice_Change =0 and optB.Cover_Crops_Practice_Change =0 and optB.Contract_Length =1,
optB.Carbon_Payment =0 and optB.Governance =3,
optB.Carbon_Payment =0 and optB.Governance =2,
optB.Carbon_Payment =0 and optB.Governance =1,
optB.Carbon_Payment =0 and optB.Contract_Length =2,
optB.Carbon_Payment =0 and optB.Contract_Length =1,
optB.Carbon_Payment =5 and optB.Governance =0,
optB.Carbon_Payment =10 and optB.Governance =0,
optB.Carbon_Payment =15 and optB.Governance =0,
optB.Carbon_Payment =20 and optB.Governance =0,
;model:
U(optA) = b1 [(n, 0.2, 0.04)] * Carbon_Payment[0, 5, 10, 15, 20]
+ b2.dummy[(n, 0.6, 0.08)|(n, 0.55, 0.33)|(n, 0.26093, 0.05064)] * Tillage_Practice_Change[3, 2, 1,0]
+ b3.dummy[(n, 0.8, 0.2)] * Cover_Crops_Practice_Change[1,0]
+ b4.dummy[(n, -0.86152, 0.05450)|(n, -0.9, 0.09)]* Contract_Length[2,1,0]
+ b5.dummy[(n, -0.20278, 0.04824)|(n, -1.04265, 0.06913) |(n, 0.445, 0.095)] * Governance[3,2, 1, 0] /
U(optB) = b1 * Carbon_Payment
+ b2 * Tillage_Practice_Change
+ b3 * Cover_Crops_Practice_Change
+ b4 * Contract_Length
+ b5 * Governance /
U(Neither) = b0 [(n, 0.1, 0.01)]
$
Can you please check where did I do wrong? Is it in the reject code?
Thank you!