I am using stata and I think the right command is "powercal." It takes 4 variables and calculates a 5th. they are the sample size, power, alpha (0.8), delta (meaningful difference), and standard deviation. I am trying to caluclate power of my study with n=40 surgical patients and 5 categories (surgical site) in my independent variable. But since my outcomes (complications) are just "yes" or "no" how do I define delta? background: this is a surgical study, independent variable is where we did the surgery (arm, leg, ect). dependent is y/n presence of wound healing complications. I am using logistic regression (logistic) and would like to do a power analysis to make sure our findings of no difference in complications depending on surgical site is true or just due to small sample size. Do I use the odds ratios from my logistic regression for delta or something?
-
Login or Register
- Log in with
Comment