i use the proc npar1way to estimate the Kolmogorov-Smirnov for testing two samples
I follow the below site in order to complete the KS test
Two Sample Kolmogorov-Smirnov Test | Real Statistics Using Excel (real-statistics.com)
Based on the above site i need to estimate the critical value for KS which is not produced from npar1way
The below is from the site above and shows how we can estimate the critical value
My question is : is there any procedure in SAS which can estimate it? if not, could someone help to estimate it?
Dm,n,a = c(a) * sqrt(m+n)/(mn)
PROC NPAR1WAY as far as I know doesn't provide critical values (most — maybe all — PROCs in SAS do not) but it does indicate the p-value, which lets you know if the observed statistic is less than or greater than the critical value. That's really all you need to know for data analysis, you don't need the actual critical value. (The only time you would need the exact critical value is for homework or for some academic papers — although every journal I have ever seen accepts the p-value.)
The p-value is widely used and understood (within statistical discussions) and will tell you if the observed statistic is above or below the critical value. So, I can't remember the last time I had to use a critical value.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.