<?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: %NLMeans error that seems odd to me in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765367#M37398</link>
    <description>&lt;P&gt;that seems logical-let's see what happens, and there it is, the version of %NLestimate is 1.6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Download time.&amp;nbsp; If that solves the problem, I'll be back to mark this as answered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 14:28:55 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2021-09-01T14:28:55Z</dc:date>
    <item>
      <title>%NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765326#M37388</link>
      <description>&lt;P&gt;Hi folks (and especially&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;).&amp;nbsp; I am trying to execute %NLMeans using the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=anlset_block(where=(block in (2,3,4,5,6,7))) cholesky /*pconv=1e-6*/ method=laplace;
class block anml_nbr grp_no;
nloptions maxiter=10000;
model estrusCount/totalcount = grp_no|block/s ddfm=bw;
random intercept/subject=anml_nbr;
random block / subject=anml_nbr type=arh(1);
store out=proportions;
run;

proc plm restore=proportions;
lsmeans grp_no|block/e ilink diff;
ods output coef=coeffs;
run;

%include "B:\Steve\GLIMMIXforSAS\nlmeans.sas";;

%nlmeans(instore=proportions, coef=coeffs, link=logit, diff=1, null=0, title=Diff of Mean Proportions);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and get this in the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1154  %nlmeans(instore=proportions, coef=coeffs, link=logit, diff=1, null=0, title=Diff of Mean
1154! Proportions);
ERROR: The keyword parameter NULL was not defined with the macro.
ERROR: File WORK.EST.DATA does not exist.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am sure I am missing something obvious, but I can't find the error msg in the macro code, so I suspect I did something wrong in my invocation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running SASv9.4 (TS1M6) SAS/STAT 15.1.&amp;nbsp; The macro version is 1.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for looking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 12:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765326#M37388</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-09-01T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765354#M37392</link>
      <description>&lt;P&gt;From the LOG. that implicate NULL= doesn't define in macro %nlmeans.&lt;/P&gt;
&lt;PRE&gt;%nlmeans(instore=proportions, coef=coeffs, link=logit, diff=1, &lt;STRONG&gt;null=0,&lt;/STRONG&gt; title=Diff of Mean Proportions);&lt;/PRE&gt;
&lt;P&gt;then try to remove it .&lt;/P&gt;
&lt;P&gt;%nlmeans(instore=proportions, coef=coeffs, link=logit, diff=1,&amp;nbsp; title=Diff of Mean Proportions);&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765354#M37392</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-09-01T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765357#M37393</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At least the first error message would occur if you were using a version of the NL&lt;EM&gt;EST&lt;/EM&gt; macro (which is called by NLMEANS) that doesn't have the &lt;FONT face="courier new,courier"&gt;null=&lt;/FONT&gt; parameter yet. The &lt;A href="https://support.sas.com/kb/58/775.html" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; says that this parameter has been added in version 1.8 of NLEST, i.e., the latest version. Actually, in SAS 9.4M6 both &lt;A href="https://support.sas.com/kb/62/362.html" target="_blank" rel="noopener"&gt;NLMEANS&lt;/A&gt; and NLEST should be available via autocall (i.e., without an explicit %INCLUDE as you are using) according to the red notes in both documentations. So I'm not sure why an older version of NLEST might be involved in your SAS session, but the version of NLEST is the first thing I would check.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765357#M37393</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-09-01T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765363#M37395</link>
      <description>&lt;P&gt;You are apparently either not using version 1.3 of NLMeans, or are not also running version 1.8 of the NLEST macro which it requires as noted in the &lt;A href="http://support.sas.com/kb/62362" target="_self"&gt;documentation of the NLMeans macro&lt;/A&gt;. In that documentation, see the History section and the description of NULL= which detail the requirements. To verify the versions of both macros that you are running, specify any text immediately following the open parenthesis as shown in the History section. Do not alter the macro code of either macro in any way.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:21:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765363#M37395</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-09-01T14:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765365#M37396</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same error when NULL=0 is removed...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:22:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765365#M37396</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-09-01T14:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765366#M37397</link>
      <description>&lt;P&gt;Not so easy to do, as the \sasmacro folder is locked, and only the admin can add in the newer versions.&amp;nbsp; Thus the %include to another location.&amp;nbsp; That might mean the %NLEst macro is unavailable to NLMeans.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try some moving/copying to see if that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:25:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765366#M37397</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-09-01T14:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765367#M37398</link>
      <description>&lt;P&gt;that seems logical-let's see what happens, and there it is, the version of %NLestimate is 1.6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Download time.&amp;nbsp; If that solves the problem, I'll be back to mark this as answered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765367#M37398</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-09-01T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765368#M37399</link>
      <description>The versions of NLMeans and NLEST provided in SAS 9.4M6 are not the latest versions. The 1.3 and 1.8 versions became available later. They must be downloaded and their code run in each SAS session to use them. It does not matter where they are on your machine - simply use %inc statements to run them in your session.</description>
      <pubDate>Wed, 01 Sep 2021 14:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765368#M37399</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-09-01T14:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765371#M37400</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;.&amp;nbsp; Works like a charm now.&amp;nbsp; On to MULTTEST to adjust for multiple comparisons (PS.&amp;nbsp; An idea for future versions would be to add some choices for multiple comparison adjustments)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765371#M37400</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-09-01T14:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765373#M37401</link>
      <description>See the Details section of the NLMeans macro documentation which describes the data set containing the results. You should easily be able to use that in MULTTEST to adjust the p-values for multiple testing.</description>
      <pubDate>Wed, 01 Sep 2021 14:45:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765373#M37401</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-09-01T14:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765418#M37402</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;The versions of NLMeans and NLEST provided in SAS 9.4M6 are not the latest versions. The 1.3 and 1.8 versions became available later. They must be downloaded and their code run in each SAS session to use them.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;, for pointing this out. So, the red notes (like "breaking news") in the documentation pages &lt;A href="https://support.sas.com/kb/58/775.html" target="_blank" rel="noopener"&gt;Sample 58775&lt;/A&gt; and&amp;nbsp;&lt;A href="https://support.sas.com/kb/62/362.html" target="_blank" rel="noopener"&gt;Sample 62362&lt;/A&gt;&amp;nbsp;saying "Beginning in SAS® 9.4M6 (TS1M6), this macro is available ..." should better be more specific about the macro versions they are referring to.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 15:53:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765418#M37402</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-09-01T15:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: %NLMeans error that seems odd to me</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765420#M37403</link>
      <description>Yes, I have already updated those Notes and the History tables to help clarify this.</description>
      <pubDate>Wed, 01 Sep 2021 15:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NLMeans-error-that-seems-odd-to-me/m-p/765420#M37403</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-09-01T15:56:41Z</dc:date>
    </item>
  </channel>
</rss>

