<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Propensity score as a covariate in survival analysis; three treatment groups in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Propensity-score-as-a-covariate-in-survival-analysis-three/m-p/887730#M43964</link>
    <description>&lt;P&gt;If you have a single treatment variable (say, AUC with three levels 1, 2, or 3), you could do it in one PROC LOGISTIC step by fitting a generalized logit model. The following code does that and saves the individual level predicted probabilities for the three AUC levels in data set PS in the variables IP_1, IP_2, and IP_3 which you could then use in LIFEREG.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=test; 
model AUC = var1 var2 var3 var4 / link=glogit;
output out=ps predprobs=i;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 03 Aug 2023 15:31:08 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2023-08-03T15:31:08Z</dc:date>
    <item>
      <title>Propensity score as a covariate in survival analysis; three treatment groups</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Propensity-score-as-a-covariate-in-survival-analysis-three/m-p/887657#M43956</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;Hi all!&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I am working with a dataset where each patient can be assigned to one of three treatment groups (Treatment Group 1, Treatment Group 2, and Treatment Group 3). I want to calculate propensity scores (PS) for the probability of patients being assigned to one the treatment groups. Various variables may influence the probability of a patients being in one of the treatments groups. I want to calculate the PS using these variables.&lt;/P&gt;&lt;P&gt;My understanding is that I should use PROC LOGISTIC to estimate the propensity scores. However, I am unsure about the following points:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Do I need to calculate three separate propensity scores, one for each treatment group, using logistic regression while correcting for the same set of covariates? Or is there a different approach to obtain propensity scores for multiple treatment groups?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After calculating the propensity scores, do I need to plot these three propensity scores in the final model using PROC LIFEREG? If so, how can I effectively incorporate these propensity scores in the PROC LIFEREG model to adjust for treatment assignment?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any insights or guidance on how to handle propensity scores for multiple treatment groups and their inclusion in the final PROC LIFEREG model would be greatly appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My syntax is as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Proc logistic data=test; 
model AUC_low (event='1') = var1 var2 var3 var4;
OUTPUT OUT=PS1 PREDICTED=PS1;
run;
Proc logistic data=test; 
model AUC_mid (event='1') = var1 var2 var3 var4;
OUTPUT OUT=PS2 PREDICTED=PS2;
run;

Proc logistic data=test; 
model AUC_high (event='1') = var1 var2 var3 var4;
OUTPUT OUT=PS3 PREDICTED=PS3;
run;

then merge the 3 PS's into one set = Propensity_score. 

proc lifereg data = Propensity_score;
model time_event_death*event_death(0) = AUC_low PS1 AUC_mid PS2 AUC_high PS3 /dist=weibull;
output out = New cdf = Prob;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 11:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Propensity-score-as-a-covariate-in-survival-analysis-three/m-p/887657#M43956</guid>
      <dc:creator>timb12345</dc:creator>
      <dc:date>2023-08-03T11:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Propensity score as a covariate in survival analysis; three treatment groups</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Propensity-score-as-a-covariate-in-survival-analysis-three/m-p/887730#M43964</link>
      <description>&lt;P&gt;If you have a single treatment variable (say, AUC with three levels 1, 2, or 3), you could do it in one PROC LOGISTIC step by fitting a generalized logit model. The following code does that and saves the individual level predicted probabilities for the three AUC levels in data set PS in the variables IP_1, IP_2, and IP_3 which you could then use in LIFEREG.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=test; 
model AUC = var1 var2 var3 var4 / link=glogit;
output out=ps predprobs=i;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Propensity-score-as-a-covariate-in-survival-analysis-three/m-p/887730#M43964</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-08-03T15:31:08Z</dc:date>
    </item>
  </channel>
</rss>

