Sequential drug decision problems in long-term medical conditions: a case Study of Primary Hypertension Eunju Kim ba, ma, msc



Yüklə 10,52 Mb.
səhifə86/116
tarix04.01.2022
ölçüsü10,52 Mb.
#58520
1   ...   82   83   84   85   86   87   88   89   ...   116
FOR c = t:104-Age
IF c<4, AdjAge = Age; ELSE AdjAge = Age+c; END
% Calculate TransMatrix from the health states in the first column to the health states in the first row. This depends on the drug selected for each health state.

TransMatrix(1,1:10) = AdjCVDrisk(1,1:10).*TrtRR(LastDrug,1:10);

TransMatrix(1,11) = TotalMort(AdjAge)*TrtRR(LastDrug,11);

TransMatrix(1,1) = 1-sum(TransMatrix(1,:));

.

.

.



TransMatrix(10,1:10) = AdjCVDrisk(10,1:10).*TrtRR(DrugForCVDDM(5),1:10);

TransMatrix(10,11) = TotalMort(AdjAge)*TrtRR(DrugForCVDDM(5),11);

TransMatrix(10,1) = 1-sum(TransMatrix(10,:));
% Calculate the state transition probabilities in the next period.

StateTransit(c+1,:) = StateTransit(c,:)*TransMatrix (:,:);

LTCost(c+1,:) = (StateTransit(c+1,:).*(cEvent(:)+cDrug(:)))/ ((1+DC)^(c-1));

LTQALY(c+1,:) = StateTransit(c+1,:).*(Ustate(:)*Uage)/((1+DC)^(c-1));


% Adjust the transition probabilities to three month basis.

IF c<4,

StateTransit(c+1,:)=1-power(StateTransit(c+1,:),0.25);

LTCost(c+1,:) = LTCost(c+1,:)*0.25;

LTQALY(c+1,:) = LTQALY(c+1,:)*0.25;



END

END


Figure ‎6.. Pseudo-code of the function ‘CVD modelling’ included in the hypertension SDDP model

Yüklə 10,52 Mb.

Dostları ilə paylaş:
1   ...   82   83   84   85   86   87   88   89   ...   116




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©muhaz.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin