I'm trying to run a power analysis in Stata, using chi2 (even though I am using logistic regression, I just can't find an option for it and I'm new to power analysis) and it seems I have to choose how the groups are allocated.
My study is a cohort study so there is only one group.
Is power analysis not computable without certain group allocation? I know how many have the outcome and how many don't.
My study is looking at surgery outcome (binary good or bad) and I know how many are estimated to have a good outcome. So I can't compute the power of my study (or an estimated sample size?) because it's not a randomized control trial?
– Paze Jan 31 '20 at 22:24You want to see if aggregateScore can predict the outcome. Can you retrospectively do a power analysis of this data and walk me through how you did so?
– Paze Feb 03 '20 at 09:17