<?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: Proc logistic help with a covariate in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-help-with-a-covariate/m-p/581836#M28544</link>
    <description>&lt;P&gt;First, when you talk about logistic regression, ordinal always refers to the Y variable, in this case EVENT. So, when you talk about dose being an ordinal variable (and also DOSE is an X variable), this doesn't make sense to me, X variables cannot be ordinal in the sense used in Logistic regression.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also, I usually think of dose as an amount (on a continuous scale) of something administered, rather than a 0/1 variable. So I'm not really clear what these doses are.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on my (possibly limited) understanding of what you are trying to do, this seems more like a survival model than a logistic regression, where the subject can "survive" — not have the event — until time (dose) 1 or time (dose) 2 or time (dose) 3. In this case, you would want to run PROC PHREG, but as I have no experience with survival models, I'll have to drop out here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2019 19:29:28 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-08-16T19:29:28Z</dc:date>
    <item>
      <title>Proc logistic help with a covariate</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-help-with-a-covariate/m-p/581829#M28543</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; I am looking for help with a certain covariate for a logistic model.&amp;nbsp; This is a vaccine study where the endpoint is an event (0 or 1).&amp;nbsp; There are 3 doses administered.&amp;nbsp; We would like to somehow incorporate the effect of when the event occurs: between dose 1 and 2 (dose=1), between dose 2 and 3(dose=2), or after dose 3(dose=3).&amp;nbsp; Due to the design of the study we do not feel that using dose=1,2,3 as a continuous variable is appropriate.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be treated as an ordinal variable?&amp;nbsp; Could be decomposed into indicator variables like Dose=dose1, dose2, dose3.&amp;nbsp; &amp;nbsp;What is the best method to use in the model such that SAS applies the effect appropriately?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently we have model&amp;nbsp; event = treatment dose1 dose2 dose3 (and the interactions)&lt;/P&gt;&lt;P&gt;where dose1, dose2, dose3 are categorical y/n=1/0, but the model fails due to low counts for dose1.&amp;nbsp; We tried combining dose1 and dose2 and still get this warning:&amp;nbsp; WARNING: There is possibly a quasi-complete separation of data points. The maximum likelihood estimate may not exist.&lt;/P&gt;&lt;P&gt;WARNING: The LOGISTIC procedure continues in spite of the above warning. Results shown are based on the last maximum likelihood&amp;nbsp;iteration. Validity of the model fit is questionable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I use the ordinal option, it runs fine.&amp;nbsp; But want to make sure it's valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 18:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-help-with-a-covariate/m-p/581829#M28543</guid>
      <dc:creator>aaflower</dc:creator>
      <dc:date>2019-08-16T18:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc logistic help with a covariate</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-help-with-a-covariate/m-p/581836#M28544</link>
      <description>&lt;P&gt;First, when you talk about logistic regression, ordinal always refers to the Y variable, in this case EVENT. So, when you talk about dose being an ordinal variable (and also DOSE is an X variable), this doesn't make sense to me, X variables cannot be ordinal in the sense used in Logistic regression.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also, I usually think of dose as an amount (on a continuous scale) of something administered, rather than a 0/1 variable. So I'm not really clear what these doses are.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on my (possibly limited) understanding of what you are trying to do, this seems more like a survival model than a logistic regression, where the subject can "survive" — not have the event — until time (dose) 1 or time (dose) 2 or time (dose) 3. In this case, you would want to run PROC PHREG, but as I have no experience with survival models, I'll have to drop out here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 19:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-help-with-a-covariate/m-p/581836#M28544</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-16T19:29:28Z</dc:date>
    </item>
  </channel>
</rss>

