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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1421 views
  • 0 likes
  • 2 in conversation