BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
LAYMAN_YO
Calcite | Level 5

data ex01;
input period sequence subject treat carryover y;
cards;
1 1 1 1 0 50
1 1 2 1 0 55
1 2 1 2 0 44
1 2 2 2 0 51
1 3 1 3 0 35
1 3 2 3 0 41
1 4 1 1 0 54
1 4 2 1 0 58
1 5 1 2 0 50
1 5 2 2 0 55
1 6 1 3 0 41
1 6 2 3 0 46
2 1 1 2 1 61
2 1 2 2 1 63
2 2 1 3 2 42
2 2 2 3 2 45
2 3 1 1 3 55
2 3 2 1 3 56
2 4 1 3 1 48
2 4 2 3 1 51
2 5 1 1 2 57
2 5 2 1 2 59
2 6 1 2 3 56
2 6 2 2 3 58
3 1 1 3 2 53
3 1 2 3 2 57
3 2 1 1 3 57
3 2 2 1 3 59
3 3 1 2 1 47
3 3 2 2 1 50
3 4 1 2 3 51
3 4 2 2 3 54
3 5 1 3 1 51
3 5 2 3 1 55
3 6 1 1 2 58
3 6 2 1 2 61
;


proc glm data=WLEX01;
CLASS SUBJECT SEQUENCE TREAT PERIOD CARRYOVER;
MODEL Y=SEQUENCE SUBJECT(SEQUENCE) PERIOD TREAT CARRYOVER ;
LSMEANS TREAT /PDIFF;
RANDOM SUBJECT(SEQUENCE);
RUN;

 

Please explain  why the TYPE III degree of freedom for PERIOD   is  "1" , not "2" ?

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

It looks like period=1 and carryover=0 are aliased

 

proc freq data=ex01;
tables period*carryover;
run;

 

View solution in original post

2 REPLIES 2
SAS_Rob
SAS Employee

It looks like period=1 and carryover=0 are aliased

 

proc freq data=ex01;
tables period*carryover;
run;

 

LAYMAN_YO
Calcite | Level 5

Thank you very much for the answer.

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
  • 2 replies
  • 1282 views
  • 0 likes
  • 2 in conversation