<?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 Enterprise Miner PROC CORR SAS Code Node %EM_REPORT Error in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348000#M5188</link>
    <description>&lt;P&gt;Hi There. I am trying to create a SAS Code Node in Enterprise Miner, that will visually show me a correlation matrix. The SAS Code Node follows an Interactive Grouping node, so the correlation should be done on all the interval variables, some create by the Interactive Grouping Node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the "Results" after running the node, it gives me an error saying "Variable not found in data set". No variable is mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fairly new to Enterprise Miner, I might be missing something obvious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I'm using in the SAS Code Node:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%EM_REGISTER(type=DATA, key=CORRPLOT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc corr data=&amp;amp;EM_IMPORT_DATA. out=&amp;amp;em_user_CORRPLOT. pearson plots=matrix;&lt;BR /&gt;var %EM_INTERVAL_INPUT;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%EM_REPORT(key=CORRPLOT, viewtype=HISTOGRAM, X=_X_, Y=_Y_, FREQ=correlation, autodisplay=Y, block=Correlation, description=Correlation Plot);&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2017 07:30:12 GMT</pubDate>
    <dc:creator>Lodewikus</dc:creator>
    <dc:date>2017-04-07T07:30:12Z</dc:date>
    <item>
      <title>Enterprise Miner PROC CORR SAS Code Node %EM_REPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348000#M5188</link>
      <description>&lt;P&gt;Hi There. I am trying to create a SAS Code Node in Enterprise Miner, that will visually show me a correlation matrix. The SAS Code Node follows an Interactive Grouping node, so the correlation should be done on all the interval variables, some create by the Interactive Grouping Node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the "Results" after running the node, it gives me an error saying "Variable not found in data set". No variable is mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fairly new to Enterprise Miner, I might be missing something obvious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I'm using in the SAS Code Node:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%EM_REGISTER(type=DATA, key=CORRPLOT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc corr data=&amp;amp;EM_IMPORT_DATA. out=&amp;amp;em_user_CORRPLOT. pearson plots=matrix;&lt;BR /&gt;var %EM_INTERVAL_INPUT;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%EM_REPORT(key=CORRPLOT, viewtype=HISTOGRAM, X=_X_, Y=_Y_, FREQ=correlation, autodisplay=Y, block=Correlation, description=Correlation Plot);&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 07:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348000#M5188</guid>
      <dc:creator>Lodewikus</dc:creator>
      <dc:date>2017-04-07T07:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Miner PROC CORR SAS Code Node %EM_REPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348066#M5189</link>
      <description>&lt;P&gt;If you do a proc print of the data set you are trying to plot, you can see the variables _X_, _Y_, and Correlation are not in the data set, so the %EM_REPORT call is failing.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 13:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348066#M5189</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2017-04-07T13:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Miner PROC CORR SAS Code Node %EM_REPORT Error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348617#M5202</link>
      <description>&lt;P&gt;Thanks Wendy - the post I got this from uses _X_ and _Y_, it seems as though they are trying to plot all the variables against each other, which is correct.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you perhaps have any idea what I can use to call all the variables?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 08:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-PROC-CORR-SAS-Code-Node-EM-REPORT-Error/m-p/348617#M5202</guid>
      <dc:creator>Lodewikus</dc:creator>
      <dc:date>2017-04-10T08:23:37Z</dc:date>
    </item>
  </channel>
</rss>

