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.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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