<?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 corr on numeric variables gives me error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409341#M99995</link>
    <description>&lt;P&gt;Change your code to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc corr data=mydata;&lt;BR /&gt;var _numeric_;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll see who's missing.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 02:36:39 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2017-11-01T02:36:39Z</dc:date>
    <item>
      <title>proc corr on numeric variables gives me error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409288#M99976</link>
      <description>&lt;P&gt;hi everybody.&lt;/P&gt;&lt;P&gt;i am trying to use proc corr to find correlation between my numeric variable ,but gives me error for those variable that had missing values even after i removed missing values .the error is: Variable ...... in list does not match type prescribed for this list.&lt;BR /&gt;some of my variables had missing values which were shown by NA that i had to remove all the missing rows from my data set then i used proc corr .i guess the reason that sas gives me error for proc corr is that sas may still read those variables as character variables.is there any way in sas to confirm that my variables are numeric ?&lt;/P&gt;&lt;P&gt;appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc corr data=mydata;&lt;BR /&gt;var _all_;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 21:00:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409288#M99976</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-10-31T21:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc corr on numeric variables gives me error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409291#M99978</link>
      <description>Run a proc contents on the data set. The TYPE must be numeric, no matter what it looks like. If it has NA, it's definitely a character variable. You need to convert it to a numeric variable first and then work with it in PROC CORR.</description>
      <pubDate>Tue, 31 Oct 2017 21:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409291#M99978</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-31T21:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc corr on numeric variables gives me error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409341#M99995</link>
      <description>&lt;P&gt;Change your code to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc corr data=mydata;&lt;BR /&gt;var _numeric_;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll see who's missing.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 02:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-corr-on-numeric-variables-gives-me-error/m-p/409341#M99995</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-11-01T02:36:39Z</dc:date>
    </item>
  </channel>
</rss>

