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?

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