Write and run SAS programs in your web browser

How to perform a Repeated Measures anova

Reply
Occasional Contributor
Posts: 12

How to perform a Repeated Measures anova

[ Edited ]

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.     

 

 

Super User
Posts: 10,023

Re: How to perform a Repeated Measures anova

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

Ask a Question
Discussion stats
  • 1 reply
  • 158 views
  • 0 likes
  • 2 in conversation