BookmarkSubscribeRSS Feed
doctortimi
Obsidian | Level 7

I am trying to conduct a correlation analysis on repeated measures and I'll appreciate some help. I know a regular proc corr will not answer this question because measures are not independent and also a few patients have missing data. Here's an example code showing the dataset I have: 

 

 

data have;
input PID time X Y;
datalines;
001 1 4 4.3
001 2 2.5 3.9
001 3 6 .
002 1 0.3 2
002 2 7 2.1
;
run;

Thanks!

1 REPLY 1
Rick_SAS
SAS Super FREQ

There are many correlations... on average? For each patient? Take a look at the paper

"Estimation of correlation coefficient in data with repeated measures", which describes several measures and how to compute them in SAS.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1140 views
  • 1 like
  • 2 in conversation