BookmarkSubscribeRSS Feed
sarahcjj
Fluorite | Level 6

Has anyone had success adapting Rick Wicklin's funnel plot for proportions code https://blogs.sas.com/content/iml/2011/11/23/funnel-plots-for-proportions.html for rates that can be >1? 

Briefly, I'd like to identify "high-intensity" antibiotic prescribers. My y-axis would be prescriber's antibiotic prescriptions / number of patient visits (which can be >1) in 1 year and my axis-would be number of patient visits in 1 year.

Thanks in advance for any help.

 

4 REPLIES 4
sarahcjj
Fluorite | Level 6

Thank you so much. I read in one of the comments that the funnel plot code is for binomial proportions between 0 and 1. I have observations where the number of events is greater than the number of trials. Would the code still be appropriate for these data? 

Rick_SAS
SAS Super FREQ

You can try it. The upper/lower curves on the funnel plot are determined by the average proportion, which is the total number of events divided by the total number of trials. If this value is less than 1, you can compute and plot the curves. The actual data values are just displayed in the scatter plot.

 

I encourage you to think about what statistical model might be appropriate for your data.  If you have rates that are greater than 1 or negative, then there are probably more appropriate models.

sarahcjj
Fluorite | Level 6

Thanks so much for your help

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 558 views
  • 1 like
  • 2 in conversation