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