<?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: Exact Conditional logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833459#M41273</link>
    <description>&lt;P&gt;Dear Dave,&lt;/P&gt;&lt;P&gt;thanks for correcting me.&lt;/P&gt;&lt;P&gt;What I really want is to get a p-value to see if there is difference across the categories of variable week taking into account that the observations are from the same individuals when measured at week 0 and at week 52.&lt;/P&gt;&lt;P&gt;When there are events in both weeks the GEE model works fine. But in this specific case, where there is no event at week 52 I do not get the models estimates.&lt;/P&gt;&lt;P&gt;If I ignore the fact there is correlation between observations, using exact logistic regression I get the estimates.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;Is it possible to get a p-value considering a GEE model that&amp;nbsp; give me the results when there is no event at week 52?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Iuri&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 22:15:45 GMT</pubDate>
    <dc:creator>iuri_leite</dc:creator>
    <dc:date>2022-09-14T22:15:45Z</dc:date>
    <item>
      <title>Exact Conditional logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833438#M41270</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;We are carrying out a study in which patients are followed-up during a year with quarterly visits. In each visit they are teste for many diseases. One of them is hepatitis B. We are running a logistic model to measure the difference in proportions of participants with hepatitis B (HEPAT_B) in week 0 and week 52.&lt;/P&gt;&lt;P&gt;As the measures are from the same individuals, we used a conditional logistic. Generally, I use proc genmod with the identification of individuals (copid).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;GENMOD&lt;/STRONG&gt; DESCENDING;&lt;/P&gt;&lt;P&gt;CLASS COPID Week (REF='0');&lt;/P&gt;&lt;P&gt;MODEL HEPAT_B=week/ DIST=BIN LINK=LOGIT;&lt;/P&gt;&lt;P&gt;REPEATED SUBJECT=COPID/TYPE=UN;&lt;/P&gt;&lt;P&gt;ESTIMATE 'TEMPO' week &lt;STRONG&gt;1&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;/EXP;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It runs perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But because there in no event at week 52, I tried to include some exact test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;LOGISTIC&lt;/STRONG&gt; DATA=TOTAL exactonly;&lt;/P&gt;&lt;P&gt;CLASS week;&lt;/P&gt;&lt;P&gt;STRATA COPID;&lt;/P&gt;&lt;P&gt;MODEL HEPAT_B=week;&lt;/P&gt;&lt;P&gt;EXACT week;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I used only the exact logistic without the option strata, the model works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;logistic&lt;/STRONG&gt; data=TOTAL;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class week/ param=ref;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model HEPAT_B=week;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exact week;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know how to can I used a conditional logistic model&amp;nbsp; with a option exact.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iuri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS Output:&lt;/P&gt;&lt;P&gt;NOTE: ODS Graphics are not available when the EXACTONLY option is specified.&lt;/P&gt;&lt;P&gt;WARNING: There are no valid observations since all strata are noninformative.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: There were 4473 observations read from the data set WORK.TOTAL.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 20:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833438#M41270</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2022-09-14T20:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exact Conditional logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833445#M41271</link>
      <description>First, note that the model you fit in PROC GENMOD is not a conditional logistic model. It is a Generalized Estimating Equations (GEE) model, though that population-averaged type of model might be fine for your purposes. Also, the model in PROC LOGISTIC without the STRATA statement is an ordinary (unconditional) logistic model. As noted in the description of the STRATA statement in PROC LOGISTIC, the conditional method only uses the data in strata that are informative - that is, strata in which there is some variation in the responses. You said that you have no events in any of your pairs (strata), so none of the strata are informative.</description>
      <pubDate>Wed, 14 Sep 2022 20:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833445#M41271</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-09-14T20:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exact Conditional logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833459#M41273</link>
      <description>&lt;P&gt;Dear Dave,&lt;/P&gt;&lt;P&gt;thanks for correcting me.&lt;/P&gt;&lt;P&gt;What I really want is to get a p-value to see if there is difference across the categories of variable week taking into account that the observations are from the same individuals when measured at week 0 and at week 52.&lt;/P&gt;&lt;P&gt;When there are events in both weeks the GEE model works fine. But in this specific case, where there is no event at week 52 I do not get the models estimates.&lt;/P&gt;&lt;P&gt;If I ignore the fact there is correlation between observations, using exact logistic regression I get the estimates.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;Is it possible to get a p-value considering a GEE model that&amp;nbsp; give me the results when there is no event at week 52?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Iuri&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 22:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833459#M41273</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2022-09-14T22:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exact Conditional logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833461#M41275</link>
      <description>&lt;P&gt;Exact estimation is not possible in GEE models. However, your data can be thought of as a set of stratified 2x2 tables. As a result, you can take a non-modeling approach by using the CMH option in PROC FREQ in order to get an analysis not using exact methods. An exact approach can be done using PROC MULTTEST. Both are shown in &lt;A href="http://support.sas.com/kb/32711" target="_self"&gt;this note&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 22:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833461#M41275</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-09-14T22:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exact Conditional logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833807#M41286</link>
      <description>&lt;P&gt;Dear Dave,&lt;/P&gt;&lt;P&gt;many thanks.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Exact-Conditional-logistic/m-p/833807#M41286</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2022-09-16T11:10:37Z</dc:date>
    </item>
  </channel>
</rss>

