Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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