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;
SAS Innovate 2025: Save the Date
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!