Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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