Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7255 > unrolled thread

Approximating ratio of incomplete gamma functions

Started bypaul <paulvonhippel@yahoo.com>
First post2011-12-16 10:49 +0000
Last post2011-12-16 10:49 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Approximating ratio of incomplete gamma functions paul <paulvonhippel@yahoo.com> - 2011-12-16 10:49 +0000

#7255 — Approximating ratio of incomplete gamma functions

Frompaul <paulvonhippel@yahoo.com>
Date2011-12-16 10:49 +0000
SubjectApproximating ratio of incomplete gamma functions
Message-ID<jcf7nb$6l8$1@smc.vnet.net>
Thanks to Mathematica, I have an expression for the mean of a right-
truncated inverse chi-square distribution:

Btrunc = TruncatedDistribution[{0, W/(B*(D - 1))},
  InverseChiSquareDistribution[D - 1]]; Mean[Btrunc]

The expression is a ratio of two incomplete gamma functions, which is
usable within Mathematica. However, I will need to deploy this result
in a statistics package, and two problems will arise:

 (1) Some statistics packages, such as SAS, have not implemented the
incomplete gamma function.
 (2) Many programming languages are going to have trouble calculating
the ratio of two very large numbers, which this is.

So I wonder whether there's a simpler way to approximate the result.
It may help that D is an integer of at least 5, and that W and B are
positive.

I imagine Mathematica has tools for developing approximations, but I
am not familiar with them. Many thanks for any suggestions.

Best,
Paul

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web