Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: recursive formula.

by trammell (Priest)
on Aug 05, 2004 at 14:41 UTC ( [id://380268]=note: print w/replies, xml ) Need Help??


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 rsteinke@w-link.net
      So is it the case that:
      P(r1) = (r1 - r0) P() = r1
      Correct?
        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"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-16 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found