<?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: Marginal Competing Risks Model not working in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739076#M35912</link>
    <description>&lt;P&gt;You need the COVSANDWICH(AGGREGATE) option on the PROC PHREG statement. This can be abbreviated as COVS(AGGREGATE).&amp;nbsp; &amp;nbsp;This will provide for robust standard errors for your clustering variable in the ID statement.&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 20:52:55 GMT</pubDate>
    <dc:creator>OsoGris</dc:creator>
    <dc:date>2021-05-04T20:52:55Z</dc:date>
    <item>
      <title>Marginal Competing Risks Model not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739051#M35908</link>
      <description>&lt;P&gt;I am trying to fit a marginal fine gray model using proc phreg. Following is my code. Suppose times are observed times, causes could be either 0,1 or 2 with 1 being the main event, Z is a binary covariate and cluster is a clustering covariate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data=mydata;
&amp;nbsp; &amp;nbsp; &amp;nbsp;model times * causes(0) = Z/eventcode=1;
&amp;nbsp; &amp;nbsp; &amp;nbsp;id cluster;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I delete&lt;/P&gt;&lt;PRE&gt;id cluster;&lt;/PRE&gt;&lt;P&gt;and run the model again then it produces the exact same result. How can I get the correct result after accounting for clustering covariate? I understand that the parameter estimates are same no matter which model is used, however the standard errors should be different.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 20:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739051#M35908</guid>
      <dc:creator>themanoj20080</dc:creator>
      <dc:date>2021-05-04T20:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Marginal Competing Risks Model not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739059#M35909</link>
      <description>&lt;P&gt;"Not working" is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the "&amp;lt;&amp;gt;" to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the "&amp;lt;/&amp;gt;" icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&lt;STRONG&gt; ID statement&lt;/STRONG&gt; only provides for variable(s) to be included in output to identify observations from the input set. So I would not expect it change the output of any model. Did you mean to use Cluster as a CLASS variable and include it in the model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you know it is "not working"? Which specific output are you examining? What value indicates "not working".&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 20:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739059#M35909</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-04T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Marginal Competing Risks Model not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739062#M35910</link>
      <description>There are no errors in the log. I know this is not working because when I look at the result for "Analysis of Maximum Likelihood Estimates" they are exactly the same. No I don't want to use cluster variable in the model. I want to use it in the ID statement.</description>
      <pubDate>Tue, 04 May 2021 20:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739062#M35910</guid>
      <dc:creator>themanoj20080</dc:creator>
      <dc:date>2021-05-04T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Marginal Competing Risks Model not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739076#M35912</link>
      <description>&lt;P&gt;You need the COVSANDWICH(AGGREGATE) option on the PROC PHREG statement. This can be abbreviated as COVS(AGGREGATE).&amp;nbsp; &amp;nbsp;This will provide for robust standard errors for your clustering variable in the ID statement.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 20:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739076#M35912</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2021-05-04T20:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Marginal Competing Risks Model not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739082#M35914</link>
      <description>Thank you very much. This is exactly what I was looking for.</description>
      <pubDate>Tue, 04 May 2021 21:05:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Marginal-Competing-Risks-Model-not-working/m-p/739082#M35914</guid>
      <dc:creator>themanoj20080</dc:creator>
      <dc:date>2021-05-04T21:05:59Z</dc:date>
    </item>
  </channel>
</rss>

