<?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: Using Proc mixed (or other regression) for inverse distance weighting using latitude and longitu in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-Proc-mixed-or-other-regression-for-inverse-distance/m-p/658412#M197343</link>
    <description>&lt;P&gt;First, translate your lat-long coordinates into X-Y coordinates, such as UTMX and UTMY, so that both are expressed in the same units. Then ask proc mixed to fit a spatial covariance structure to your data with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;random intercept / type=sp(pow)(utmx utmy);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also consider &lt;STRONG&gt;type=sp(sph)(utmx utmy)&lt;/STRONG&gt; or &lt;STRONG&gt;type=sp(exp)(utmx utmy), &lt;/STRONG&gt;(the choice will probably not matter much).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hth&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jun 2020 21:36:29 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2020-06-14T21:36:29Z</dc:date>
    <item>
      <title>Using Proc mixed (or other regression) for inverse distance weighting using latitude and longitude</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proc-mixed-or-other-regression-for-inverse-distance/m-p/658339#M197308</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have household pollution data. I want to build a prediction model based on household variables to predict household PM2.5( particulate matter). However, houses close by are more likely to have similar exposure compared to houses further away. So, I'd like to adjust the prediction model for the inverse of the physical distance. I have latitude-longitude data for each household.&amp;nbsp; Can inverse distance weighting be done in Proc mixed?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 09:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proc-mixed-or-other-regression-for-inverse-distance/m-p/658339#M197308</guid>
      <dc:creator>Talat</dc:creator>
      <dc:date>2020-06-14T09:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proc mixed (or other regression) for inverse distance weighting using latitude and longitu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Proc-mixed-or-other-regression-for-inverse-distance/m-p/658412#M197343</link>
      <description>&lt;P&gt;First, translate your lat-long coordinates into X-Y coordinates, such as UTMX and UTMY, so that both are expressed in the same units. Then ask proc mixed to fit a spatial covariance structure to your data with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;random intercept / type=sp(pow)(utmx utmy);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also consider &lt;STRONG&gt;type=sp(sph)(utmx utmy)&lt;/STRONG&gt; or &lt;STRONG&gt;type=sp(exp)(utmx utmy), &lt;/STRONG&gt;(the choice will probably not matter much).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hth&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 21:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Proc-mixed-or-other-regression-for-inverse-distance/m-p/658412#M197343</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-06-14T21:36:29Z</dc:date>
    </item>
  </channel>
</rss>

