BookmarkSubscribeRSS Feed
2 REPLIES 2
acordes
Rhodochrosite | Level 12

As you ask within the Visual Analytics theme, I would suggest that you cannot do in VA at least without preparing beforehand the density of the distrubution or kernel function you want to display. 

 

This one should get you started, it's a SAS Studio code solution. 

 

pic1.png

 

data kms;
do kms=0 to 200000 by 10000;
output;
end;
run;

/* ods graphics on; */
ods output UnivariateStatistics=lvs;
proc kde data=AS.COST_MATRIX;
where orig='global'; 
format Fecha_Aceptacion year.;
by Cobertura_Elemento;
freq invoice_acum;
univar kms / percentiles unistats  ;
score data=kms out=kms_X;
run;

ods graphics on;
proc sgpanel data=kms_x;
panelby Cobertura_Elemento / rows=3;
series x=value y=density / smoothconnect ;
band x=value lower=0  upper=density / fill  group=Cobertura_Elemento;
run;

 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 2 replies
  • 962 views
  • 5 likes
  • 3 in conversation