<?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: ERROR: Invalid or missing data in Proc Glimmix in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951391#M2448</link>
    <description>&lt;P&gt;I had no trouble running your code in SAS Ondemand - I did get the following warning messages in the log for proc glimmix:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogWarning1_1732134399522" class="sasWarning"&gt;WARNING: Mixed model has saturated mean and profiled variance. Fit does not proceed.&lt;/DIV&gt;
&lt;DIV id="sasLogNote6_1732134399522" class="sasNote"&gt;NOTE: The above message was for the following BY group:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;YEAR=1 DAP=114&lt;/DIV&gt;
&lt;DIV id="sasLogWarning2_1732134399522" class="sasWarning"&gt;WARNING: Mixed model has saturated mean and profiled variance. Fit does not proceed.&lt;/DIV&gt;
&lt;DIV id="sasLogNote7_1732134399522" class="sasNote"&gt;NOTE: The above message was for the following BY group:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;YEAR=2 DAP=125&lt;/DIV&gt;
&lt;DIV id="sasLogWarning3_1732134399522" class="sasWarning"&gt;WARNING: Mixed model has saturated mean and profiled variance. Fit does not proceed.&lt;/DIV&gt;
&lt;DIV id="sasLogNote8_1732134399522" class="sasNote"&gt;NOTE: The above message was for the following BY group:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;YEAR=3 DAP=119&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_302048" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2024 20:28:37 GMT</pubDate>
    <dc:creator>tom_grant</dc:creator>
    <dc:date>2024-11-20T20:28:37Z</dc:date>
    <item>
      <title>ERROR: Invalid or missing data in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951389#M2447</link>
      <description>&lt;P&gt;I am using the SAS OnDemand for Academics (free online version), I have attached a portion of my code. The only error code I am getting is that there is missing or invalid data but I'm not sure where that would be coming from. It will also give a &lt;EM&gt;NOTE: Invalid data for DAP in line 144 1-18.&amp;nbsp;&lt;/EM&gt;which repeats for&amp;nbsp;&amp;nbsp;&lt;EM&gt;YEAR in line 145 1-18,&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;PLOT in line 146 1-17,&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;REP in line 147 1-17,&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;TRT in line 148 1-17,&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;NDVI in line 149 1-17&amp;nbsp;&amp;nbsp;&lt;/EM&gt;and this pattern repeats through the code. Any advice would be welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data alldata;
input DAP YEAR PLOT REP TRT NDVI;
datalines;
114 1 402 4 3 0
114 1 403 4 2 0
114 1 404 4 1 0
125 2 401 4 2 0.855
125 2 402 4 3 0.825
125 2 403 4 4 0.815
119 3 303 3 3 0.69
119 3 304 3 2 0.775
119 3 403 4 4 0.705
;
run;
proc sort data=alldata; BY Year DAP;
proc glimmix data = alldata; BY Year DAP;
class REP TRT;
model NDVI = TRT;
random REP;
lsmeans TRT / lines;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Nov 2024 20:19:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951389#M2447</guid>
      <dc:creator>s-k</dc:creator>
      <dc:date>2024-11-20T20:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Invalid or missing data in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951391#M2448</link>
      <description>&lt;P&gt;I had no trouble running your code in SAS Ondemand - I did get the following warning messages in the log for proc glimmix:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogWarning1_1732134399522" class="sasWarning"&gt;WARNING: Mixed model has saturated mean and profiled variance. Fit does not proceed.&lt;/DIV&gt;
&lt;DIV id="sasLogNote6_1732134399522" class="sasNote"&gt;NOTE: The above message was for the following BY group:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;YEAR=1 DAP=114&lt;/DIV&gt;
&lt;DIV id="sasLogWarning2_1732134399522" class="sasWarning"&gt;WARNING: Mixed model has saturated mean and profiled variance. Fit does not proceed.&lt;/DIV&gt;
&lt;DIV id="sasLogNote7_1732134399522" class="sasNote"&gt;NOTE: The above message was for the following BY group:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;YEAR=2 DAP=125&lt;/DIV&gt;
&lt;DIV id="sasLogWarning3_1732134399522" class="sasWarning"&gt;WARNING: Mixed model has saturated mean and profiled variance. Fit does not proceed.&lt;/DIV&gt;
&lt;DIV id="sasLogNote8_1732134399522" class="sasNote"&gt;NOTE: The above message was for the following BY group:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;YEAR=3 DAP=119&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_302048" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 20:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951391#M2448</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2024-11-20T20:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Invalid or missing data in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951395#M2449</link>
      <description>&lt;P&gt;My first suggestion is to remove this statement from within the PROC GLIMMIX code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;BY Year DAP;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This fits a separate model for every unique combination of Year and DAP. The data you provided has three unique combinations of Year and DAP with three observations within each combination. So- you are fitting three separate models, each estimated with only three observations. Three observations isn't enough to fit a model well.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 20:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951395#M2449</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-11-20T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Invalid or missing data in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951424#M2450</link>
      <description>Your data is too small that would lead to a sparse problem for your model .&lt;BR /&gt;&lt;BR /&gt; BY Year DAP;&lt;BR /&gt;would split your dataset into many sub-dataset.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;random REP;&lt;BR /&gt;that would take REP as a SUBJECT= variable(cluster variable).&lt;BR /&gt;&lt;BR /&gt;All of these is to say you don't have enough data to buid a Mixed Model.</description>
      <pubDate>Thu, 21 Nov 2024 01:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951424#M2450</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-11-21T01:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Invalid or missing data in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951548#M2451</link>
      <description>&lt;P&gt;Thank you for running it, I had to make sure it wasn't a code issue before going further! It turns out that in the free SAS OnDemand, the tabs/cells when copied over from any sort of sheet is not recognized as spaces and the program reads it as one long line of code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 19:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/ERROR-Invalid-or-missing-data-in-Proc-Glimmix/m-p/951548#M2451</guid>
      <dc:creator>s-k</dc:creator>
      <dc:date>2024-11-21T19:14:13Z</dc:date>
    </item>
  </channel>
</rss>

