Wikipedia:Reference desk/Archives/Mathematics/2018 March 26
Mathematics desk | ||
---|---|---|
< March 25 | << Feb | March | Apr >> | March 27 > |
Welcome to the Wikipedia Mathematics Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
March 26
[edit]Probability of events expressed in a formal language
[edit]Suppose represents everything you know, expressed in formal or natural language. Suppose you wish to query for some , which is again expressed in a language. How do you calculate or approximate ?
If you know the full joint probability distribution, then by definition . But in general, you may not know the joint probability distribution.
Let be the class of all joint probability distributions. Then where is a weight that quantifies the simplicity of the distribution, as per Occam's razor...doesn't it?
And I guess you could approximate it by picking the which gives the largest value for , call it , and . But could depend on , which doesn't make much sense to me; surely the optimal would be independent of what question you're asking.--49.184.160.10 (talk) 12:03, 26 March 2018 (UTC)
Probability of all distinct choices in drawing with replacement
[edit]Let be a set of objects. drawings, with replacement, are made from the objects according to the same probability distribution, where the = prob. that is chosen in any given drawing. , but all the 's are not constrained to have the same value. What is the probability that all objects chosen in drawings are distinct, where ? Thanks. --134.242.92.97 (talk) 19:16, 26 March 2018 (UTC)
- By usual elementary counting arguments, it is , where is the elementary symmetric polynomial. --JBL (talk) 11:47, 27 March 2018 (UTC)
- That's a "brute force" solution. Is there an expression for the probability that's easier to evaluate? --134.242.92.97 (talk) 17:32, 27 March 2018 (UTC)
- What counts as "easier to evaluate"? If there was a reduction into "something simple", the elementary symmetric polynomial could be computed that way (at least for positive arguments whose sum is 1, which is still "a lot of numbers").
- There might well be a tricky factorization Horner-style using Elementary symmetric polynomial#Properties, but I could only get it to work for an approximate solution.
- Define . This is equal to (cf. link above) so in particular, the (n-r)-th derivative of f at 0 will give us the value we want: (if you actually want to use it, check the math carefully, an off-by-one error is likely). Now for an approximate value, each evaluation of f is O(n) multiplications and you need (n-r) of those to compute the (n-r)-th derivate at a given point so the total complexity is O(n^2) (rather than r choose n); but for an exact value, I do not see how you avoid the (r choose N). TigraanClick here to contact me 12:29, 28 March 2018 (UTC)
- It's pretty clear that er(p1, ... pN) = er(p1, ... pN-1)+pNer-1(p1, ... pN-1); basically it's just multiplying out the product one factor at a time. This gives a recursive way of computing all er(p1, ... pN) for r from 1 to N in order N2. There are fast methods of multiplying polynomials which could probably get you to below order N2. In any case, the answer is what's given above, no matter how hard to compute it is. --RDBury (talk) 02:17, 30 March 2018 (UTC)
- That's a "brute force" solution. Is there an expression for the probability that's easier to evaluate? --134.242.92.97 (talk) 17:32, 27 March 2018 (UTC)