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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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