<?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 Error running Spatial Autocorrelation (Moran´s I) in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/error-running-spatial-autocorrelation-moran-s-i/m-p/1348995#M2592</link>
    <description>&lt;P&gt;I am trying to run the Moran´s I, but the ArcMap keeps sending the message in the picture below. I am trying to analyze spatial autocorrelation of some socioeconomic data in neighbourhoods in a city (Belo Horizonte, Brazil). The database is neighbourhood data downloaded from a public database joined with other data I gathered in an Excel spreadsheet. Funny thing is that last week I ran tests with some of the variables and it worked. When I tried to run for real now it is not working. Now even when I download again the original database, the same error appears (and no, I am not checking the report box). The error message is the one below:&lt;/P&gt;&lt;P&gt;Messages Executing: SpatialAutocorrelation Compilados POPULACAO NO_REPORT INVERSE_DISTANCE EUCLIDEAN_DISTANCE NONE # # Start Time: Mon Nov 13 19:41:16 2023 Running script SpatialAutocorrelation... Failed script SpatialAutocorrelation...&lt;/P&gt;&lt;P&gt;Traceback (most recent call last): File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\MoransI.py", line 610, in setupGlobalI() File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\MoransI.py", line 72, in setupGlobalI ssdo = SSDO.SSDataObject(inputFC, useChordal = True) File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\SSDataObject.py", line 321, in init useChordalDistances = self.useChordal) File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\SSUtilities.py", line 3149, in init self.setInfo() File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\SSUtilities.py", line 3175, in setInfo info = distanceUnitInfo[self.name] KeyError: u'M'&lt;/P&gt;&lt;P&gt;Failed to execute (SpatialAutocorrelation). Failed at Mon Nov 13 19:41:16 2023 (Elapsed Time: 0,19 seconds)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error arc.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85877i6CAF435DCB54C47A/image-size/large?v=v2&amp;amp;px=999" role="button" title="error arc.png" alt="error arc.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 23:34:18 GMT</pubDate>
    <dc:creator>BrunoAlzamora</dc:creator>
    <dc:date>2023-11-13T23:34:18Z</dc:date>
    <item>
      <title>Error running Spatial Autocorrelation (Moran´s I)</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-running-spatial-autocorrelation-moran-s-i/m-p/1348995#M2592</link>
      <description>&lt;P&gt;I am trying to run the Moran´s I, but the ArcMap keeps sending the message in the picture below. I am trying to analyze spatial autocorrelation of some socioeconomic data in neighbourhoods in a city (Belo Horizonte, Brazil). The database is neighbourhood data downloaded from a public database joined with other data I gathered in an Excel spreadsheet. Funny thing is that last week I ran tests with some of the variables and it worked. When I tried to run for real now it is not working. Now even when I download again the original database, the same error appears (and no, I am not checking the report box). The error message is the one below:&lt;/P&gt;&lt;P&gt;Messages Executing: SpatialAutocorrelation Compilados POPULACAO NO_REPORT INVERSE_DISTANCE EUCLIDEAN_DISTANCE NONE # # Start Time: Mon Nov 13 19:41:16 2023 Running script SpatialAutocorrelation... Failed script SpatialAutocorrelation...&lt;/P&gt;&lt;P&gt;Traceback (most recent call last): File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\MoransI.py", line 610, in setupGlobalI() File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\MoransI.py", line 72, in setupGlobalI ssdo = SSDO.SSDataObject(inputFC, useChordal = True) File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\SSDataObject.py", line 321, in init useChordalDistances = self.useChordal) File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\SSUtilities.py", line 3149, in init self.setInfo() File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\SSUtilities.py", line 3175, in setInfo info = distanceUnitInfo[self.name] KeyError: u'M'&lt;/P&gt;&lt;P&gt;Failed to execute (SpatialAutocorrelation). Failed at Mon Nov 13 19:41:16 2023 (Elapsed Time: 0,19 seconds)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error arc.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85877i6CAF435DCB54C47A/image-size/large?v=v2&amp;amp;px=999" role="button" title="error arc.png" alt="error arc.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 23:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-running-spatial-autocorrelation-moran-s-i/m-p/1348995#M2592</guid>
      <dc:creator>BrunoAlzamora</dc:creator>
      <dc:date>2023-11-13T23:34:18Z</dc:date>
    </item>
  </channel>
</rss>

