BookmarkSubscribeRSS Feed
Jason2020
Obsidian | Level 7

This data set below is part of a larger set for an experiment to compare 2 treatments (GROUP) and the outcome variable is millimeter measurements (DEPTH) made on teeth nested within subjects. The measurements were made at 4 time points (WEEKS), and there are some missing values for DEPTH. Also, although most subjects have 2 treated teeth (one for each treatment), some subjects have more than 2 treated teeth. I would like to fit a repeated measures model to compare the 2 treatment groups, and later I may include other covariates in the model. Is the following model adequate? If not, I would appreciate it if someone would suggest applicable modifications.

Thanks you.

 

The data set (partial):

 

Subj Tooth  Group  Depth  Weeks

  1   AA      A      3   BASELINE

  1   AA      A      0     6

  1   AA      A      .     12

  1   AA      A      .     24

  1   BB      B      4   BASELINE

  1   BB      B      3     6

  1   BB      B      .     12

  1   BB      B      .     24

  2   CC      B      2    BASELINE

  2   CC      B      0     6

  2   CC      B      0     12

  2   CC      B      0     24

  2   AA      A      3    BASELINE

  2   AA      A      0     6

  2   AA      A      0     12

  2   AA      A      0     24

  2   GG      A      5    BASELINE

  2   GG      A      1     6

  2   GG      A      1     12

  2   GG      A      2     24

 

The proposed model:

 

PROC MIXED data=long;

 Class subj tooth group;

 Model depth = group | weeks;

 Repeated weeks / subject=tooth(subj) Group=group ;

Run;

1 REPLY 1
Jason2020
Obsidian | Level 7

I forgot to mention that subjects are a random sample, teeth are also random term within subjects, and time (WEEKS) is a fixed term.

 

 

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
  • 613 views
  • 0 likes
  • 1 in conversation