Emulate BETADIST function

mark14

New Member
Joined
Dec 22, 2010
Messages
9
Hi everyone,

I have another application that I'm developing in Oracle Application Express using Oracle 10g. I developed a 'prototype' of the Oracle application in Excel and used the BETADIST function in this prototype. However, Oracle doesn't have this function, and I basically need to re-write it.

I've read all the documentation on the BETADIST function and how to use it in Excel, so I have a pretty good handle on that. I understand that you provide your x, alpha, beta, and optionally, lower and upper bounds, and the function returns the cumulative beta probability density function.

For example, =BETADIST(0.2,1.57,2) gives me 0.1803.

The problem is, I'm no statistician, and have no idea what it is doing behind the scenes to get the 0.1803 value in order to recreate it. I've checked the Wikipedia pages, among others, and all of those formulas are greek to me.

Can anyone help break down this function for me and explain how that value is logically derived in my example above, using those numbers? That will greatly help me figure out how to rewrite it.

Thanks in advance!
Mark
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi Mark,


Your post could be a saver for me...can you pls help me with the code you came up with for the Oracle PL/SQL code for the calculus equivalent? I am having a tough time since I need to implement the P value formula in an Oracle/ Pl-sql solution.


P Value = [ 1/ ( (√df) Β(1/2,df/2) ) ] lt->-t to t ∫ ( 1+ x²/df)(-(v+1)/2) .dx
Where df = degrees of freedom x = T-Value


Your help is MOST APPRECIATED!
Thanks
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,834
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top