BookmarkSubscribeRSS Feed
ahu_
New User | Level 1

I am trying to determine the needed sample size for a Logistic Mixed Effects Model powered at 90% with a type I, alpha, error of 5%. I don't have pilot data and there aren't similar studies that have repeated measures. I do have estimates for a logistic regression without repeated measures, including an Odds Ratio of 0.83 and a response probability of 6.9%. How can I estimate my sample size in SAS?

 

Here is the code for the model I will be running: 

proc glimmix data=ecig method=quad oddsratio;
class ID Year(ref='2018');
model vape(Event='1')=Year /s dist=binary link=logit ddfm=none
chisq;
random intercept/subject=ID;
output out=glmxout predicted(blup ilink)=predprob;
run;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 64 views
  • 0 likes
  • 1 in conversation