<?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 Accounting for neighboring geospatial values in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Accounting-for-neighboring-geospatial-values-in-SAS/m-p/199592#M10689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I originally asked this question on Stack Overflow/Exchange and was directed here. I don't remember if I posted this already (since the other post is likely in moderation if I did). If this is a double-post I apologize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to model the number of parks in a neighborhood as a function of education, land area (both continuous variables), and poverty perScentage (categorical). There may be other covariates included but for the sake of the question I will exclude them for now. I chose a Poisson model because to my understanding this is the model that is ideal for count data and my data has a lot of sampling zeroes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My unit of analysis for the neighborhood is the census tract. Using ArcGIS, I joined geocoded point information about parks to a census tract shape file, exported this information into SAS, and generated counts. I then ran the following Poisson model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc genmod data = parks;&lt;/P&gt;&lt;P&gt;class povper / descending;&lt;/P&gt;&lt;P&gt;model cnt = povper edu area / link=log dist=poi;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue with this model is that it doesn't take into account the number of parks in neighboring census tracts. I've been reading about possibly creating a spatially lagged dependent variable, but according to this answer, spatial lag and poisson don't necessarily mix. All of the census tracts in my table have x/y coordinates. Does anyone have advice on how I could incorporate the park counts from neighboring census tracts into my model using SAS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 04:10:22 GMT</pubDate>
    <dc:creator>temporarydataset</dc:creator>
    <dc:date>2015-04-20T04:10:22Z</dc:date>
    <item>
      <title>Accounting for neighboring geospatial values in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Accounting-for-neighboring-geospatial-values-in-SAS/m-p/199592#M10689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I originally asked this question on Stack Overflow/Exchange and was directed here. I don't remember if I posted this already (since the other post is likely in moderation if I did). If this is a double-post I apologize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to model the number of parks in a neighborhood as a function of education, land area (both continuous variables), and poverty perScentage (categorical). There may be other covariates included but for the sake of the question I will exclude them for now. I chose a Poisson model because to my understanding this is the model that is ideal for count data and my data has a lot of sampling zeroes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My unit of analysis for the neighborhood is the census tract. Using ArcGIS, I joined geocoded point information about parks to a census tract shape file, exported this information into SAS, and generated counts. I then ran the following Poisson model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc genmod data = parks;&lt;/P&gt;&lt;P&gt;class povper / descending;&lt;/P&gt;&lt;P&gt;model cnt = povper edu area / link=log dist=poi;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue with this model is that it doesn't take into account the number of parks in neighboring census tracts. I've been reading about possibly creating a spatially lagged dependent variable, but according to this answer, spatial lag and poisson don't necessarily mix. All of the census tracts in my table have x/y coordinates. Does anyone have advice on how I could incorporate the park counts from neighboring census tracts into my model using SAS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 04:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Accounting-for-neighboring-geospatial-values-in-SAS/m-p/199592#M10689</guid>
      <dc:creator>temporarydataset</dc:creator>
      <dc:date>2015-04-20T04:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accounting for neighboring geospatial values in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Accounting-for-neighboring-geospatial-values-in-SAS/m-p/199593#M10690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A possibility here would be PROC GLIMMIX, which allows for spatial covariance structures.&amp;nbsp; Check out the thread at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/150416"&gt;https://communities.sas.com/message/150416&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where this is discussed, looking at counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 12:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Accounting-for-neighboring-geospatial-values-in-SAS/m-p/199593#M10690</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-04-21T12:41:00Z</dc:date>
    </item>
  </channel>
</rss>

