Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
dyb5784
Calcite | Level 5

IYH Dear SAS Community


I am trying to help a colleague. I have no experience w SAS code. She provided me this Dunn test code (attached txt file). I attempted via AI code generators to add a PROC MULTTEST procedure to perform the multiple comparisons and calculate the p-values but the AI failed at generating valid sas code for this addition. 

Would someone kindly be able to assist me (see Dunn macro below)  to add the p-value calculation? Any help muchly appreciated.

 

1 REPLY 1
dyb5784
Calcite | Level 5

I Y H This is OP. I tried a different more powerful code gen to correct the erroneous V 1 and it produced V 2

Would someone kindly test out whether the V 2 patch to the Dunn macro in OP would work (I do not have access to SAS code executors alas). The V 1 patch and V 2 fix patch are below.
Thank you very much.

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1 reply
  • 720 views
  • 0 likes
  • 1 in conversation