<?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: %LSMeans Warning: Apparent Invocation NLMeans not resolved in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/908513#M40636</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/445889"&gt;@pspen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely, you don't have SAS installed on your laptop, but you are using an interface such as SAS Studio or SAS Enterprise Guide which connects to a server-based SAS installation. That server cannot access your local C: drive, hence the error. If you can copy and paste the code from&amp;nbsp;&lt;SPAN&gt;nlmeans.sas and&amp;nbsp;nlest.sas into the program editor of your interface and then submit it from there, this should be the easiest solution. Otherwise you need to &lt;EM&gt;upload&lt;/EM&gt; the two .sas files to the server, e.g., to a location where other .sas files reside that you've been working with, so that the server can access the code (e.g., again via &lt;FONT face="courier new,courier"&gt;%include&lt;/FONT&gt;, but with the new server path replacing the local "C:\Users\..." path).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Finally, let me repeat the hint from my previous post in this thread:&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hint: Generally, it is much better to open a new thread than to add questions to an old one (like from 2019), which only a few people will read.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, if you don't succeed with the copy/paste or upload approaches suggested above, please open a new thread so that people using&amp;nbsp;SAS Studio or SAS Enterprise Guide can further assist you.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Dec 2023 10:00:41 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2023-12-17T10:00:41Z</dc:date>
    <item>
      <title>%LSMeans Warning: Apparent Invocation NLMeans not resolved</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/532831#M6094</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working through an example given by SAS to create relative risk from this example: &lt;A href="http://support.sas.com/kb/23/003.html" target="_blank"&gt;http://support.sas.com/kb/23/003.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working through it but I am now stuck. I run the preceding code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data question;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input Gender $ Response $ Count;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Women Yes 45&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Women&amp;nbsp; No 55&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Men&amp;nbsp;&amp;nbsp; Yes 30&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Men&amp;nbsp;&amp;nbsp;&amp;nbsp; No 70&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc freq data=question order=data;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; weight Count;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables Gender*Response / relrisk;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc logistic data=question;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq count;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class gender(ref="Men") / param=glm;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model response(event="Yes")=gender;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsmeans gender / e ilink;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods output coef=coeffs;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store out=ques;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, so good. HOWEVER, when I submit the suggested %NLMeans macro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%NLMeans(instore=ques, coef=coeffs, link=logit, options=ratio, title=Relative Risk);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive the following message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Warning: Apparent Invocation NLMeans not resolved"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise! Thank you in advance!&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;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 03:09:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/532831#M6094</guid>
      <dc:creator>davidmaron</dc:creator>
      <dc:date>2019-02-05T03:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: %LSMeans Warning: Apparent Invocation NLMeans not resolved</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/532890#M6106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41078"&gt;@davidmaron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to download and submit the macro code from&amp;nbsp;&lt;A href="http://support.sas.com/kb/62/addl/fusion_62362_5_nlmeans.sas.txt" target="_blank" rel="noopener"&gt;http://support.sas.com/kb/62/addl/fusion_62362_5_nlmeans.sas.txt&lt;/A&gt;&amp;nbsp;in order to make it available to your SAS session.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 11:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/532890#M6106</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-02-05T11:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: %LSMeans Warning: Apparent Invocation NLMeans not resolved</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/877204#M38957</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hello, where do I start downloading the code?&lt;/SPAN&gt;&lt;SPAN class=""&gt; I started with "Macro Argument List Start" and copied the following code.&lt;/SPAN&gt;&lt;SPAN class=""&gt; However, I cannot display the results after using NLmeans. Could you please give me the specific process of using NLmeans? Since I am an initial scholar, I do not know how to use macros for the time being.&lt;/SPAN&gt;&lt;SPAN class=""&gt; Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 06:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/877204#M38957</guid>
      <dc:creator>Lucai_sister</dc:creator>
      <dc:date>2023-05-24T06:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: %LSMeans Warning: Apparent Invocation NLMeans not resolved</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/877243#M38958</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/443008"&gt;@Lucai_sister&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;First of all, make sure to use the latest version of the NLMeans macro:&lt;BR /&gt;Under the "Downloads" tab on the page&amp;nbsp;&lt;A href="http://support.sas.com/kb/62/362.html" target="_blank" rel="noopener"&gt;Sample 62362: Estimate and test differences, ratios, or contrasts of means in generalized linear models&lt;/A&gt;&amp;nbsp;you find the current link, which is different from that provided in my reply from 2019 in this thread. Download the text file and save it as &lt;STRONG&gt;nlmeans.sas&lt;/STRONG&gt; in a directory that your SAS session can access.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Do the same for the NLEst macro, which is a prerequisite for the NLMeans macro:&lt;BR /&gt;You find a link to the latest version of it under the "Downloads" tab on the page &lt;A href="https://support.sas.com/kb/58/775.html" target="_blank" rel="noopener"&gt;Sample 58775: Estimating nonlinear combinations of model parameters&lt;/A&gt;.&amp;nbsp;Download the text file and save it as &lt;STRONG&gt;nlest.sas&lt;/STRONG&gt; in the same directory as above.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;In your SAS session submit two &lt;A href="https://documentation.sas.com/doc/de/pgmsascdc/9.4_3.5/lestmtsglobal/p1s3uhhqtscz2sn1otiatbovfn1t.htm" target="_blank" rel="noopener"&gt;%INCLUDE statements&lt;/A&gt;:&lt;BR /&gt;
&lt;PRE&gt;%include '&lt;EM&gt;your\path&lt;/EM&gt;\nlest.sas';
%include '&lt;EM&gt;your\path&lt;/EM&gt;\nlmeans.sas';&lt;/PRE&gt;
(of course, with "&lt;EM&gt;&lt;FONT face="courier new,courier"&gt;your\path&lt;/FONT&gt;&lt;/EM&gt;" replaced by the location you chose for the two .sas files).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Use the code provided in a SAS Usage Note such as &lt;A href="https://support.sas.com/kb/57/798.html" target="_blank" rel="noopener"&gt;Usage Note 57798: Estimating relative risks in a multinomial response model&lt;/A&gt;&amp;nbsp;to test the NLMeans macro. In this example you would submit&lt;BR /&gt;- the DATA step creating the SCHOOL dataset,&lt;BR /&gt;- the PROC LOGISTIC step creating the COEFFS dataset and the LOGMOD model item store&lt;BR /&gt;- and finally the %NLMeans(...) macro call.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a result you should obtain the table "School RRs on each Style" as displayed in the Usage Note. It appears that the latest version of NLMeans.sas creates an additional column "Null Value" in that table, but the values in the other columns (Estimate, Standard Error, etc.) match the numbers from the Usage Note (in spite of the warning about the&amp;nbsp;final Hessian matrix in the log).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Then you are ready to apply the NLMeans macro to your own data. Good luck! If you encounter problems in this Step 5, please start a new topic in the &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank" rel="noopener"&gt;Statistical Procedures forum&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hint: Generally, it is much better to open a new thread than to add questions to an old one (like from 2019), which only a few people will read.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 11:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/877243#M38958</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-05-24T11:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: %LSMeans Warning: Apparent Invocation NLMeans not resolved</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/908455#M40630</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the instructions to download the latest macros and saved both on my laptop. I then did the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%inc 'C:\Users\rup9\Desktop\HearHer\nlmeans.sas';&lt;BR /&gt;%inc 'C:\Users\rup9\Desktop\HearHer\nlest.sas';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try running both, I get the&amp;nbsp;WARNING: Physical file does not exist, C:\Users\rup9\Desktop\HearHer\nlest.sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Please help! Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 01:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/908455#M40630</guid>
      <dc:creator>pspen</dc:creator>
      <dc:date>2023-12-16T01:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: %LSMeans Warning: Apparent Invocation NLMeans not resolved</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/908513#M40636</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/445889"&gt;@pspen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely, you don't have SAS installed on your laptop, but you are using an interface such as SAS Studio or SAS Enterprise Guide which connects to a server-based SAS installation. That server cannot access your local C: drive, hence the error. If you can copy and paste the code from&amp;nbsp;&lt;SPAN&gt;nlmeans.sas and&amp;nbsp;nlest.sas into the program editor of your interface and then submit it from there, this should be the easiest solution. Otherwise you need to &lt;EM&gt;upload&lt;/EM&gt; the two .sas files to the server, e.g., to a location where other .sas files reside that you've been working with, so that the server can access the code (e.g., again via &lt;FONT face="courier new,courier"&gt;%include&lt;/FONT&gt;, but with the new server path replacing the local "C:\Users\..." path).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Finally, let me repeat the hint from my previous post in this thread:&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hint: Generally, it is much better to open a new thread than to add questions to an old one (like from 2019), which only a few people will read.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, if you don't succeed with the copy/paste or upload approaches suggested above, please open a new thread so that people using&amp;nbsp;SAS Studio or SAS Enterprise Guide can further assist you.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 10:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMeans-Warning-Apparent-Invocation-NLMeans-not-resolved/m-p/908513#M40636</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-12-17T10:00:41Z</dc:date>
    </item>
  </channel>
</rss>

