<?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 PROC PHREG with IPTW weighted cohort: robust standard error in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907123#M45044</link>
    <description>&lt;P&gt;I have the following data:&lt;/P&gt;
&lt;P&gt;data have;&lt;BR /&gt;input ID $ Time_to_Event Event Age Treatment $ Weight;&lt;BR /&gt;datalines;&lt;BR /&gt;01 12 1 45 A 1.2&lt;BR /&gt;02 34 0 50 B 1.0&lt;BR /&gt;03 25 1 60 A 1.5&lt;BR /&gt;04 44 0 55 B 0.8&lt;BR /&gt;05 15 1 65 A 1.1&lt;BR /&gt;06 8 0 40 B 0.9&lt;BR /&gt;07 20 1 70 A 1.4&lt;BR /&gt;08 30 0 35 B 1.3&lt;BR /&gt;09 22 1 42 A 1.0&lt;BR /&gt;10 18 0 57 B 1.2&lt;BR /&gt;11 36 1 48 A 1.1&lt;BR /&gt;12 40 0 53 B 0.7&lt;BR /&gt;13 5 1 62 A 1.6&lt;BR /&gt;14 28 0 37 B 1.5&lt;BR /&gt;15 16 1 44 A 0.8&lt;BR /&gt;16 45 0 56 B 1.0&lt;BR /&gt;17 9 1 39 A 1.3&lt;BR /&gt;18 27 0 51 B 1.2&lt;BR /&gt;19 33 1 64 A 0.9&lt;BR /&gt;20 11 0 46 B 1.4&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc phreg data=have;&lt;BR /&gt;class Treatment; &lt;BR /&gt;model Time_to_Event*Event(0) = Age Treatment;&lt;BR /&gt;weight Weight;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to add robust standard error here to account for the weight added in the Cox regression?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 21:08:28 GMT</pubDate>
    <dc:creator>dac_js</dc:creator>
    <dc:date>2023-12-08T21:08:28Z</dc:date>
    <item>
      <title>PROC PHREG with IPTW weighted cohort: robust standard error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907123#M45044</link>
      <description>&lt;P&gt;I have the following data:&lt;/P&gt;
&lt;P&gt;data have;&lt;BR /&gt;input ID $ Time_to_Event Event Age Treatment $ Weight;&lt;BR /&gt;datalines;&lt;BR /&gt;01 12 1 45 A 1.2&lt;BR /&gt;02 34 0 50 B 1.0&lt;BR /&gt;03 25 1 60 A 1.5&lt;BR /&gt;04 44 0 55 B 0.8&lt;BR /&gt;05 15 1 65 A 1.1&lt;BR /&gt;06 8 0 40 B 0.9&lt;BR /&gt;07 20 1 70 A 1.4&lt;BR /&gt;08 30 0 35 B 1.3&lt;BR /&gt;09 22 1 42 A 1.0&lt;BR /&gt;10 18 0 57 B 1.2&lt;BR /&gt;11 36 1 48 A 1.1&lt;BR /&gt;12 40 0 53 B 0.7&lt;BR /&gt;13 5 1 62 A 1.6&lt;BR /&gt;14 28 0 37 B 1.5&lt;BR /&gt;15 16 1 44 A 0.8&lt;BR /&gt;16 45 0 56 B 1.0&lt;BR /&gt;17 9 1 39 A 1.3&lt;BR /&gt;18 27 0 51 B 1.2&lt;BR /&gt;19 33 1 64 A 0.9&lt;BR /&gt;20 11 0 46 B 1.4&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc phreg data=have;&lt;BR /&gt;class Treatment; &lt;BR /&gt;model Time_to_Event*Event(0) = Age Treatment;&lt;BR /&gt;weight Weight;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to add robust standard error here to account for the weight added in the Cox regression?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 21:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907123#M45044</guid>
      <dc:creator>dac_js</dc:creator>
      <dc:date>2023-12-08T21:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PHREG with IPTW weighted cohort: robust standard error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907307#M45046</link>
      <description>Robust standard errors are produced by the COVSANDWICH(AGGREGATE) option on the PROC PHREG statement.  You will also need an ID statement to list the variable that defines your clusters.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2023 11:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907307#M45046</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-12-11T11:26:16Z</dc:date>
    </item>
  </channel>
</rss>

