BookmarkSubscribeRSS Feed
COMPAREMISSING
Calcite | Level 5

I have a cross over AB/BA with binary variable. I have 16 subjects who take 2 treatments in 2 periods. the 16 are diveded in 2 groups which follow 2 diffrerent sequences:AB and BA

 

I have to analyze it as:

 

PROC GENMOD DATA= sample DESCENDING;
CLASS TREATMENT PERIOD  SUBID;
MODEL Y = TREATMENT PERIOD /LINK=LOGIT DIST=BIN;
REPEATED SUBJECT=SUBID ;
RUN;

 

how i can calulate the power?

 

Thanks a lot,

 

Barbara

1 REPLY 1
SteveDenham
Jade | Level 19

Simulation is your best bet.  However, with transformations (logit) you might be able to use PROC GLMPOWER.  You will need good estimates of the correlation over time to get an accurate estimate.  If you have SAS/STAT14.1, look at Example 48.3 Repeated Measures ANOVA as a starting place.

 

Steve Denham

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
  • 1 reply
  • 1212 views
  • 0 likes
  • 2 in conversation