Erlang distribution-integral problem

hafizahzulkipli88

New Member
Joined
Jan 26, 2017
Messages
2
Hi. I have problem regarding the Erlang distribution. I have an equation like below:

Code:
 \integrate from Q to infinity of [(x-Q) f(x)] dx
. f(x) follow pdf of erlang distribution.
Can I solve this equation using vba?
I don't know if excel has any build in Erlang p.d.f like normal p.d.f e.g(WorksheetFunction.NormDist(x, Av, StD, False).
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Welcome to the forum.

I can point you to 2 links which may help.

First, check out the GAMMA.DIST function:

https://support.office.com/en-us/article/GAMMA-DIST-function-9b6f1538-d11c-4d5f-8966-21f6a2201def

According to the last remark:

When alpha is a positive integer, GAMMA.DIST is also known as the Erlang distribution.

Second, here is a link to a macro that shg provided that does numerical integration.

https://www.mrexcel.com/forum/excel...ual-basic-applications-solving-integrals.html


Hope this helps.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,973
Members
448,933
Latest member
Bluedbw

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