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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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