<?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 Assistance with inverse probability of censoring weights - numerator in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Assistance-with-inverse-probability-of-censoring-weights/m-p/968214#M48668</link>
    <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am working with a dataset in long format, where each row represents a specific month for a patient (e.g., row 1 = month 1, row 2 = month 2, etc.). Patients become censored (censor=0 -&amp;gt; censor=1) at the month they deviate from their assigned treatment strategy (or by month=12 if they do not start their assigned treatment).&lt;BR /&gt;&lt;BR /&gt;I am performing an inverse probability of censoring weighting (IPCW) analysis to estimate the probability of remaining uncensored. For the &lt;STRONG&gt;denominator model&lt;/STRONG&gt;, I have included the variables month, baseline covariates (cov1, cov2)&amp;nbsp;and time-varying covariates (cov3, cov4).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, I am unsure about the appropriate specification for the &lt;STRONG&gt;numerator model&lt;/STRONG&gt;. Should it include only baseline covariates (cov1, cov2) (option 1) or should it just be the month variable (option 2)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;numerator - option 1&lt;/P&gt;&lt;P&gt;proc genmod data=example descending;&lt;/P&gt;&lt;P&gt;class id month (ref='12');&lt;BR /&gt;model censor = month / dist=binomial link=logit;&lt;/P&gt;&lt;P&gt;repeated subject = id;&lt;/P&gt;&lt;P&gt;output out=censor_num p=num;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;&lt;BR /&gt;numerator - option 2&lt;/P&gt;&lt;P&gt;proc genmod data=example descending;&lt;/P&gt;&lt;P&gt;class id cov1 cov2;&lt;BR /&gt;model censor = cov1 cov2 / dist=binomial link=logit;&lt;/P&gt;&lt;P&gt;repeated subject = id;&lt;/P&gt;&lt;P&gt;output out=censor_num p=num;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;&lt;BR /&gt;denominator&lt;/P&gt;&lt;P&gt;proc genmod data=example descending;&lt;/P&gt;&lt;P&gt;by exposure_final;&lt;/P&gt;&lt;P&gt;class id month (ref='12') cov1 cov2;&lt;BR /&gt;model censor = month cov1 cov2 / dist=binomial link=logit;&lt;BR /&gt;repeated subject = id;&lt;/P&gt;&lt;P&gt;output out=censor_den p=den;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 02:25:28 GMT</pubDate>
    <dc:creator>mecramarathon</dc:creator>
    <dc:date>2025-06-05T02:25:28Z</dc:date>
    <item>
      <title>Assistance with inverse probability of censoring weights - numerator</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Assistance-with-inverse-probability-of-censoring-weights/m-p/968214#M48668</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am working with a dataset in long format, where each row represents a specific month for a patient (e.g., row 1 = month 1, row 2 = month 2, etc.). Patients become censored (censor=0 -&amp;gt; censor=1) at the month they deviate from their assigned treatment strategy (or by month=12 if they do not start their assigned treatment).&lt;BR /&gt;&lt;BR /&gt;I am performing an inverse probability of censoring weighting (IPCW) analysis to estimate the probability of remaining uncensored. For the &lt;STRONG&gt;denominator model&lt;/STRONG&gt;, I have included the variables month, baseline covariates (cov1, cov2)&amp;nbsp;and time-varying covariates (cov3, cov4).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, I am unsure about the appropriate specification for the &lt;STRONG&gt;numerator model&lt;/STRONG&gt;. Should it include only baseline covariates (cov1, cov2) (option 1) or should it just be the month variable (option 2)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;numerator - option 1&lt;/P&gt;&lt;P&gt;proc genmod data=example descending;&lt;/P&gt;&lt;P&gt;class id month (ref='12');&lt;BR /&gt;model censor = month / dist=binomial link=logit;&lt;/P&gt;&lt;P&gt;repeated subject = id;&lt;/P&gt;&lt;P&gt;output out=censor_num p=num;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;&lt;BR /&gt;numerator - option 2&lt;/P&gt;&lt;P&gt;proc genmod data=example descending;&lt;/P&gt;&lt;P&gt;class id cov1 cov2;&lt;BR /&gt;model censor = cov1 cov2 / dist=binomial link=logit;&lt;/P&gt;&lt;P&gt;repeated subject = id;&lt;/P&gt;&lt;P&gt;output out=censor_num p=num;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;&lt;BR /&gt;denominator&lt;/P&gt;&lt;P&gt;proc genmod data=example descending;&lt;/P&gt;&lt;P&gt;by exposure_final;&lt;/P&gt;&lt;P&gt;class id month (ref='12') cov1 cov2;&lt;BR /&gt;model censor = month cov1 cov2 / dist=binomial link=logit;&lt;BR /&gt;repeated subject = id;&lt;/P&gt;&lt;P&gt;output out=censor_den p=den;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 02:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Assistance-with-inverse-probability-of-censoring-weights/m-p/968214#M48668</guid>
      <dc:creator>mecramarathon</dc:creator>
      <dc:date>2025-06-05T02:25:28Z</dc:date>
    </item>
  </channel>
</rss>

