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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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