<?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: The likelihood ratio test for strata homogeneity is questionable since some strata have no event in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954596#M47756</link>
    <description>"but some 'TYPEN' dosn't has all   trt01an*cnsr, is that what's causing this? If so how to solve it？"&lt;BR /&gt;Yes. That is where the problem is.&lt;BR /&gt;Just keep the validate(integerate) combination of trt01an*cnsr.&lt;BR /&gt;a.k.a.  at least two levels in trt01an and two levels in cnsr .</description>
    <pubDate>Wed, 25 Dec 2024 01:51:21 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-12-25T01:51:21Z</dc:date>
    <item>
      <title>The likelihood ratio test for strata homogeneity is questionable since some strata have no events.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954565#M47753</link>
      <description>&lt;P&gt;When I do survival analysis，all strata have events, but why still got this warning: "The likelihood ratio test for strata homogeneity is questionable since some strata have no events." ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log as below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output Added:&lt;BR /&gt;-------------&lt;BR /&gt;Name: HomTests&lt;BR /&gt;Label: Homogeneity Tests&lt;BR /&gt;Template: Stat.Lifetest.HomTests&lt;BR /&gt;Path: Lifetest.ByGroup3.StrataHomogeneity.HomTests&lt;BR /&gt;-------------&lt;BR /&gt;WARNING: The likelihood ratio test for strata homogeneity is questionable since some strata have no events.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code as below, in my dataset cnsr value inclued (0 1), and all trt01an have events(0 1). Why still got this warning? What the meaning?&lt;/P&gt;&lt;P&gt;Does it affect other analyses like ProductLimitEstimates, Quartiles etc. ? Is this survival analysis still valid?&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc lifetest data=adtte timelist=(0 to 20 by 2) atrisk outsurv=surviv reduceout;
by TYPEN;
time aval*cnsr(1);
strata trt01an;
run;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 24 Dec 2024 13:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954565#M47753</guid>
      <dc:creator>Stephen_Q</dc:creator>
      <dc:date>2024-12-24T13:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: The likelihood ratio test for strata homogeneity is questionable since some strata have no event</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954593#M47754</link>
      <description>Maybe  'aval' has some MISSING value. SAS would delete the entire row if any one of 'aval'  'cnsr'  have a missing value .&lt;BR /&gt;Using PROC FREQ to check whether each treatment have event or not:&lt;BR /&gt;&lt;BR /&gt;proc freq data=adtte;&lt;BR /&gt;where aval is not missing;&lt;BR /&gt;table TYPEN*trt01an*cnsr/list;&lt;BR /&gt;run;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Dec 2024 01:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954593#M47754</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-12-25T01:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: The likelihood ratio test for strata homogeneity is questionable since some strata have no event</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954595#M47755</link>
      <description>&lt;P&gt;Thanks for your reply, 'aval' and 'cnsr' both have no missing value, but some 'TYPEN' dosn't has all&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;trt01an*cnsr, is that what's causing this?&amp;nbsp;If so how to solve it？&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2024 01:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954595#M47755</guid>
      <dc:creator>Stephen_Q</dc:creator>
      <dc:date>2024-12-25T01:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: The likelihood ratio test for strata homogeneity is questionable since some strata have no event</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954596#M47756</link>
      <description>"but some 'TYPEN' dosn't has all   trt01an*cnsr, is that what's causing this? If so how to solve it？"&lt;BR /&gt;Yes. That is where the problem is.&lt;BR /&gt;Just keep the validate(integerate) combination of trt01an*cnsr.&lt;BR /&gt;a.k.a.  at least two levels in trt01an and two levels in cnsr .</description>
      <pubDate>Wed, 25 Dec 2024 01:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954596#M47756</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-12-25T01:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: The likelihood ratio test for strata homogeneity is questionable since some strata have no event</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954598#M47757</link>
      <description>&lt;P&gt;For example，trt01an value inclued(1 2), cnsr value inclued(0 1). I mean some 'TYPEN' only has (trt01an=1 and cnsr=0) ,(trt01an=1 and cnsr=1) ,(trt01an=2and cnsr=0) , dosn't has (trt01an=2and cnsr=1), right?&lt;/P&gt;&lt;P&gt;If so, but in aother dataset, it's a similar situation,&amp;nbsp;The log has no warning.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2024 02:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954598#M47757</guid>
      <dc:creator>Stephen_Q</dc:creator>
      <dc:date>2024-12-25T02:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: The likelihood ratio test for strata homogeneity is questionable since some strata have no event</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954599#M47758</link>
      <description>Yes. Delete those records and run the code again. If there is not any warning ,that is to say where  the problem is. If not then better post sample data ,so can test your code.</description>
      <pubDate>Wed, 25 Dec 2024 02:47:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-likelihood-ratio-test-for-strata-homogeneity-is-questionable/m-p/954599#M47758</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-12-25T02:47:31Z</dc:date>
    </item>
  </channel>
</rss>

