BookmarkSubscribeRSS Feed
MaryA_Marion
Lapis Lazuli | Level 10

I am learning to do 2x2 crossover designs. carryover is coded with 2 levels. When period=1, carryover=X and when period=2, carryover=1.

When I add carryover as a factor I am getting 0 df and SS's? Why? Please see code enclosed. 

title 'table 3.6.3, page 75 Chou and Liu -Design and Analysis of Bioavailability and Bioequivalence Studies, Third edition';
;
proc glm data=mydata;
class group subject tmt period carryover;
model y=group subject (group) period tmt carryover /ss1 ss2 ss3 ss4 solution p;
test h=group e=subject(group) / htype=3 etype=3;
run;

 

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