<?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: Two problems with the Summarize Within Output in ArcGIS Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642822#M98293</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/572892"&gt;@Seyed-MahdySadraddini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to add to Dan's post&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Zonal Statistics and Summarize Within treat 0 as a valid numeric value unless explicitly excluded. This can skew your mean and standard deviation if represents missing or irrelevant data.&lt;/P&gt;&lt;P&gt;How to Exclude Zeros&lt;/P&gt;&lt;P&gt;Use the SetNull function in Python or Raster Calculator to convert zero values to NoData before running your analysis:&lt;/P&gt;&lt;P&gt;SetNull("your_raster" == 0, "your_raster")&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-spatial-analyst-questions/zonal-statistics-as-table-exclude-values/td-p/304652" target="_blank"&gt;Solved: Zonal Statistics as Table - exclude values? - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Standard Deviation Defaults to Sample Formula&lt;BR /&gt;ArcGIS tools like Summarize Within and Calculate Field use the sample standard deviation formula by default:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;• Sample SD divides by n - 1&lt;BR /&gt;• Population SD divides by N&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is confirmed by users who manually recalculated both and found that ArcGIS matched the sample formula. The rationale is that most spatial analyses assume you're working with a sample of a larger population, not the full population.&lt;/P&gt;&lt;P&gt;I hope this to understand this further.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Aug 2025 11:55:01 GMT</pubDate>
    <dc:creator>DanielFox1</dc:creator>
    <dc:date>2025-08-18T11:55:01Z</dc:date>
    <item>
      <title>Two problems with the Summarize Within Output in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642573#M98276</link>
      <description>&lt;P&gt;I was checking the outputs of the standard deviation from the tool as they did not make sense to me.&lt;/P&gt;&lt;P&gt;I realized there are two problems with the outputs:&lt;/P&gt;&lt;P&gt;1. This is a lesser problem which may or may not be desirable depending on your analysis. The calculated mean value treat "0" as a valid number. In my case this is not desirable. So, I should have excluded the features with value 0 from my dataset prior to running the tool on my fc.&lt;/P&gt;&lt;P&gt;2. This is a bigger problem and it is either desirable or not depending on whether your data points are samples, or the entire population! I calculated the standard deviation by hand using both sample and population formulas. I realized that the tool is calculating the sample standard deviation whereas I want the population standard deviation. So, in this case I will have to extend the tool in python to calculate the correct mean and standard deviation for my data points.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 20:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642573#M98276</guid>
      <dc:creator>Seyed-MahdySadraddini</dc:creator>
      <dc:date>2025-08-15T20:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Two problems with the Summarize Within Output in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642631#M98278</link>
      <description>&lt;P&gt;regarding your observations&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;yes 0 is a valid observation in any measurement scale, convert 0 to nodata (aka, null).&amp;nbsp; This isn't unique to gis)&lt;/LI&gt;&lt;LI&gt;to confirm standard deviation calculations, simply add the other statistics to derive it (sum, count, mean) and use standard formula to do a field calculation (&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Standard_deviation" target="_blank"&gt;Standard deviation - Wikipedia&lt;/A&gt;&amp;nbsp;)&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 15 Aug 2025 21:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642631#M98278</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-08-15T21:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Two problems with the Summarize Within Output in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642822#M98293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/572892"&gt;@Seyed-MahdySadraddini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to add to Dan's post&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Zonal Statistics and Summarize Within treat 0 as a valid numeric value unless explicitly excluded. This can skew your mean and standard deviation if represents missing or irrelevant data.&lt;/P&gt;&lt;P&gt;How to Exclude Zeros&lt;/P&gt;&lt;P&gt;Use the SetNull function in Python or Raster Calculator to convert zero values to NoData before running your analysis:&lt;/P&gt;&lt;P&gt;SetNull("your_raster" == 0, "your_raster")&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-spatial-analyst-questions/zonal-statistics-as-table-exclude-values/td-p/304652" target="_blank"&gt;Solved: Zonal Statistics as Table - exclude values? - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Standard Deviation Defaults to Sample Formula&lt;BR /&gt;ArcGIS tools like Summarize Within and Calculate Field use the sample standard deviation formula by default:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;• Sample SD divides by n - 1&lt;BR /&gt;• Population SD divides by N&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is confirmed by users who manually recalculated both and found that ArcGIS matched the sample formula. The rationale is that most spatial analyses assume you're working with a sample of a larger population, not the full population.&lt;/P&gt;&lt;P&gt;I hope this to understand this further.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 11:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/two-problems-with-the-summarize-within-output-in/m-p/1642822#M98293</guid>
      <dc:creator>DanielFox1</dc:creator>
      <dc:date>2025-08-18T11:55:01Z</dc:date>
    </item>
  </channel>
</rss>

