BookmarkSubscribeRSS Feed
bikashten
Fluorite | Level 6

Hello,

I am using proc mixed to analyze the percent decreased in teeth length based on the following factors: teeth positions, gender and stages. There are four teeth positions (left and right central incisors, left and right lateral incisors) measured for 160 subjects (so, I have 160*4=640 total sample size). The percent decreased in teeth length for each teeth position was calculated during the fixed orthodontic treatments. It is a repeated measures because a same subject is used to measure the teeth length for four positions. I am trying to find whether the positions of teeth, gender and stages significantly affect the percent decrease in teeth length during fixed orthodontic treatment. I am using this code:

 

proc mixed data=

              class subject_id position gender stages;

              model percent=position gender stages;

              repeated position/subject=subject_id;

              lsmeans position gender stages

run;

              lsmeans position sex stages;

run;

 

is this code right? 

1 REPLY 1
bikashten
Fluorite | Level 6

 

proc mixed data=

              class subject_id position gender stages;

              model percent=position gender stages;

              repeated position/subject=subject_id;

              lsmeans position gender stages

run;

 

is this right?

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