<?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>idea Summary Statistic Tool - Weighted average in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idi-p/964836</link>
    <description>&lt;P&gt;Give us the possibility in the summary statistics tool to calculate weighted averages, where the weights are taken from another field. Currently the tool only allows to calculate simple averages (among other statistics like min, max, mean etc.). The corresponding statistics tool in ArcInfo Workstation allows calculation of weighted averages since the beginning, so I am wondering why the summary statistics tool is lacking such option.&lt;/P&gt;&lt;!--   content transformation source ID: 087E00000005B0d   --&gt;</description>
    <pubDate>Thu, 25 Feb 2021 16:16:43 GMT</pubDate>
    <dc:creator>CarstenSchuermann</dc:creator>
    <dc:date>2021-02-25T16:16:43Z</dc:date>
    <item>
      <title>Summary Statistic Tool - Weighted average</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idi-p/964836</link>
      <description>&lt;P&gt;Give us the possibility in the summary statistics tool to calculate weighted averages, where the weights are taken from another field. Currently the tool only allows to calculate simple averages (among other statistics like min, max, mean etc.). The corresponding statistics tool in ArcInfo Workstation allows calculation of weighted averages since the beginning, so I am wondering why the summary statistics tool is lacking such option.&lt;/P&gt;&lt;!--   content transformation source ID: 087E00000005B0d   --&gt;</description>
      <pubDate>Thu, 25 Feb 2021 16:16:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idi-p/964836</guid>
      <dc:creator>CarstenSchuermann</dc:creator>
      <dc:date>2021-02-25T16:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistic Tool - Weighted average</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/964837#M8488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, here's a good idea that has seen no activity. Yes, a weighted average calculator would be great...and specifically an area-weighted average would be a nice touch. so how about...&lt;/P&gt;&lt;P&gt;- weighted average&lt;/P&gt;&lt;P&gt;- area-weighted average&lt;/P&gt;&lt;P&gt;- most frequent occurrence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make summary statistics as expansive and useful as possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 19:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/964837#M8488</guid>
      <dc:creator>DavidJames</dc:creator>
      <dc:date>2020-08-25T19:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistic Tool - Weighted average</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1246940#M22761</link>
      <description>&lt;P&gt;Add the option to use sample or population weights in Summarize Within, Summary Statistics, Multivariate Clustering, and other statistical tools.&lt;/P&gt;&lt;P&gt;Context:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My team has been tasked with producing a number of accessibility metrics for client governments. We've done that using custom friction surfaces, and we've extracted those to population and survey points.&amp;nbsp; The intent is to aggregate these to an admin level because that's where decisions will be made, and budgets allocated. The statistics toolbox (Summarize within and summary stats) and spatial statistics tools do not include the option to apply population or sample weights.&amp;nbsp; This means that we'll have to do spatial joins/intersect to tack on the admin boundary data to the points, then export to CSVs, ship it to economists to collapse in STATA, then they ship it back to us to link up with the Admin boundaries to display and merge with other variables at the ADM level to continue analysis or display.&amp;nbsp; ArcGIS is first and foremost a &lt;I&gt;spatial&lt;/I&gt;&amp;nbsp;software, but it does include many straight statistics functions, hence all the lovely options in the Summary Stats and summarize within tools.&amp;nbsp; The use of weights in statistics is a critical function thereof and it would be great to be able to do that directly in ArcPro so we can better leverage ArcPy and ArcNotebooks.&amp;nbsp; I can see a number of business clients also seeking to use weights in their analytics (Business Analyst does this a little bit) and the lack of weighted statistical function is a pretty sizeable hole in the statistical modernization/census context.&amp;nbsp; If this functionality were available, I can certainly see the need (and in fact we're bouncing around it) for the use of both spatial &lt;I&gt;and&lt;/I&gt;&amp;nbsp;population weights simultaneously.&amp;nbsp; We just have to do those things separately at the moment in a very clunky manner&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 18:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1246940#M22761</guid>
      <dc:creator>WalkerKosmidou-Bradley</dc:creator>
      <dc:date>2023-01-10T18:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistic Tool - Weighted average - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1369050#M27972</link>
      <description />
      <pubDate>Thu, 11 Jan 2024 17:50:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1369050#M27972</guid>
      <dc:creator>MargaretCrawford</dc:creator>
      <dc:date>2024-01-11T17:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistic Tool - Weighted average</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1405468#M29219</link>
      <description>&lt;P&gt;Has there been any progress on providing a tool for area-weighting (or other weighting options).&amp;nbsp; It is really ridiculous that such a tool is apparently not yet available in ArcGIS PRO.&amp;nbsp; If such functionality has been added, could you point me to it.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 20:54:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1405468#M29219</guid>
      <dc:creator>DennisSwaney</dc:creator>
      <dc:date>2024-04-03T20:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistic Tool - Weighted average</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1405545#M29220</link>
      <description>&lt;P&gt;FYI, as a plan B, you can calculate a weighted average in a database view or a query layer using SQL:&lt;/P&gt;&lt;P&gt;&lt;A href="https://dba.stackexchange.com/a/189236/100880" target="_blank" rel="noopener"&gt;https://dba.stackexchange.com/a/189236/100880&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;select&lt;/SPAN&gt;
    road_id,
    to_char(trunc( insp_date), &lt;SPAN class=""&gt;'YYYY-MM-DD'&lt;/SPAN&gt;) &lt;SPAN class=""&gt;as&lt;/SPAN&gt; insp_day,
    &lt;SPAN class=""&gt;avg&lt;/SPAN&gt;(&lt;SPAN class=""&gt;condition&lt;/SPAN&gt;) condition_avg,
    &lt;SPAN class=""&gt;sum&lt;/SPAN&gt;(insp_length) insp_length_tot,
    &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;round(&lt;SPAN class=""&gt;sum&lt;/SPAN&gt;(&lt;SPAN class=""&gt;condition&lt;/SPAN&gt; &lt;SPAN class=""&gt;*&lt;/SPAN&gt; insp_length) &lt;SPAN class=""&gt;/&lt;/SPAN&gt; &lt;SPAN class=""&gt;sum&lt;/SPAN&gt;(insp_length), &lt;SPAN class=""&gt;2&lt;/SPAN&gt;) &lt;SPAN class=""&gt;as&lt;/SPAN&gt; CONDITION_WEIGHTED_AV&lt;/STRONG&gt;&lt;/FONT&gt;G 
&lt;SPAN class=""&gt;from&lt;/SPAN&gt;
    road_insp
&lt;SPAN class=""&gt;group&lt;/SPAN&gt; &lt;SPAN class=""&gt;by&lt;/SPAN&gt;
    road_id,
    trunc(insp_date)
&lt;SPAN class=""&gt;order&lt;/SPAN&gt; &lt;SPAN class=""&gt;by&lt;/SPAN&gt;
    road_id,
    trunc( insp_date);

   ROAD_ID INSP_DAY   CONDITION_AVG INSP_LENGTH_TOT CONDITION_WEIGHTED_AVG
&lt;SPAN class=""&gt;---------- ---------- ------------- --------------- ----------------------&lt;/SPAN&gt;
       &lt;SPAN class=""&gt;100&lt;/SPAN&gt; &lt;SPAN class=""&gt;2017&lt;/SPAN&gt;&lt;SPAN class=""&gt;-01&lt;/SPAN&gt;&lt;SPAN class=""&gt;-01&lt;/SPAN&gt;             &lt;SPAN class=""&gt;5&lt;/SPAN&gt;             &lt;SPAN class=""&gt;100&lt;/SPAN&gt;                      &lt;SPAN class=""&gt;5&lt;/SPAN&gt;
       &lt;SPAN class=""&gt;101&lt;/SPAN&gt; &lt;SPAN class=""&gt;2017&lt;/SPAN&gt;&lt;SPAN class=""&gt;-02&lt;/SPAN&gt;&lt;SPAN class=""&gt;-01&lt;/SPAN&gt;          &lt;SPAN class=""&gt;5.75&lt;/SPAN&gt;            &lt;SPAN class=""&gt;1500&lt;/SPAN&gt;                   &lt;SPAN class=""&gt;5.83&lt;/SPAN&gt;
       &lt;SPAN class=""&gt;102&lt;/SPAN&gt; &lt;SPAN class=""&gt;2018&lt;/SPAN&gt;&lt;SPAN class=""&gt;-04&lt;/SPAN&gt;&lt;SPAN class=""&gt;-01&lt;/SPAN&gt;             &lt;SPAN class=""&gt;7&lt;/SPAN&gt;            &lt;SPAN class=""&gt;6000&lt;/SPAN&gt;                   &lt;SPAN class=""&gt;7.08&lt;/SPAN&gt;
       &lt;SPAN class=""&gt;103&lt;/SPAN&gt; &lt;SPAN class=""&gt;2018&lt;/SPAN&gt;&lt;SPAN class=""&gt;-07&lt;/SPAN&gt;&lt;SPAN class=""&gt;-01&lt;/SPAN&gt;          &lt;SPAN class=""&gt;8.25&lt;/SPAN&gt;            &lt;SPAN class=""&gt;6500&lt;/SPAN&gt;                   &lt;SPAN class=""&gt;8.27&lt;/SPAN&gt;
       &lt;SPAN class=""&gt;103&lt;/SPAN&gt; &lt;SPAN class=""&gt;2019&lt;/SPAN&gt;&lt;SPAN class=""&gt;-09&lt;/SPAN&gt;&lt;SPAN class=""&gt;-01&lt;/SPAN&gt;          &lt;SPAN class=""&gt;9.25&lt;/SPAN&gt;            &lt;SPAN class=""&gt;8500&lt;/SPAN&gt;                   &lt;SPAN class=""&gt;9.26&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;As always, be very careful with nulls:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.oracle.com/ords/apexds/post/tips-about-nulls-in-sql-8847" target="_self"&gt;Tips about nulls in SQL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And I have a different idea here that might interest people who use Summary Statistics:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/summary-statistics-tie-fields-to-a-primary-field/idi-p/1370128" target="_self"&gt;Summary Statistics — Tie fields to a primary field&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 10:46:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistic-tool-weighted-average/idc-p/1405545#M29220</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-04-04T10:46:36Z</dc:date>
    </item>
  </channel>
</rss>

