BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sky1
Calcite | Level 5

Proc Univariate provides two-sided p-value for wilcoxon signed rank test. If  n>20, can I divide the two-sided p-value by 2 to get one-sided p-value? Does SAS do normal approximation of signed rank statistics when n > 20? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

Be careful in the direction. The one-sided p-value is either P/2 or 1-(P/2), where P is the printed two-sided value. If the estimated statistic (or median, or mean, or whatever) is in the opposite direction of the alternative hypothesis, then the one-sided p-value will be a large number [1-(P/2)].

View solution in original post

2 REPLIES 2
djbateman
Lapis Lazuli | Level 10

In Common Statistical Methods for Clinical Research with SAS Examples, Third Edition (pg. 258), it states, "SAS uses the t-approximation to the Wilcoxon signed-rank test if n is greater than 20.  For n <=20, SAS computes the exact probability."  As for getting the 1-sided p-value from a 2-sided p-value, you should be able to simply divide by 2 as you suggested.

lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

Be careful in the direction. The one-sided p-value is either P/2 or 1-(P/2), where P is the printed two-sided value. If the estimated statistic (or median, or mean, or whatever) is in the opposite direction of the alternative hypothesis, then the one-sided p-value will be a large number [1-(P/2)].

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 8080 views
  • 1 like
  • 3 in conversation