<?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 How is the overall R2 reported in GWR being calculated? in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18268#M62</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't seem to find this anywhere. How is the R2 in the output report generated? It's not the mean/median or other statistic describing the range of local R2s that GWR produces. How can you report a single R2 for GWR? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help with this, and sorry if it's somewhere obvious, just can't seem to find it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 20:37:03 GMT</pubDate>
    <dc:creator>EleanorSetton</dc:creator>
    <dc:date>2011-06-30T20:37:03Z</dc:date>
    <item>
      <title>How is the overall R2 reported in GWR being calculated?</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18268#M62</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't seem to find this anywhere. How is the R2 in the output report generated? It's not the mean/median or other statistic describing the range of local R2s that GWR produces. How can you report a single R2 for GWR? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help with this, and sorry if it's somewhere obvious, just can't seem to find it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 20:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18268#M62</guid>
      <dc:creator>EleanorSetton</dc:creator>
      <dc:date>2011-06-30T20:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: How is the overall R2 reported in GWR being calculated?</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18269#M63</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a ratio of something.&amp;nbsp; The overall value frequently comes out as being higher than the max local R2, so it would be great to have a bit more information as to how it is calculated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2011 19:59:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18269#M63</guid>
      <dc:creator>BethanyPratt</dc:creator>
      <dc:date>2011-07-09T19:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How is the overall R2 reported in GWR being calculated?</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18270#M64</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Bethany and elsetton, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a really good question!!&amp;nbsp; The answer is actually pretty simple.&amp;nbsp; The overall R2 value for GWR is calculated the exact same way that it is calculated in OLS...essentially it's the proportion of the variability explained by the model.&amp;nbsp; For both it is 1 - (Σ(predicted-observed)²/Σ(observed-mean of all observed)²).&amp;nbsp; In other words, its 1 minus the variance of the residuals divided by the variance of the input data.&amp;nbsp; In both OLS and GWR, the residuals are the predicted minus the observed, so it follows that you would expect OLS and GWR to have different R-squared values because those predicted values are calculated using different methods.&amp;nbsp; So, its the same as OLS, the only difference is what values are being used for the predictions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is probably way more than you wanted to know, but hopefully it helps!&amp;nbsp; Let me know if you need any more details.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lauren Rosenshein&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocessing Product Engineer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 23:38:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18270#M64</guid>
      <dc:creator>LaurenRosenshein</dc:creator>
      <dc:date>2011-07-26T23:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: How is the overall R2 reported in GWR being calculated?</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18271#M65</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still not quite clear...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you pooling the residuals from all the local models?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 20:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18271#M65</guid>
      <dc:creator>EleanorSetton</dc:creator>
      <dc:date>2011-08-18T20:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How is the overall R2 reported in GWR being calculated?</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18272#M66</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Eleanor, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure I understand what you mean by "pooling the residuals" from the local models, but I'll try to clarify.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, both OLS and GWR ultimately calculate a prediction for each feature in the dataset.&amp;nbsp; For OLS that prediction is based on a global model.&amp;nbsp; For GWR that prediction is based on a local model that was calibrated using nearby features.&amp;nbsp; Either way, each feature ends up with a predicted value.&amp;nbsp; The residuals, whether you are talking about OLS or GWR, are just the difference between that predicted value and the observed value. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you have those residuals, calculating the R2 value is exactly the same for both methods.&amp;nbsp; The only difference is whether the predicted value was calculated using a global model (OLS) or a local model (GWR).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 22:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18272#M66</guid>
      <dc:creator>LaurenRosenshein</dc:creator>
      <dc:date>2011-08-18T22:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How is the overall R2 reported in GWR being calculated?</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18273#M67</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That makes sense now - was confused about how the local model residuals were being used - I see that they are not!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 15:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/how-is-the-overall-r2-reported-in-gwr-being/m-p/18273#M67</guid>
      <dc:creator>EleanorSetton</dc:creator>
      <dc:date>2011-08-19T15:07:47Z</dc:date>
    </item>
  </channel>
</rss>

