<?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: Nested frailty analysis within multi-year clustered Randomized Control Trial (RCT) w/repeat subj in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695343#M33573</link>
    <description>Thanks for quick replay SteveDenham.&lt;BR /&gt;&lt;BR /&gt;Using your suggestion above, I get virtually same results as having.&lt;BR /&gt;random community;&lt;BR /&gt;strata year;&lt;BR /&gt;&lt;BR /&gt;I need to reword my question - my explanation implies independence between years , need to adjust for repeated subject measures.&lt;BR /&gt;&lt;BR /&gt;I'll reword my question and post in Analytics\Statistical procedures.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Thu, 29 Oct 2020 20:05:41 GMT</pubDate>
    <dc:creator>PeteMc</dc:creator>
    <dc:date>2020-10-29T20:05:41Z</dc:date>
    <item>
      <title>Nested frailty analysis within multi-year clustered Randomized Control Trial (RCT) w/repeat subjects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695074#M33568</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Folks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Trying to fit a nested (shared or joint) frailty model using Penalized Likelihood&amp;nbsp;&lt;/SPAN&gt;estimation on the hazard function. Dataset is a multi-year clustered RCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;Treatment: 0-placebo, 1-Intervention&lt;/P&gt;&lt;P&gt;riv: 0-no exposure to illness, 1-exposure to illness&lt;/P&gt;&lt;P&gt;tte: time to event of exposure (days)&lt;/P&gt;&lt;P&gt;community: cluster id&amp;nbsp;&lt;/P&gt;&lt;P&gt;subject_id: participant id&lt;/P&gt;&lt;P&gt;year: study year {1,2,3,4}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At each year, participants across 36 communities (varying in size ~100 to 150 people) are followed from April to October, monitored for exposure to illness. For the most part subjects re-enroll each year , and Treatment remains the same for all years. Exposure variable (riv) is set 0 at the beginning of each year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each year I obtain the HR 95% CI from&amp;nbsp;Analysis of Maximum Likelihood Estimates&lt;BR /&gt;with Sandwich Variance Estimate using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=rivdata covs(aggregate) covm ;&lt;BR /&gt;id community;&lt;BR /&gt;model tte*riv(0)=Treatment /ties=EFRON rl;&lt;BR /&gt;by year;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But would like to fit all years together and see HR 95% CI. The two approaches I have tried are -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One:&lt;/P&gt;&lt;P&gt;proc phreg data=rivdata covs(aggregate) covm ;&lt;/P&gt;&lt;P&gt;class community subject_id;&lt;/P&gt;&lt;P&gt;model tte*riv(0)=Treatment /ties=EFROM rl;&lt;BR /&gt;/* strata year; */&lt;BR /&gt;random community;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two:&lt;/P&gt;&lt;P&gt;proc surveyphreg data=rivdata;&lt;BR /&gt;class Treatment;&lt;/P&gt;&lt;P&gt;cluster community;&lt;/P&gt;&lt;P&gt;/* cluster community subject_id; */&lt;/P&gt;&lt;P&gt;model tte*riv(0)=Treatment /ties=EFRON rl;&lt;BR /&gt;hazardratio Treatment;&lt;/P&gt;&lt;P&gt;/* strata year; */&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated to get correct HR 95% CI for all years combined.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried frailtypack in R, package is unstable, even after being re-released Oct 20, 2020.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 01:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695074#M33568</guid>
      <dc:creator>PeteMc</dc:creator>
      <dc:date>2020-10-29T01:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nested frailty analysis within multi-year clustered Randomized Control Trial (RCT) w/repeat subj</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695156#M33569</link>
      <description>&lt;P&gt;What happens if you remove the BY year statement from your original code?&amp;nbsp; What about changing the RANDOM effect in your first PHREG statement to&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;random community_year;
&lt;/PRE&gt;
&lt;P&gt;where community_year is created by concatenating the two variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more thing - I am going to move this to the Analytics\Statistical Procedures community, where it should draw attention from people specifically knowledgeable about this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 12:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695156#M33569</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-10-29T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nested frailty analysis within multi-year clustered Randomized Control Trial (RCT) w/repeat subj</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695343#M33573</link>
      <description>Thanks for quick replay SteveDenham.&lt;BR /&gt;&lt;BR /&gt;Using your suggestion above, I get virtually same results as having.&lt;BR /&gt;random community;&lt;BR /&gt;strata year;&lt;BR /&gt;&lt;BR /&gt;I need to reword my question - my explanation implies independence between years , need to adjust for repeated subject measures.&lt;BR /&gt;&lt;BR /&gt;I'll reword my question and post in Analytics\Statistical procedures.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 29 Oct 2020 20:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nested-frailty-analysis-within-multi-year-clustered-Randomized/m-p/695343#M33573</guid>
      <dc:creator>PeteMc</dc:creator>
      <dc:date>2020-10-29T20:05:41Z</dc:date>
    </item>
  </channel>
</rss>

