BookmarkSubscribeRSS Feed
Manije72
Calcite | Level 5

Hi,

I found an article examining the association between "x"  and the risk of cardiovascular diseases (CVD). The study reported hazard ratios comparing "x"  to non-"x"  in relation to CVD. The sample size for this cohort study was 10,000 participants, with approximately 100 individuals developing CVD after 11.8 years of follow-up. I would like to utilize this data for my research.

As I proceed with power calculations, I am uncertain about the appropriate values to assign for standard deviation (stddev) and R-squared (rsquare). Could you please assist me with this? Additionally, is the following code appropriate for my objectives?

 

proc power;
coxreg
hazardratio = 2.1
rsquare = ?
stddev = ?
ntotal = 10000
eventprob = 0.0.5
power = .
;
run;

 

1 REPLY 1
Manije72
Calcite | Level 5

If I want to use the below code, What should I put for (curve"control) and "refsurvival"?

proc power;
twosamplesurvival test=
curve("Control”) =
refsurvival =
hazardratio =
accrualtime =
followuptime =
groupweights =
ntotal =
eventstotal=
power = ;
run;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 712 views
  • 0 likes
  • 1 in conversation