Need some help.
Have someone managed to create weighted percentile calculations in Visual Analytics ?
If so, could you please show some examples how to create them ?
We are working with Viya 3.5 and SAS VA 8.5.1.
Jens Öberg, TietoEvry
read this do-loop entry from @Rick_SAS
I follow on that.
I think you can only achieve it if you duplicate the observations by their weight.
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;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.