I'm looking for a good source with deep theory and practice problems about probability, doesn't matter if it is too math involved, and I would prefer one that is ACM-ICPC training oriented.... thanks in advance..
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 166 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
I'm looking for a good source with deep theory and practice problems about probability, doesn't matter if it is too math involved, and I would prefer one that is ACM-ICPC training oriented.... thanks in advance..
Name |
---|
I need help too!! Anyone? Also need help on game theory.
For game theory this is very helpful : www.math.ucla.edu/tom/Game_Theory/comb.pdf
It should be http://www.math.ucla.edu/~tom/Game_Theory/comb.pdf, and indeed that link seems to be interesting...
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=probabilities
I've read that topcoder article already, but it doesn't seem to be enough, at least for solving problems where you must deal with expectations on random variables...
What would be necessary to learn to solve this problem? http://www.codechef.com/ACMAMR12/problems/MINMAX
Nothing special , it just requires the basic definition of expected number and some about polynomial addition,multiplication and integration .
How do you get the polynomials? I was able to doing only with two variables, by integrating over areas, but for more variables I didn't know what to do.
I will try to explain my solution (though it seems more complex after I see others' solution.) Suppose you have to find the expected value of an expression ,say
M = Max(x1,x2)
Then ,from the definition we have
Assume M = x , then we have to find the probability that value of M is x.
This will be when one of x1 OR x2 is equal to x , and the other has a value less than x. So
Hence , E[X] = 2 / 3 .This was the case of simple two variables.
Now come to the general case , we want the probability of the operator at the root , such that value after that is x .
Consider this as a state F(node , {either 0,1,2}) , here 0 means that we have to find probability such that it has value equal to x , 1 means to find less than x , 2 means to find greater than x . Now our answer is (root,0) .
The transition for example is like :
Suppose expression is : MmxxMxx , then at the root we have Maximum(a,b) operator and we want prob for being equal ,so answer will be:
(F(root->left,0)*F(root->right,1) + F(root->left,1)*F(root->right,0)) . Here F(node,{0,1,2}) will be a polynomial.
This is because either left value will be equal to x or right , and in either cases the other one will have value less than x.
For base case , if we have a leaf and we have to calculate F(leaf,0) then it is 1 , for F(leaf,1) it is x , for F(leaf,2) it is (1-x) .