I am having difficulty generating a design in Ngene using the following code. The issue seems to stem from correlation within the "advtreatment" attribute, resulting in undefined output.
Code: Select all
design
;alts = surgery*, medication*
;rows=60
;block=6
;eff=(mnl,d)
;alg=mfederov
;reject: surgery.remission = 50, surgery.remission = 60, surgery.operation = 35, surgery.operation = 50,
medication.remission = 80, medication.remission = 90, medication.operation = 2, medication.operation = 5, medication.operation = 10,
surgery.advtreatment = 100, medication.advtreatment = 5, medication.advtreatment = 10, medication.advtreatment = 15
;con
;model:
U(surgery) = surgery[0] ?ASC for surgery relative to medication
+ b1.dummy [0.00001|0.00002] * qol [70,80,60] ?Chance of improvement in symptoms and quality of life within 8 weeks(%)
+ b2.dummy [0.00001|0.00002|0.00003|0.00004] * remission [60,70,80,90,50] ?Clinical remission at one year (%)
+ b3.dummy [0.00001|0.00002] * mucosal [60,70,50] ?Absence of mucosal inflammation endoscopically at one year (%)
+ b4.dummy [-0.00001|-0.00003|-0.0001] * advtreatment [10,15,100,5] ?Chance of being on advanced therapy at one year (%)
+ b5.dummy [-0.00001|-0.00005] * complications [5,10,2] ?Risk of serious complications of treatment (%)
+ b6.dummy [0.00001|0.00003|0.00006|0.0001|0.00015] * operation [5,10,20,35,50,2] ?Risk of operation (or reoperation) within 5 years (%)
/
U(medication) = b1.dummy * qol
+ b2.dummy * remission
+ b3.dummy * mucosal
+ b4.dummy * advtreatment
+ b5.dummy * complications
+ b6.dummy * operation
$
1) I included overlapping levels for "advtreatment" (e.g., 50) in both the "surgery" and "medication" alternatives. However, this is not clinically realistic.
Code: Select all
design
;alts = surgery*, medication*
;rows=60
;block=6
;eff=(mnl,d)
;alg=mfederov
;reject: surgery.remission = 50, surgery.remission = 60, surgery.operation = 35, surgery.operation = 50,
medication.remission = 80, medication.remission = 90, medication.operation = 2, medication.operation = 5, medication.operation = 10,
surgery.advtreatment = 100, medication.advtreatment = 5, medication.advtreatment = 10, medication.advtreatment = 15
;con
;model:
U(surgery) = surgery[0] ?ASC for surgery relative to medication
+ b1.dummy [0.00001|0.00002] * qol [70,80,60] ?Chance of improvement in symptoms and quality of life within 8 weeks(%)
+ b2.dummy [0.00001|0.00002|0.00003|0.00004] * remission [60,70,80,90,50] ?Clinical remission at one year (%)
+ b3.dummy [0.00001|0.00002] * mucosal [60,70,50] ?Absence of mucosal inflammation endoscopically at one year (%)
+ b4.dummy [-0.00001|-0.00003|-0.00005|-0.0001] * advtreatment [10,15,50,100,5] ?Chance of being on advanced therapy at one year (%)
+ b5.dummy [-0.00001|-0.00005] * complications [5,10,2] ?Risk of serious complications of treatment (%)
+ b6.dummy [0.00001|0.00003|0.00006|0.0001|0.00015] * operation [5,10,20,35,50,2] ?Risk of operation (or reoperation) within 5 years (%)
/
U(medication) = b1.dummy * qol
+ b2.dummy * remission
+ b3.dummy * mucosal
+ b4.dummy * advtreatment
+ b5.dummy * complications
+ b6.dummy * operation
$
Code: Select all
design
;alts = surgery*, medication*
;rows=60
;block=6
;eff=(mnl,d)
;alg=mfederov
;reject: medication.advtreatment = 0, surgery.remission = 50, surgery.remission = 60, surgery.operation = 35, surgery.operation = 50,
medication.remission = 80, medication.remission = 90, medication.operation = 2, medication.operation = 5, medication.operation = 10
;con
;model:
U(surgery) = surgery[0] ?ASC for surgery relative to medication
+ b1.dummy [0.00001|0.00002] * qol [70,80,60] ?Chance of improvement in symptoms and quality of life within 8 weeks(%)
+ b2.dummy [0.00001|0.00002|0.00003|0.00004] * remission [60,70,80,90,50] ?Clinical remission at one year (%)
+ b3.dummy [0.00001|0.00002] * mucosal [60,70,50] ?Absence of mucosal inflammation endoscopically at one year (%)
+ b4.dummy [0] * advtreatment [0,1] ?Will the patient be on advanced therapy within the next year? (0=yes, 1=no)
+ b5.dummy [-0.00001|-0.00005] * complications [5,10,2] ?Risk of serious complications of treatment (%)
+ b6.dummy [0.00001|0.00003|0.00006|0.0001|0.00015] * operation [5,10,20,35,50,2] ?Risk of operation (or reoperation) within 5 years (%)
/
U(medication) = b1.dummy * qol
+ b2.dummy * remission
+ b3.dummy * mucosal
+ b4.dummy * advtreatment
+ b5.dummy * complications
+ b6.dummy * operation
$
I've dummy-coded all attributes because I only have near zero directional priors using levels such as 60, 70, 80 instead of 0, 1, 2. Would this choice have any impact on the design?
Thank you for always supporting us with our design questions

Tara