by bpaudel » Sat May 04, 2019 10:13 am
Hi Michael,
Thank you so much for your suggestion. But I am having a problem in running the design.
I have four attributes with their level as follows
Price ($/lb) : 2, 4, 6, 8
Use of antibiotics: Antibiotic free (dummy 2), Minimal (dummy 1) and Conventional (dummy 0)
Production Method: Traditional (dummy 1) and Standard (dummy 0)
Use of Synthetic growth promoter: No (dummy 1) and Yes (dummy 0)
I have following restrictions to put on my model,
Antibiotic free (dummy 2) should not occur with price of $2 in both the alternatives.
Traditional (dummy 1) should not occur with price of $2 in both the alternatives.
No use of Synthetic growth promoter (dummy 1) should not occur with price of $2 in both the alternatives.
I redesigned the model as follow:
Design
;alts= optA*, optB*, Neither
;rows=24
;eff=(mnl,d, mean)
;block=2
;alg= mfederov
;reject:
optA.Anti= 2 and optA.price= 2,
optB.anti= 2 and optB.price= 2,
optA.production= 1 and optA.price= 2,
optB.production= 1 and optB.price= 2,
optA.SGP= 1 and optA.price= 2,
optB.SGP= 1 and optB.price= 2
;model:
U(optA) = b1 [(n,-0.4, 0.03)] * price[2, 4, 6, 8]
+ b2.dummy[(n, 1.3, .70)| (n, 0.4, 0.04)] * Anti[2, 1, 0]
+ b3.dummy[(n, 0.8, .07)] * production[1,0]
+ b4.dummy[(n, 0.4, 0.01)] * SGP[1,0] /
U(optB) = b1 * price
+ b2 * Anti
+ b3 * production
+ b4 * SGP /
U(Neither) = b0 [-3.0]
$
But, when I am running this model the error occurs. Can you please tell me where I am going wrong?
Your suggestions regarding this matter will be very helpful to me.
Hoping to hearing from you soon.
With regards,
bpaudel