I'm trying to calculate confidence intervals with the following formula that I use in Excel:
=BETA.INV(alpha/2, x, y -x +1)
I can't seem to find an equivalent function in the scripting index so am not sure if one exists. Any help is appreciated.