BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
gtrifan
Calcite | Level 5

Hi all, I'm trying to get a power analysis for a health care study that will evaluate incidence rate ratio of an event (predicted variable as counts and few categorical and continuous independent predictors). I tried to find a way to do it in SAS, but I can't seems to find the right code. 

I tried Cox Regression, code below, but I'm not sure if this will give me the same power results as those estimating for Poisson regression, as one takes into account time to event and the other the counts or rates only...any suggestions on how to proceed ? Thanks. 

 

ods noproctitle;
ods graphics / imagemap=on;

proc power;
coxreg test=score sides=2 ntotal=13000 eventprob=0.017 alpha=0.05
hazardratio=1.2 1.5 rsquare=0 0.3 stddev=1.1 power=.;
plot x=n;
run;

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
John_Castelloe
SAS Employee

You can use the CUSTOM statement in PROC POWER, and there's an example in this paper from SAS Global Forum 2018. The main example involves logistic regression, but the section "Steps for a Poisson Regression Alternative" at the bottom of page 12 describes how to adapt it to a Poisson regression.

View solution in original post

2 REPLIES 2
John_Castelloe
SAS Employee

You can use the CUSTOM statement in PROC POWER, and there's an example in this paper from SAS Global Forum 2018. The main example involves logistic regression, but the section "Steps for a Poisson Regression Alternative" at the bottom of page 12 describes how to adapt it to a Poisson regression.

gtrifan
Calcite | Level 5

Thank you!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2 replies
  • 890 views
  • 1 like
  • 2 in conversation