<?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: Cluster randomization in survival analysis in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Cluster-randomization-in-survival-analysis/m-p/643377#M30857</link>
    <description>&lt;P&gt;I haven't done this so take it with a grain (or maybe a block) of salt.&amp;nbsp; PHREG doesn't allow for setting arbitrary values of DDF, which I was hoping to find.&amp;nbsp; Given that rather discouraging discovery, I believe that the approach you have taken here best fits the algorithms used in PHREG (in particular it seems to fit Example 85.11 in the SAS/STAT 14.1 documentation).&amp;nbsp; I believe that you are estimating an additional variance component due to the cluster, so having a wider CL is not unexpected. I would consider adding an ASSESS statement to check on whether the PH assumption is met under clustering.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 17:32:21 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-04-27T17:32:21Z</dc:date>
    <item>
      <title>Cluster randomization in survival analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cluster-randomization-in-survival-analysis/m-p/643076#M30856</link>
      <description>&lt;DIV&gt;I am looking for help on how to account for cluster randomization in a Cox model, specifically, how to specify the experimental unit so as to get correct degrees of freedom on treatment.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Using SAS 9.4.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We have conducted a cluster randomized trial in dairy cows.&amp;nbsp; That means outcomes were measured at the level of the cow, but dietary treatment was assigned to pens (groups of cows in the same pen at the same time on a farm).&amp;nbsp; Here, 2 treatments, 4 farms, 4 study periods on each farm (2 TRT, 2 control, alternated within a farm over time e.g. 3 months on TRT, 3 months on CON, 3 mo on TRT, 3 mo on CON; random which one to start). To specify the correct experimental unit and get appropriate denominator d.f. in linear and logistic models, we use a RANDOM treatment*farm*period term in MIXED and GLIMMIX.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The question is, in PHREG how can we specify to get an appropriate ddf for treatment?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have played with creating the treatment*farm*period term in a data step and specifying that as a RANDOM term in PHREG:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;data clustered; set full.data;&lt;/DIV&gt;&lt;DIV&gt;cluster = treatment*farm*period;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Proc PHREG data=clustered ;&lt;/DIV&gt;&lt;DIV&gt;class treatment farm period ;&lt;/DIV&gt;&lt;DIV&gt;model timetopregnancy*pregnant(0) = treatment / ties = exact risklimits ;&lt;/DIV&gt;&lt;DIV&gt;random cluster ;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I get a somewhat smaller "adjusted df" for treatment in the "Type 3 Effects" table than without this random term, and a wider CI on the HR for treatment.&amp;nbsp; Seems right...? Is this valid?&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 Apr 2020 17:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cluster-randomization-in-survival-analysis/m-p/643076#M30856</guid>
      <dc:creator>sleblanc</dc:creator>
      <dc:date>2020-04-26T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster randomization in survival analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cluster-randomization-in-survival-analysis/m-p/643377#M30857</link>
      <description>&lt;P&gt;I haven't done this so take it with a grain (or maybe a block) of salt.&amp;nbsp; PHREG doesn't allow for setting arbitrary values of DDF, which I was hoping to find.&amp;nbsp; Given that rather discouraging discovery, I believe that the approach you have taken here best fits the algorithms used in PHREG (in particular it seems to fit Example 85.11 in the SAS/STAT 14.1 documentation).&amp;nbsp; I believe that you are estimating an additional variance component due to the cluster, so having a wider CL is not unexpected. I would consider adding an ASSESS statement to check on whether the PH assumption is met under clustering.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 17:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cluster-randomization-in-survival-analysis/m-p/643377#M30857</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-04-27T17:32:21Z</dc:date>
    </item>
  </channel>
</rss>

