You are correct that there is not a built-in function for the CDF and quantile of the beta-binomial distribution. If you have SAS/IML, use that to implement the PDF, CDF, and quantile functions. You could compute the CDF with the DATA step, but it will be easier in SAS/IML. The quantile computation is unwieldy in Base SAS.
This is a non-trivial task, so I assume you are proficient in both statistics and programming. The basic approach is this:
Study the articles that I have linked to and give it a try. If you get stuck, write back and include the code you have written.
I have recently written a blog post that shows how to compute essential parts of the beta-binomial distribution.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.