<?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 Survival analysis with repeated measures and random effects in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Survival-analysis-with-repeated-measures-and-random-effects/m-p/133857#M6967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in analyzing data with a time to event response variable.&lt;/P&gt;&lt;P&gt;My response variable measures time until a treatment succeeds to do what it is meant to be doing. My response variable (Y) gets the values: 0,1,2,3,4,5 and 10 min (times when the status is being checked).&lt;/P&gt;&lt;P&gt;After 10 minutes, if the treatment did not work, it is a failure, some sort of censoring. Naturally, lower values of Y are better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this dataset there are two treatments, a new interventional and a control, which is the standard of care. The main question is comparing the two treatments, to find superiority of the new one over the existing one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each patient enrolled for this trial, received the above procedure once or more. It is most frequent to find patients with either 1 procedure or 2. It is rare, however not impossible, to see even 3 procedures. All procedures within a patient are treated with the same treatment, either the new one or the control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two types of these procedures, I'll call them A and B. Every patient is having one of these two, other possible procedure exist, but were not chosen for this trial. In other words, every patient have 1, 2 and rarely 3 procedures, all from the same type, either A or B, and the treatment is either the new or the control. In each procedure, Y is measured like mentioned above. The correlation within a patient is assumed to be high. The trial is also multi-center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y - time to event&lt;/P&gt;&lt;P&gt;X1 - treatment - fixed factor&lt;/P&gt;&lt;P&gt;Z1 - procedure type - random factor&lt;/P&gt;&lt;P&gt;Z2 - center - random factor&lt;/P&gt;&lt;P&gt;Subject - repeated measures within a patient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you analyze this kind of data using SAS 9.3/9.4 ? I was thinking about GLMM and PROC GLIMMIX, but not sure how to setup the code&lt;/P&gt;&lt;P&gt;and more importantly, the rationale. Is this a nested design, blocked ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more question, perhaps harder. If you had to plan something like this, which approach would you use for the power and sample size calculations ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 14:03:54 GMT</pubDate>
    <dc:creator>BlueNose</dc:creator>
    <dc:date>2013-11-07T14:03:54Z</dc:date>
    <item>
      <title>Survival analysis with repeated measures and random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Survival-analysis-with-repeated-measures-and-random-effects/m-p/133857#M6967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in analyzing data with a time to event response variable.&lt;/P&gt;&lt;P&gt;My response variable measures time until a treatment succeeds to do what it is meant to be doing. My response variable (Y) gets the values: 0,1,2,3,4,5 and 10 min (times when the status is being checked).&lt;/P&gt;&lt;P&gt;After 10 minutes, if the treatment did not work, it is a failure, some sort of censoring. Naturally, lower values of Y are better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this dataset there are two treatments, a new interventional and a control, which is the standard of care. The main question is comparing the two treatments, to find superiority of the new one over the existing one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each patient enrolled for this trial, received the above procedure once or more. It is most frequent to find patients with either 1 procedure or 2. It is rare, however not impossible, to see even 3 procedures. All procedures within a patient are treated with the same treatment, either the new one or the control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two types of these procedures, I'll call them A and B. Every patient is having one of these two, other possible procedure exist, but were not chosen for this trial. In other words, every patient have 1, 2 and rarely 3 procedures, all from the same type, either A or B, and the treatment is either the new or the control. In each procedure, Y is measured like mentioned above. The correlation within a patient is assumed to be high. The trial is also multi-center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y - time to event&lt;/P&gt;&lt;P&gt;X1 - treatment - fixed factor&lt;/P&gt;&lt;P&gt;Z1 - procedure type - random factor&lt;/P&gt;&lt;P&gt;Z2 - center - random factor&lt;/P&gt;&lt;P&gt;Subject - repeated measures within a patient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you analyze this kind of data using SAS 9.3/9.4 ? I was thinking about GLMM and PROC GLIMMIX, but not sure how to setup the code&lt;/P&gt;&lt;P&gt;and more importantly, the rationale. Is this a nested design, blocked ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more question, perhaps harder. If you had to plan something like this, which approach would you use for the power and sample size calculations ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 14:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Survival-analysis-with-repeated-measures-and-random-effects/m-p/133857#M6967</guid>
      <dc:creator>BlueNose</dc:creator>
      <dc:date>2013-11-07T14:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Survival analysis with repeated measures and random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Survival-analysis-with-repeated-measures-and-random-effects/m-p/133858#M6968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The hard question is actually not that difficult, once we decide on the analysis - simulation is going to be the only reasonable way to get at power or sample size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on to the hard part (or what I would consider the hard part).&amp;nbsp; The distributions available to GLIMMIX do not include truncated/censored distributions.&amp;nbsp; Take a look at Example 64.5 Failure Time and Frailty Model in the NLMIXED documentation for some initial stabs at the code.&amp;nbsp; I think the repeated nature is going to have to be modeled as clustered data by patient, rather than a true repeated measure.&amp;nbsp; If the correlations are expected to be high, then the order should not make much difference.&amp;nbsp; Center is certainly a random factor.&amp;nbsp; I would call this a blocked design, with all treatments randomly assigned in each block(=center). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all this works, then simulate 1000 to 10000 datasets per sample size, analyze, and look at the power. &lt;A __default_attr="129106" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;'s blog and book will be invaluable for doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 14:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Survival-analysis-with-repeated-measures-and-random-effects/m-p/133858#M6968</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-11-07T14:36:26Z</dc:date>
    </item>
  </channel>
</rss>

