I'm afraid my math in this area is a bit deficient, but what I am trying to do is see if there's a way to simplify the function:
or alternatively,
so that I can actually calculate the results when x is large (>1000, for example).
For the first function above, that's (AFAIK) equivalent to:
but I never really learned how to manipulate factorials algebraically, so I'm not sure how to proceed. Of course, it may not even be possible to do what I'm looking for, in which case it'd be nice to know that, too, so I can try to implement one of the various approximations out there instead of the "full" function.
Longer-term, I'd really be interested in a way to calculate the following function (from Hotelling, 1953) for large x (see function f3 on page 2 here): Sun & Wong (2007), if anyone has any suggestions (the function above is a part of this larger function). Any advice is appreciated, thanks.
Code:
Gamma(x)/Gamma(x-0.5)
Code:
log(Gamma(x)) - log(Gamma(x-0.5))
For the first function above, that's (AFAIK) equivalent to:
Code:
( x! * (4^(x-1)) * (x-1)! ) / ( (2*(x-1))! * sqrt(pi) )
Longer-term, I'd really be interested in a way to calculate the following function (from Hotelling, 1953) for large x (see function f3 on page 2 here): Sun & Wong (2007), if anyone has any suggestions (the function above is a part of this larger function). Any advice is appreciated, thanks.