Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

GAMMAINV and GAMMA.INV in Excel: Find a Gamma Quantile

Find the value below which a chosen share of a gamma distribution falls, and check the answer with GAMMA.DIST.

Table of Contents

Use GAMMA.INV(probability,alpha,beta) in current Excel to find a gamma distribution quantile. Given a cumulative probability, it returns the value at or below which that probability falls. GAMMAINV is the older compatibility function with the same argument order.

Enter the three arguments

  • Probability: The cumulative probability below the result. Use an interior value such as 0.0735 for a finite positive quantile.
  • Alpha: The positive shape parameter.
  • Beta: The positive scale parameter. If your source reports a rate, convert it to scale by taking its reciprocal.

GAMMAINV function in Excel, how to use and examples Picture 1

Find the quantile and check it

Enter =GAMMA.INV(0.0735,8,3). The result is about 13. At that value, a gamma distribution with shape 8 and scale 3 has roughly 7.35% of its probability below it. In an older workbook, the equivalent is =GAMMAINV(0.0735,8,3).

GAMMAINV function in Excel, how to use and examples Picture 2

GAMMAINV function in Excel, how to use and examples Picture 3

With the result in C9, use =GAMMA.DIST(C9,8,3,TRUE) to check that the cumulative probability is approximately 0.0735. Use the unrounded result for the check.

Diagnose an error

For #NUM!, check that the probability is within its allowed range and that both parameters are positive. For #VALUE!, verify that the arguments are numeric. See Microsoft's GAMMA.INV reference and the Excel formulas lesson for checking inputs and references.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.