<?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 SPATIALREG error with SPATIALID in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716915#M27472</link>
    <description>&lt;P&gt;COL1.&amp;nbsp; Columns 2-50 are labeled COL1-COL49, respectively.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 20:56:37 GMT</pubDate>
    <dc:creator>phdibart</dc:creator>
    <dc:date>2021-02-04T20:56:37Z</dc:date>
    <item>
      <title>PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716880#M27464</link>
      <description>&lt;P&gt;I'm trying to run a spatial regression with PROC SPATIALREG with a SPATIALID statement, but I keep getting the following error.&lt;/P&gt;&lt;P&gt;ERROR: The column 2 of data set WORK.A does not have a valid column name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset A to which the error refers is a 49x50 spatial weight matrix for 49 states with a spatial ID for each state as the first variable.&amp;nbsp; The ID variable name is state_num in column 1, and all subsequent columns are labeled COL1...COL49.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 19:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716880#M27464</guid>
      <dc:creator>phdibart</dc:creator>
      <dc:date>2021-02-04T19:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716908#M27469</link>
      <description>&lt;P&gt;Please show the log containing not only the error messages, but the code you used.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716908#M27469</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-02-04T20:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716911#M27470</link>
      <description>&lt;P&gt;My apologies.&amp;nbsp; Here it is.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;513 proc spatialreg
514 data = f wmat = a nonormalize;
515 model propa_bla = prop_bla aff_general aff_bla avgdma /type = sar;
516 spatialid state_num;
517 quit;

ERROR: The column 2 of data set WORK.A does not have a valid column name.
ERROR: This model cannot be fit.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716911#M27470</guid>
      <dc:creator>phdibart</dc:creator>
      <dc:date>2021-02-04T20:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716914#M27471</link>
      <description>ERROR: The column 2 of data set WORK.A does not have a valid column name.&lt;BR /&gt;What's the column name of the second column in the data set A?</description>
      <pubDate>Thu, 04 Feb 2021 20:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716914#M27471</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-04T20:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716915#M27472</link>
      <description>&lt;P&gt;COL1.&amp;nbsp; Columns 2-50 are labeled COL1-COL49, respectively.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716915#M27472</guid>
      <dc:creator>phdibart</dc:creator>
      <dc:date>2021-02-04T20:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716919#M27473</link>
      <description>And the values in the first column are then called COL1-COL49 for alignment?</description>
      <pubDate>Thu, 04 Feb 2021 21:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716919#M27473</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-04T21:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716920#M27474</link>
      <description>&lt;P&gt;They need to match per the documentation. So if you're using StateNumbers as Column1 the weights need to align so the matrix shows how State1 maps to State5 and it doesn't know that Column5 is actually State5 if the names are not identical.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Page 2377 here&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/ets/142/spatialreg.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/ets/142/spatialreg.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 21:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716920#M27474</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-04T21:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SPATIALREG error with SPATIALID</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716922#M27475</link>
      <description>&lt;P&gt;I completely missed that when I looked through that document earlier.&amp;nbsp; So I either need to rename the columns to match the state numbers or rename the state numbers to match COL1-COL49.&amp;nbsp; I'm going to try that now.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 21:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SPATIALREG-error-with-SPATIALID/m-p/716922#M27475</guid>
      <dc:creator>phdibart</dc:creator>
      <dc:date>2021-02-04T21:31:26Z</dc:date>
    </item>
  </channel>
</rss>

