Triangular Distribution

ananthr

New Member
Joined
Jan 12, 2006
Messages
2
Excel provides formulas for quite a few statistical distributions, but not the Triangular distribution. I was wondering whether anyone knows where VBA code can be found for this. In particular, I am looking for the equivalent of a module which provides the inverse of this distribution, given the cumulative probability and the shape parameters. I would be grateful for any assistance on this.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
It seems to me like this can be done without using any VBA code...

If I understand the traigular distribution correctly (just learned what it was a minute ago)

=if(D1>(C1-A1)/(B1-A1),SQRT(D1*(B1-A1)*(C1-A1))+A1,B1-SQRT((1-D1)*(B1-A1)*(B1-C1)))

Where A1, B1, and C1 are you a, b, and c parameters, and D1 is your cumulative distribution...

hope this helps (I hope this works for that matter...)
 
Upvote 0

Forum statistics

Threads
1,216,083
Messages
6,128,718
Members
449,465
Latest member
TAKLAM

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