<?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: Variable X in list does not match type prescribed for this list in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11641#M1421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carbs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you need to slow down and go back to your first dataset, australiaa.&amp;nbsp; What does the CONTENTS say about the variable "th" (not threembill)?&amp;nbsp; Data set "three" is clearly not the same "australiaa" as it has all different variables.&amp;nbsp; The additional data manipulations could have introduced additional sources of problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 17:24:14 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2011-12-09T17:24:14Z</dc:date>
    <item>
      <title>Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11635#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;Hi,&lt;/P&gt;&lt;P class="cambria"&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;While running the following code, I get the error above:&lt;/P&gt;&lt;P class="cambria"&gt;&lt;/P&gt;&lt;P class="cambria"&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;STRONG style="color: navy;"&gt;proc reg&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=australiaa &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;outest&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=Coef1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: blue;"&gt;model=&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;SMB_Dom = vrp termspread defaultspread th ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;STRONG style="color: navy;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cambria"&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;the log text looks like this:&lt;/P&gt;&lt;P class="cambria"&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;1142 proc reg data=australiaa outest=Coef1;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;1143 model SMB_Dom = vrp termspread defaultspread th ;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;STRONG style="mso-bidi-font-weight: normal;"&gt;ERROR: Variable th in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;NOTE: The previous statement has been deleted.&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;1144 run;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;WARNING: No variables specified for an SSCP matrix. Execution terminating.&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;NOTE: PROCEDURE REG used (Total process time):&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;real time 0.00 seconds&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;NOTE: The data set WORK.COEF1 has 0 observations and 4 variables&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: &amp;amp;quot;Courier New&amp;amp;quot;; mso-bidi-font-family: Arial;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: &amp;amp;quot;Courier New&amp;amp;quot;; mso-bidi-font-family: Arial;"&gt;﻿&lt;/SPAN&gt;Do I understand correctly that the error seems to come because the variable th is not numeric/continuous? I imported it from excel and formatted the cell to be in numeric values so I don't understand what's the problem.. I'd appreciate if someone had the time to help?&lt;/P&gt;&lt;P class="cambria" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: &amp;amp;quot;Courier New&amp;amp;quot;; mso-bidi-font-family: Arial;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11635#M1415</guid>
      <dc:creator>carbs</dc:creator>
      <dc:date>2011-12-09T15:30:22Z</dc:date>
    </item>
    <item>
      <title>Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11636#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just because you formatted the column in Excel as numeric does not mean that SAS will treat it that way.&amp;nbsp; SAS actually looks at the data in the spreadsheet and makes its best guess.&amp;nbsp; Run a PROC CONTENTS on the data to see what SAS thinks it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can override the guess, but we need to know the tool you are using to offer suggestions.&amp;nbsp; IMHO, SAS Enterprise Guide offers the most flexibility for importing Excel files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:38:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11636#M1416</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-12-09T15:38:48Z</dc:date>
    </item>
    <item>
      <title>Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11637#M1417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you import it.&amp;nbsp; Does TH have a lot of missing values?&lt;/P&gt;&lt;P&gt;If you are using PROC IMPORT try increasing the value of the guessingrows option so that it looks at more records before deciding the variable type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you could just fix it with a data step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set old (rename=(th = th_char)) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; th = input(th_char,best.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11637#M1417</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-12-09T15:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11638#M1418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the import wizard.. There are no missing values in th at all. It's an excel file so I guess the guessing part isn't relevant here? I'll try the data step you mentioned, let's see if I can get it working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11638#M1418</guid>
      <dc:creator>carbs</dc:creator>
      <dc:date>2011-12-09T15:48:29Z</dc:date>
    </item>
    <item>
      <title>Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11639#M1419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The guessing part is relevant to Excel files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you say there is no missing data, there is a good chance that some of your numeric input is, in fact, a characterr string.&amp;nbsp; For instance, a leading blank makes a number read as character but you may not be able to see it in just "looking" at the spreadsheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 16:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11639#M1419</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-12-09T16:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11640#M1420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changed the guessing rows from 20-&amp;gt;200 and ran the codes again, no change... Used also the following datastep:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; color: #000080; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; three2;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; three (rename=(threembill = threembill_char)) ;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp; threembill = input(threembill_char,&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 10pt;"&gt;best.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So the data three is the old data containing the variable th (here marked as threembill). This step simply generates a file of three2, that has 3 variables, date, and 2*threembill? why did it duplicate the variable? Well, I ran the contents code and it looks like this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;﻿&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;﻿&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;The CONTENTS Procedure&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Alphabetic List of Variables and Attributes&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;#&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Variable&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Type&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Len&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Format&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Informat&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Label&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Date&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Char&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;7&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;$7.&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;$7.&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;3&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;threembill&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Num&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;8&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: 'SAS Monospace'; SAS Monospace&amp;amp;quot: ; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;2&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;threembill_char&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Num&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;8&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;threembill&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="mso-bidi-font-family: 'SAS Monospace'; color: #000000; font-size: 8pt; font-family: &amp;amp;quot;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;So it seems the variable was a numeric one in the first place but the regression didn't work for some other reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; color: #000080; font-size: 10pt;"&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 16:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11640#M1420</guid>
      <dc:creator>carbs</dc:creator>
      <dc:date>2011-12-09T16:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11641#M1421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carbs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you need to slow down and go back to your first dataset, australiaa.&amp;nbsp; What does the CONTENTS say about the variable "th" (not threembill)?&amp;nbsp; Data set "three" is clearly not the same "australiaa" as it has all different variables.&amp;nbsp; The additional data manipulations could have introduced additional sources of problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 17:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11641#M1421</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-12-09T17:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable X in list does not match type prescribed for this list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11642#M1422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Solved the problem using the datastep Tom mentioned. I had also made a mistake in the code I had written earlier, which was part of the reason why the regression didn't work. Thanks for all your help, I'm still a beginner in using sas and don't know how thingsworks yet &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 18:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variable-X-in-list-does-not-match-type-prescribed-for-this-list/m-p/11642#M1422</guid>
      <dc:creator>carbs</dc:creator>
      <dc:date>2011-12-09T18:00:58Z</dc:date>
    </item>
  </channel>
</rss>

