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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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