I want to do post hoc power analysis for Co regression. I want to calculate power in SAS for cox regression. I can find the hazard ratio and confidence interval from other studies. How can find R square and standard deviation for these code
Proc Power is intended to do pre-study planning, not post hoc power analysis.
From the online help:
Overview: POWER Procedure
Power and sample size analysis optimizes the resource usage and design of a study, improving chances of conclusive results with maximum efficiency. The POWER procedure performs prospective power and sample size analyses for a variety of goals, such as the following:
determining the sample size required to get a significant result with adequate probability (power)
characterizing the power of a study to detect a meaningful effect
conducting what-if analyses to assess sensitivity of the power or required sample size to other factors
(my color emphasis added)
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.