hi i use the proc npar1way with the edf option to produce the KS statistic.
My aim is using KS to understand if sample (smp) is different from the population (pop).
When i run the proc npar1way i get the below KS :
Kolmogorov-Smirnov Two-Sample Test | |||
(Asymptotic) | |||
KS | 0.066667 | D | 0.133333 |
KSa | 0.516398 | Pr > KSa | 0.9525 |
My question is: is there any easy way to estimate KS manually in SAS in order to understand better the above outcome?
data final; set smp (obs=30) pop (obs=30); run; proc sort data=final; by application_score; run; ods graphics on; proc npar1way edf plots=edfplot data=final; class source; var application_score; /*exact ks;*/ run; ods graphics off;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.