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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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