BookmarkSubscribeRSS Feed
msflmr5
Fluorite | Level 6

I am running the Kendall Tau test using Proc Corr is SAS.   I am testing for a trend over time (by year), with only one value per year so there is no seasonal component.   I believe the Kendall Tau procedure can generate a slope, in my case change year.    How do I get that output from the Kendall tau option in Proc Corr, or should I use another procedure.   Thanks!

2 REPLIES 2
jlopez1
Fluorite | Level 6

Have you tried to create and export to external dataset and then create a graph?

msflmr5
Fluorite | Level 6
Sure - I have the data in EXEL and can create a graph, but what good does
that do? Also, in SAS I have created graphs and calculated a slope using
linear regression.

However, it is my understanding that that there is a slope produced by the
non-parametric Kendall Tau test that is different than the Kendall Tau
statistic that is reported in Proc Corr. Possibly it is the average slope
between pairs, I am not really sure Can that be produced by Proc Corr or
another procedure.

Thank you

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2012 views
  • 0 likes
  • 2 in conversation