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;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.
Ready to level-up your skills? Choose your own adventure.