I'm curious if anyone has thoughts about how to set up a power simulation. I have a sample of 70 people who have completed 12 sessions of therapy, which consists of 5 different skill modules delivered in a random order. With proc mixed, I used an indicator variable representing the skill modules as a predictor of continuous depression symptoms at each session. The Type 3 test of fixed effects for the indicator variable was significant - specifically, depression was significantly higher during one module compared to the others. I'm not sure, though, how to set up a simulation with a multicategorical predictor since SAS seems to calculate the Type 3 tests automatically and separately from the modeling input. For reference, I'm most familiar with Lane and Hennes' power code, which covers continuous and binary predictors but not categorical ones: https://journals.sagepub.com/doi/suppl/10.1177/0265407517710342
I remembered @Rick_SAS wrote a blog about this topic before .
The Lane and Hennes paper appears to be behind a paywayll, so cannot access.
Show your PROC MIXED code. It is not clear how you are handling the longitudinal aspect of the design. Also, sample data is always appreciated.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.