<?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 Variable in list does not match type prescribed for this list. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/278461#M58897</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I tried to run the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;means&lt;/STRONG&gt; data=sasuser.sasfile190616;&lt;/P&gt;&lt;P&gt;var TAssets Sales FDtotalFF IDtotalFF ODtotalFF FDtotalFNF IDtotalFNF ODtotalFNF Firmdefi FOWNFF FINFF OTHERFF FOWNFNF FINFNF OTHERFNF ROA Q SalesGro RDSales LTassets LN(Assets) NIAssets CAPAXS LTSTEquity Divsales Marexpsales FirmAgeissue Beta;&lt;/P&gt;&lt;P&gt;class FIRMDEFI;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And got the following errors (more than that, but all of them with the same reason):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable FDtotalFNF in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable IDtotalFNF in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable ODtotalFNF in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These variables are numeric but&amp;nbsp;have a lot of missing values because each of this variable&amp;nbsp;describe only one class out of 3.&lt;/P&gt;&lt;P&gt;What I have to do in order to get the proc means&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks a lot!&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Jun 2016 08:24:27 GMT</pubDate>
    <dc:creator>yael</dc:creator>
    <dc:date>2016-06-19T08:24:27Z</dc:date>
    <item>
      <title>Variable in list does not match type prescribed for this list.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/278461#M58897</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I tried to run the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;means&lt;/STRONG&gt; data=sasuser.sasfile190616;&lt;/P&gt;&lt;P&gt;var TAssets Sales FDtotalFF IDtotalFF ODtotalFF FDtotalFNF IDtotalFNF ODtotalFNF Firmdefi FOWNFF FINFF OTHERFF FOWNFNF FINFNF OTHERFNF ROA Q SalesGro RDSales LTassets LN(Assets) NIAssets CAPAXS LTSTEquity Divsales Marexpsales FirmAgeissue Beta;&lt;/P&gt;&lt;P&gt;class FIRMDEFI;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And got the following errors (more than that, but all of them with the same reason):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable FDtotalFNF in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable IDtotalFNF in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable ODtotalFNF in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These variables are numeric but&amp;nbsp;have a lot of missing values because each of this variable&amp;nbsp;describe only one class out of 3.&lt;/P&gt;&lt;P&gt;What I have to do in order to get the proc means&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks a lot!&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jun 2016 08:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/278461#M58897</guid>
      <dc:creator>yael</dc:creator>
      <dc:date>2016-06-19T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in list does not match type prescribed for this list.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/278464#M58899</link>
      <description>&lt;P&gt;The log is telling you they are not numeric. Run a proc contents and verify this. Convert them into numeric variables then use proc means.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jun 2016 09:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/278464#M58899</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-19T09:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in list does not match type prescribed for this list.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/307672#M61119</link>
      <description>&lt;P&gt;I'm having the same isssue. I've checked my data that's stored in excel and the header is text (the variable I'm interested in) and the samples are stored as numbers but SAS still states the same issue as discussed above.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 15:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/307672#M61119</guid>
      <dc:creator>KTstarter</dc:creator>
      <dc:date>2016-10-27T15:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in list does not match type prescribed for this list.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/307849#M61133</link>
      <description>&lt;P&gt;Deae &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99029"&gt;@KTstarter﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did as they mentioned above, it means that my code was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc contents data=sasuser.yael1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that variables that I thought and also looked like numbers were actually text. I really do not know why it happened, but I changed it in excel to numbers and copied again to SAS as numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it will helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 06:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-in-list-does-not-match-type-prescribed-for-this-list/m-p/307849#M61133</guid>
      <dc:creator>yael</dc:creator>
      <dc:date>2016-10-28T06:56:04Z</dc:date>
    </item>
  </channel>
</rss>

