<?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: Create weighted percentile calculations in Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789797#M15740</link>
    <description>&lt;P&gt;I am not familiar with computing weighted percentiles in SAS VA, but I don't think Arne's proposal will give the correct estimates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 15:48:56 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2022-01-24T15:48:56Z</dc:date>
    <item>
      <title>Create weighted percentile calculations in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789745#M15737</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Need some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have someone managed to create weighted percentile calculations in Visual Analytics ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, could you please show some examples how to create them ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working with Viya 3.5 and SAS VA 8.5.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jens Öberg, TietoEvry&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 15:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789745#M15737</guid>
      <dc:creator>jens1</dc:creator>
      <dc:date>2022-01-12T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create weighted percentile calculations in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789786#M15738</link>
      <description>&lt;P&gt;read this do-loop entry from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/08/29/weighted-percentiles.html" target="_self"&gt;https://blogs.sas.com/content/iml/2016/08/29/weighted-percentiles.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I follow on that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can only achieve it if you duplicate the observations by their weight.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data public.weight(promote=yes);
input x wt;
datalines;
1    0.25
1.9  0.05
2.2  0.15
3.0  0.25
3.7  0.15
4.1  0.10
5    0.05
;

data public.weight1(promote=yes);
set public.weight;
decimals=input(scan(put(wt,best32.),2,'.'), best32.);
do i=1 to decimals;
output;
end;
drop i;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ok1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67354i73515859F80B511E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ok1.png" alt="ok1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ok2.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67355i15792EE2E590FA17/image-size/large?v=v2&amp;amp;px=999" role="button" title="ok2.png" alt="ok2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 18:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789786#M15738</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-01-12T18:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create weighted percentile calculations in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789797#M15740</link>
      <description>&lt;P&gt;I am not familiar with computing weighted percentiles in SAS VA, but I don't think Arne's proposal will give the correct estimates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 15:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/789797#M15740</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-01-24T15:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create weighted percentile calculations in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/790124#M15742</link>
      <description>&lt;P&gt;Thanks for your answers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be difficult to create the weighted percentile calculations in Visual Analytics. We will try some more, otherwise we have to pre-aggregate the values before landing in VA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 11:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-weighted-percentile-calculations-in-Visual-Analytics/m-p/790124#M15742</guid>
      <dc:creator>jens1</dc:creator>
      <dc:date>2022-01-14T11:53:51Z</dc:date>
    </item>
  </channel>
</rss>

