Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Efficient Computation involving a Hypergeometric function...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72584] Efficient Computation involving a Hypergeometric function...
  • From: "Richard Palmer" <rhpalmer at gmail.com>
  • Date: Wed, 10 Jan 2007 03:23:08 -0500 (EST)

I have a discrete distribution:

\!\(f\ \  = \ \ Binomial[x + n, x]\ p\^\(x + 1\)\ \((1 - p)\)\^n\)

Here p and x are fixed,  p is real between 0 and 1, x and n are
integers greater than or equal to zero, and n is the parameter
(n,0,Infinity).

The CDF is

\!\(1 - \(\((1 -
     p)\)\^\(1 + n\)\ p\^\(1 + x\)\ Ã[2 + n + x]\ \
Hypergeometric2F1Regularized[1, 2 + n + x, 2 + n, 1 - p]\)\/Ã[1 + x]\)

where n is actually Floor[n].

Does anybody see a simplification or asymtotic for the CDF that
provides an efficient way to compute this for large n (say n  ge
1000)?  I need to solve CDF==k for various fixed p and x.

Thanks in advance!
-- 
Richard Palmer


  • Prev by Date: Re: Call-by-reference from inside a function
  • Next by Date: Export to xmgrace format
  • Previous by thread: Re: NDSolve EventLocator Method question about the Event option
  • Next by thread: Re: Efficient Computation involving a Hypergeometric function...