Labelled Experimental design
Posted: Wed Feb 01, 2023 9:27 pm
Hello friends,
I am trying to generate a fractional labelled experimental design in Ngene and the alternatives I have a varying number of attributes and differing levels for the attributes.
Alt 1 - Oral
Alt 2 - Injection
Alt 3 - Vaginal ring
Alt 4 - Implant
I have 6 attributes:
1. Number of doses[/b]: Oral - (weekly or 1 Month); Injection - (2 months or 6 months); Vaginal ring - (1 Month or 3 months) and Implant (6 months or 12 months)
2. Effectiveness of HIV prevention: Oral (the weekly dose has an effectiveness of 80-90%, while the 1 month one has an effectiveness of 70-80%); Injection (the two months one has an effectiveness of 90-95%, while the 6 months one has an effectiveness of 85-90%); Vaginal ring (50-70%); Implant (the 6 months one has an effectiveness of 90-95%, while the 12 moths one has an effectiveness of 80-90%)
3. Prevents pregnancy: Oral (does not prevent pregnancy); Injection (the 2 month dose does not prevent pregnancy while the 6 months dose prevents pregnancy); Vaginal ring (the 1 month dose does not prevent pregnancy, the 3 month dose prevents pregnancy); Implant (the 6 month dose does not prevent pregnancy, there are two 12 month dose ones with one preventing pregnancy and one not)
4. Prevents STIs: Oral (NO - does not prevent STIs); Injection (NO - does not prevent STIs); Vaginal ring (the 1 month dose does not prevent STIs, while the 3 months dose prevents STIs); Implant (NO - does not prevent STIs);
5. Price (in KES): Oral (100,300,500); Injection (500,1000,1500); Vaginal ring (500,1000,1500); Implant (500,1000,1500)
6. Distribution point: All have three levels (Public hospital only, Public and private hospitals, Private retail pharmacy)
I have done the below experimental design but I am getting errors and a lot of warning signs.
Kindly help
I am trying to generate a fractional labelled experimental design in Ngene and the alternatives I have a varying number of attributes and differing levels for the attributes.
Alt 1 - Oral
Alt 2 - Injection
Alt 3 - Vaginal ring
Alt 4 - Implant
I have 6 attributes:
1. Number of doses[/b]: Oral - (weekly or 1 Month); Injection - (2 months or 6 months); Vaginal ring - (1 Month or 3 months) and Implant (6 months or 12 months)
2. Effectiveness of HIV prevention: Oral (the weekly dose has an effectiveness of 80-90%, while the 1 month one has an effectiveness of 70-80%); Injection (the two months one has an effectiveness of 90-95%, while the 6 months one has an effectiveness of 85-90%); Vaginal ring (50-70%); Implant (the 6 months one has an effectiveness of 90-95%, while the 12 moths one has an effectiveness of 80-90%)
3. Prevents pregnancy: Oral (does not prevent pregnancy); Injection (the 2 month dose does not prevent pregnancy while the 6 months dose prevents pregnancy); Vaginal ring (the 1 month dose does not prevent pregnancy, the 3 month dose prevents pregnancy); Implant (the 6 month dose does not prevent pregnancy, there are two 12 month dose ones with one preventing pregnancy and one not)
4. Prevents STIs: Oral (NO - does not prevent STIs); Injection (NO - does not prevent STIs); Vaginal ring (the 1 month dose does not prevent STIs, while the 3 months dose prevents STIs); Implant (NO - does not prevent STIs);
5. Price (in KES): Oral (100,300,500); Injection (500,1000,1500); Vaginal ring (500,1000,1500); Implant (500,1000,1500)
6. Distribution point: All have three levels (Public hospital only, Public and private hospitals, Private retail pharmacy)
I have done the below experimental design but I am getting errors and a lot of warning signs.
- Code: Select all
Design
;alts = alt1*, alt2*, alt3*, alt4*, none
;rows = 12
;fact
;model:
U(alt1) = b2 * ndose[0,1] + b3 * effectiveness[0,1] + b4 * distrib[0,1,2] + b5 * price[500,1000,1500] /
U(alt2) = b6 * ndose[0,1] + b7 * effectiveness[0,1] + b4 * distrib[0,1,2] + b8 * pregnancy[0,1] + b5 * price[500,1000,1500] /
U(alt3) = b9 * ndose[0,1] + b10 * effectiveness[0,1] + b4 * distrib[0,1,2] + b11 * pregnancy[0,1] + b12 * sti[0,1] + b5 * price[500,1000,1500] /
U(alt4) = b13 * ndose[0,1] + b14 * effectiveness[0,1] + b4 * distrib[0,1,2] + b15 * pregnancy[0,1] + b5 * price[500,1000,1500] /
U(none) = b1
$
Kindly help