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

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

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