in reply to recursive formula.

What is P()? One? Or is there some special recipe telling what to do when P() has one argument?

A complete example calculation would help immensely.

Replies are listed 'Best First'.
Re^2: recursive formula.
by BioGeek (Hermit) on Aug 05, 2004 at 14:48 UTC
    the r-values are scores, and P is a probability:
    so P(r1) is the chance of having score r1,
    P(r1,r2) is the chance of both having score r1 and score r2,
    and so on.

      Ah, so P() is 1 (the probablity of having anything happen).

      Ok, you'd have to ammend my code with

      return 1 if !@_:
      at the top or something

      Ron Steinke
      So is it the case that:
      P(r1) = (r1 - r0) P() = r1
        Yes, that's correct

        Or, like rsteinke explained it much better than I can in the chatterbox:
        "If P(r_1) is the probability of getting r_1, and P(r_1,r_2) is the probability of getting r_1 and r_2, then P() is the probability of anything at all happening (unconstrained), which is 1"