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;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 631 views
  • 0 likes
  • 1 in conversation