PROC UNIVARIATE provides a one-sample test for location. Based on your sample code, it looks like you might be interested in a two-sample test for the difference between two groups, If so, use PROC NPAR1WAY and the WILCOXON option. An example is provided in the PROC NPAR1WAY documentation. Notice that you'll have to transform your data set from "wide" format to "long" format by including a binary CLASS variable that indicates the groups.
That said, I don't understand your statement. You don't get confidence intervals for test. A statistical test generates a statistic which you use to accept or reject some hypothesis at some significance level. You can get CIs for the parameter that the statistic estimates, but not for a test.
You can use Hodges - Lehmann (HL) estimation to show the CIs:
proc NPAR1WAY data=tegs /*wilcoxon*/; title "Nonparametric test to compare respiration between growth and gap area"; class orchard; var apples; exact wilcoxon HL; run;
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.