BookmarkSubscribeRSS Feed
Lauban
Fluorite | Level 6

HI I am trying to do a repeated measures ANOVA for VAT (essentially a type of fat-continuous variable) and  Glucose (glucose - continuous variable).   THankj you so much in advance

this is my code:  

*Analysis of Glucose;
proc glm data=repeated.glucose;
MODEL glucosea glucoseb glucosec =/nouni;
repeated VAT 3 (VAT_mass_one, VAT_mass_two, VAT_Mass_three);

 

This is my log:

62 *Analysis of Glucose;
63 proc glm data=repeated.glucose;
64 MODEL glucosea glucoseb glucosec =/nouni;
65 repeated VAT 3 (VAT_mass_one, VAT_mass_two, VAT_Mass_three);
____________
22
76
NOTE: The previous statement has been deleted.
ERROR 22-322: Syntax error, expecting one of the following: a numeric constant, a datetime constant.
ERROR 76-322: Syntax error, statement will be ignored.
 
My results dont show anything except for number of observations.     

 

 

1 REPLY 1
Ksharp
Super User

Better use PROC MIXED or PROC GLIMMIX , not GLM for repeated measure test.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 907 views
  • 0 likes
  • 2 in conversation