Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
hyunjeehale
Calcite | Level 5

I am trying to find a way to calculate the power and sample size necessary for a 2x2x2x4 mixed factorial design as well as calculate the power necessary for a moderator analysis.

I have one between factor with two levels and three within factors (2 levels, 2 levels, 4 levels respectively).

 

http://meeting.spsp.org/2016/sites/default/files/Lane%2C%20Hennes%2C%20West%20SPSP%20Power%20Worksho...

 

The above resource has been the best one I have found, but I am feeling a big lost. The PASS program doesn't appear to have the ability to handle more than two within factors for a repeated measures mixed model and Gpower doesn't have a mixed model component that allows a user to indicate more than one within factor.

 

Is there a resource or guidance anyone can provide on the best way to calculate the necessary sample size?  Most of the resources I've in programs such as R are limited to the number of within factors you can have in the simulation.

1 REPLY 1
sld
Rhodochrosite | Level 12 sld
Rhodochrosite | Level 12

For a model of this complexity, basically your options are simulation or a clever use of PARMS / HOLD that Walt Stroup has written about:

 

PROC GLIMMIX as a Teaching and Planning Tool for Experiment Design

 

Ch 16 in

Generalized Linear Mixed Models: Modern Concepts, Methods and Applications

 

Even with this tool, you may still be a bit lost because of the challenge of specifying one (or many) alternative hypotheses in a four-way factorial treatment design. I would be, anyway.

 

 

Good luck!

 

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