Question on adding contraint
Posted: Wed Apr 22, 2020 1:40 pm
To provide background on the attributes/levels:
6 attributes, all dummy coded.
1. Overall survival (OS): [2]22 months, [1]16 months, [0]12 months
2. Time to progression (TP): [2] 20 months, [1] 14 months, [0] 10 months
3. Pain: [2] 100% decrease in pain, [1] 50% decrease in pain, [0] 25% decrease in pain
4. Fatigue: [2] increase from mild to severe, [1] increase from mild to moderate, [3] remains at mild
5. Nausea: [3] severe, [2] moderate, [3]mild, [0]none
6. Administration (Admin): [2] oral, [1] Subcutaneous, [0] IV
I want to create a D-efficient design and I have no priors based on literature so I’m using directional priors (setting them close to zero and providing some information on the direction). Assumptions: first 3 attributes has a positive impact on utilities whereas fatigue and nauseas have a negative impact.
Also, I want to remove dominant alternative and add a constraint such that within each alternative, the OS has to be greater than the time to progression i.e. we cannot have an OS that is 12 months but with a time to progression of 20 months.
My questions are:
1) How do I add in the constraint to prevent an alternative from having an OS<TP? I tried using the reject statement (see code below)but I don’t think I did it correctly..
2) If I instead specify overall survival and time to progression as continuous variable, but eventually analyze them as dummy variables, is that okay? Or do I have to analyze them as continuous variables if I
design them as such.
3) Is 0.002, 0.001 too small? Or should I use 0.02, 0.01 etc as directional priors?
Design
;alts = alt1*, alt2*
;rows=52
;block=4
;eff = (mnl,d)
;alg = mfederov
;reject:
alt1.OS<alt1.TP and alt2.OS<alt2.TP
;model:
U(alt1) = b1.dummy [0.002|0.001]*OS [2,1,0] +
b2.dummy [0.002|0.001]*TP [2,1,0] +
b3.dummy [0.002|0.001]*PAIN [2,1,0] +
b4.dummy [-0.002|-0.001]*FATI [2,1,0] +
b5.dummy [-0.003|-0.002|-0.001]*NAU [3,2,1,0] +
b6.dummy [0|0]*ADMIN [2,1,0] /
U(alt2) = b1.dummy*OS +
b2.dummy*TP +
b3.dummy*PAIN +
b4.dummy*FATI +
b5.dummy*NAU +
b6. dummy *ADMIN
$
6 attributes, all dummy coded.
1. Overall survival (OS): [2]22 months, [1]16 months, [0]12 months
2. Time to progression (TP): [2] 20 months, [1] 14 months, [0] 10 months
3. Pain: [2] 100% decrease in pain, [1] 50% decrease in pain, [0] 25% decrease in pain
4. Fatigue: [2] increase from mild to severe, [1] increase from mild to moderate, [3] remains at mild
5. Nausea: [3] severe, [2] moderate, [3]mild, [0]none
6. Administration (Admin): [2] oral, [1] Subcutaneous, [0] IV
I want to create a D-efficient design and I have no priors based on literature so I’m using directional priors (setting them close to zero and providing some information on the direction). Assumptions: first 3 attributes has a positive impact on utilities whereas fatigue and nauseas have a negative impact.
Also, I want to remove dominant alternative and add a constraint such that within each alternative, the OS has to be greater than the time to progression i.e. we cannot have an OS that is 12 months but with a time to progression of 20 months.
My questions are:
1) How do I add in the constraint to prevent an alternative from having an OS<TP? I tried using the reject statement (see code below)but I don’t think I did it correctly..
2) If I instead specify overall survival and time to progression as continuous variable, but eventually analyze them as dummy variables, is that okay? Or do I have to analyze them as continuous variables if I
design them as such.
3) Is 0.002, 0.001 too small? Or should I use 0.02, 0.01 etc as directional priors?
Design
;alts = alt1*, alt2*
;rows=52
;block=4
;eff = (mnl,d)
;alg = mfederov
;reject:
alt1.OS<alt1.TP and alt2.OS<alt2.TP
;model:
U(alt1) = b1.dummy [0.002|0.001]*OS [2,1,0] +
b2.dummy [0.002|0.001]*TP [2,1,0] +
b3.dummy [0.002|0.001]*PAIN [2,1,0] +
b4.dummy [-0.002|-0.001]*FATI [2,1,0] +
b5.dummy [-0.003|-0.002|-0.001]*NAU [3,2,1,0] +
b6.dummy [0|0]*ADMIN [2,1,0] /
U(alt2) = b1.dummy*OS +
b2.dummy*TP +
b3.dummy*PAIN +
b4.dummy*FATI +
b5.dummy*NAU +
b6. dummy *ADMIN
$