<?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 - Journal Note &amp;quot;There are no valid observations&amp;quot; but code still runs in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847334#M36948</link>
    <description>&lt;P&gt;Please see my answer edited&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 20:12:35 GMT</pubDate>
    <dc:creator>LG-ins-2022</dc:creator>
    <dc:date>2022-12-01T20:12:35Z</dc:date>
    <item>
      <title>PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847321#M36944</link>
      <description>&lt;P&gt;Hi SAS experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am scratching my head on this one. I am running a proc logistic with several variables, for 2 of them (who each have less than &amp;lt;5% of values missing), the SAS journal writes :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: There are no valid observations for &lt;EM&gt;independant&amp;nbsp;var&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recoded for each variable in the model the missing values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried a proc freq for each independant var*dependant var, without anything weird.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As stated in the title, I still have an output (and the OR for each categories).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me understand&amp;nbsp;this note?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 22:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847321#M36944</guid>
      <dc:creator>LG-ins-2022</dc:creator>
      <dc:date>2022-12-01T22:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847322#M36945</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;NOTE: There are no valid observations for&amp;nbsp;independant&amp;nbsp;var.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Doesn't this lead you to the problem directly?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not: without seeing the log and parts of your data, its really hard to provide advice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show us the ENTIRE log for PROC LOGISTIC (not selected parts, not just the errors or warnings, but every single line of the log for PROC LOGISTIC) by copying the log as text and pasting it into the window that appears when you click on the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_0-1663012019648.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75161i0E71B1489A6C9839/image-size/large?v=v2&amp;amp;px=999" role="button" title="PaigeMiller_0-1663012019648.png" alt="PaigeMiller_0-1663012019648.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would also need to see a portion of your data, including the independent variable.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847322#M36945</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-01T20:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847328#M36946</link>
      <description>&lt;PRE&gt;14799  Proc logistic data=data;
14800      weight weight;
14801      class
14802
14803      Ct12cM (ref="Tout à fait ou plutôt satisfait" missing)
14804      Ct22cM (ref="Tout à fait ou plutôt satisfait" missing)
14805      Ct32cM (ref="Tout à fait ou plutôt satisfait" missing)
14806
14807      genre_3C (ref="Homme" missing)
14808      age_repondant3cM_EV (ref="65 ans et plus" missing)
14809
14810      ScolariteM_EV (ref ="pas de diplôme" missing)
14811
14812      Revenu4cM_EV (ref=last missing)
14813
14814
14815  /param=glm;
14816      model risque (event = "Danger") =
14817      Ct12cM Ct22cM Ct32cM
14818      genre_3C  age_repondant3cM_EV ScolariteM_EV
14819      Revenu4cM_EV
14820  ;
14821
14822  run;

NOTE: PROC LOGISTIC is modeling the probability that risque ='Danger'.
NOTE: Convergence criterion (GCONV=1E-8) satisfied.
NOTE: There are no valid observations for age_repondant3cM_EV=Âge manquant.
NOTE: There are no valid observations for ScolariteM_EV=Scolarité manquantes.
NOTE: There were 10036 observations read from the data set WORK.CHALEUR10.
NOTE: PROCEDURE LOGISTIC used (Total process time):
      real time           0.31 seconds
      cpu time            0.31 seconds&lt;/PRE&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;Please find the log attached.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 22:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847328#M36946</guid>
      <dc:creator>LG-ins-2022</dc:creator>
      <dc:date>2022-12-01T22:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847332#M36947</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Repeating with emphasis: Please show us the &lt;FONT color="#FF0000"&gt;ENTIRE&lt;/FONT&gt; log for PROC LOGISTIC (not selected parts, not just the errors or warnings, but &lt;FONT color="#FF0000"&gt;every single line&lt;/FONT&gt; of the log for PROC LOGISTIC)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847332#M36947</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-01T20:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847334#M36948</link>
      <description>&lt;P&gt;Please see my answer edited&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847334#M36948</guid>
      <dc:creator>LG-ins-2022</dc:creator>
      <dc:date>2022-12-01T20:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847339#M36949</link>
      <description>&lt;P&gt;So, even in your initial post, you truncated the NOTE in the log, altering its meaning. Please don't do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: There are no valid observations for age_repondant3cM_EV=Âge manquant.
NOTE: There are no valid observations for ScolariteM_EV=Scolarité manquantes.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are no valid observations for variable age_repondant3cM_EV when it equals&amp;nbsp;Âge manquant. So look at your data when this variable equals&amp;nbsp;Âge manquant and see if there are valid observations (possibly the response variables are all missing, possibly other predictor variables are all missing). Same thing for the other variable listed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847339#M36949</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-01T20:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847349#M36950</link>
      <description>&lt;P&gt;Duly noted!&lt;/P&gt;&lt;P&gt;As I mentioned in my original post, both my proc freq tables indicates there are mostly valid observations for my dependant variable.&lt;/P&gt;&lt;P&gt;When I double-checked for both variable and my dependant variable, there is 1 event with both variables missing.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Could that be enough for the log to indicate such note?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 22:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847349#M36950</guid>
      <dc:creator>LG-ins-2022</dc:creator>
      <dc:date>2022-12-01T22:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC - Journal Note "There are no valid observations" but code still runs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847358#M36951</link>
      <description>&lt;P&gt;I specifically suggested you look at &lt;EM&gt;other&lt;/EM&gt; predictor variables, and the response variable.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 21:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-LOGISTIC-Journal-Note-quot-There-are-no-valid-observations/m-p/847358#M36951</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-01T21:40:58Z</dc:date>
    </item>
  </channel>
</rss>

