MathGroup Archive 1999

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

Search the Archive

binomial distribution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16895] binomial distribution
  • From: "Robert Wright" <robert.wright4 at virgin.net>
  • Date: Mon, 5 Apr 1999 02:24:28 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Can someone explain how I can solve for 'c' or 'n' given the other variables
in this equation: its the binomial form for calculation the operating
characteristic in acceptance sampling. The problem is that 'c' and 'n' are
discrete and therefore 'Findroot' or 'NSolve' do not work.

The other problem is that it takes a long time to evaluate 'PrBinomial' for
large 'c' and 'n'.... is there a better way of calculating?


\!\(PrBinomial[c_, \ n_, p_] := \
    Sum[\ Binomial[n, k]\ \(\((1 - p)\)\^k\) p\^\(n - k\), {k, 0, c}] // N\)

Thanks




  • Prev by Date: Re: Commutators and Operator Powers in Mathematica
  • Next by Date: Re: extracting lhs or rhs of equations
  • Previous by thread: Re: Commutators and Operator Powers in Mathematica
  • Next by thread: Re: binomial distribution