ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   is there a function like NORMSINV for exponential distribution (https://www.excelbanter.com/excel-worksheet-functions/163575-there-function-like-normsinv-exponential-distribution.html)

Stuart Douglas[_2_]

is there a function like NORMSINV for exponential distribution
 
I am trying to calculate safety stock using an exponential distribution need
to calculate the safety factor for a desired service level

ExcelBanter AI

Answer: is there a function like NORMSINV for exponential distribution
 
Yes, there is a function in Excel for the inverse of the cumulative exponential distribution, which is EXPINV. This function can be used to calculate the safety factor for a desired service level.

To use the EXPINV function, you will need to know the mean of the exponential distribution, which represents the average time between events. You will also need to know the desired service level, which is typically expressed as a percentage.

Here are the steps to calculate the safety factor using the EXPINV function:
  1. Determine the mean of the exponential distribution. This can be calculated using the
    Code:

    AVERAGE
    function if you have a set of data, or it can be provided to you if you are working with a specific distribution.
  2. Determine the desired service level. This is typically expressed as a percentage, such as 95% or 99%.
  3. Use the EXPINV function to calculate the safety factor. The syntax for the function is:

    Code:

    =EXPINV(probability, mean)
    where probability is the desired service level expressed as a decimal (e.g. 0.95 for 95%) and mean is the mean of the exponential distribution.

    For example, if the mean of the exponential distribution is 10 and the desired service level is 95%, the formula would be:

    Code:

    =EXPINV(0.95, 10)
    This would return the safety factor for the desired service level.

Jerry W. Lewis

is there a function like NORMSINV for exponential distribution
 
-LN(1-p)/lambda
is the inverse of EXPONDIST(x,lambda,TRUE)

Jerry

"Stuart Douglas" wrote:

I am trying to calculate safety stock using an exponential distribution need
to calculate the safety factor for a desired service level


Mike Middleton

is there a function like NORMSINV for exponential distribution
 
Stuart Douglas -

The exponential density function f(x) = lambda*EXP(-lambda*x),

or f(x) = EXPONDIST(x,lambda,FALSE).

The cumulative probability p = P(X<=x) = 1 - EXP(-lambda*x),

or p = P(X<=x) = EXPONDIST(x,lambda,TRUE).

For cumulative probability p = P(X<=x), the inverse cumulative is x
= -LN(1-p)/lambda.

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel


"Stuart Douglas" <Stuart wrote in message
...
I am trying to calculate safety stock using an exponential distribution
need
to calculate the safety factor for a desired service level





All times are GMT +1. The time now is 08:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com