<?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 Spatial Weights Matrix in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-matrix/m-p/726805#M2301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to generate a spatial weights matrix with individual level data.&amp;nbsp; However, none of the default options (to my knowledge) correctly capture the conception of a neighborhood that I am trying to use.&amp;nbsp; Specifically, I'd like to define each individual's neighborhood as their census tract (all individuals within each observation's tract gets a 1, all individuals not in the observation's tract get a zero--though it would be nice to also approximate the matrix using inverse distance, with a distance band equal to the tract boundary).&amp;nbsp; I have a separate shapefile with the tract boundaries, as well as a column in my attribute table for the individual level data specifying the tract that each observation is in.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2011 16:19:45 GMT</pubDate>
    <dc:creator>MollyCohn</dc:creator>
    <dc:date>2011-03-14T16:19:45Z</dc:date>
    <item>
      <title>Spatial Weights Matrix</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-matrix/m-p/726805#M2301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to generate a spatial weights matrix with individual level data.&amp;nbsp; However, none of the default options (to my knowledge) correctly capture the conception of a neighborhood that I am trying to use.&amp;nbsp; Specifically, I'd like to define each individual's neighborhood as their census tract (all individuals within each observation's tract gets a 1, all individuals not in the observation's tract get a zero--though it would be nice to also approximate the matrix using inverse distance, with a distance band equal to the tract boundary).&amp;nbsp; I have a separate shapefile with the tract boundaries, as well as a column in my attribute table for the individual level data specifying the tract that each observation is in.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 16:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-matrix/m-p/726805#M2301</guid>
      <dc:creator>MollyCohn</dc:creator>
      <dc:date>2011-03-14T16:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Weights Matrix</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-matrix/m-p/726806#M2302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello mjcohn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are quite right that we do NOT currently have an option for what you are looking for.&amp;nbsp; We are going to be coming out with a Group Similar Features Tool in the next release that will perform traditional and spatially constrained clustering based on kmeans and minimum spanning tree algorithms... the output from this tool will provide groups that, like yours, would be great to place as input for spatial weights.&amp;nbsp; In short, we have discussed this, but it is not on our current dev plans.&amp;nbsp; If you know Python, you could construct a text based weights file and use it as input into the Spatial Weights Tool (as dbf).. or directly as input as a GWT type file.&amp;nbsp; The format would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UniqueIDFieldName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UniqueID NeighborID Weight (In your case, always a one)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMO, that would be your quickest solution.&amp;nbsp; Ill talk with the rest of the SS crew and perhaps we will have what you are asking as a sample... or perhaps in a future release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 22:18:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-matrix/m-p/726806#M2302</guid>
      <dc:creator>MarkJanikas</dc:creator>
      <dc:date>2011-03-21T22:18:45Z</dc:date>
    </item>
  </channel>
</rss>

