What the the probability distribution of a mean? - MathOverflow most recent 30 from http://mathoverflow.net2013-05-25T13:59:17Zhttp://mathoverflow.net/feeds/question/40475http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/40475/what-the-the-probability-distribution-of-a-meanWhat the the probability distribution of a mean?sanity2010-09-29T14:26:53Z2010-09-29T20:28:52Z
<p>There is an unknown set of values of unknown size, from which a known subset of N values is drawn at random.</p>
<p>Based on the known random subset, what is the probability distribution of the mean of the unknown larger set? Obviously, this probability distribution will become narrower for larger values of N, converging towards a single value for the mean.</p>
<p>Taking it a step further, is there an algorithm for selecting numbers at random from this probability distribution?</p>
http://mathoverflow.net/questions/40475/what-the-the-probability-distribution-of-a-mean/40477#40477Answer by ohai for What the the probability distribution of a mean?ohai2010-09-29T14:38:01Z2010-09-29T15:01:35Z<p>"Based on the known random subset, what is the probability distribution of the mean of the unknown larger set?" With this question you've entered Bayesian land.</p>
<p>Added:
Use an uniformative prior. This way you can still talk about the 'probability distribution of the mean of the unknown larger set' without frequentists getting on your case because you are presuming to know too much about the prior distribution.</p>
http://mathoverflow.net/questions/40475/what-the-the-probability-distribution-of-a-mean/40497#40497Answer by maproom for What the the probability distribution of a mean?maproom2010-09-29T17:04:25Z2010-09-29T17:04:25Z<p>"What is he probability distribution of the mean of the unknown larger set?" - you don't have enough information to answer this.</p>
<p>"Obviously, this probability distribution will become narrower for larger values of N" - not true. However large N becomes, you will still know nothing about possible extreme outliers of the unknown larger set.</p>
<p>"is there an algorithm for selecting numbers at random from this probability distribution?" - there can't be an algorithm for selecting the numbers, you have, by definition, to get them at random.</p>
http://mathoverflow.net/questions/40475/what-the-the-probability-distribution-of-a-mean/40534#40534Answer by Fiktor for What the the probability distribution of a mean?Fiktor2010-09-29T20:23:34Z2010-09-29T20:28:52Z<p>Suppose, for simplicity, that $N=\infty$, so you are just taking values from a distribution.
In order to answer your question, you should have some prior knowledge about this distribution (i.e. a probability distribution in the space of all distributions). I will give you two examples of this.</p>
<p><strong>Example 1:</strong> Suppose, you are doing (many times) some experiment, which has 2 results: 0 or 1. You don't know the probability p of "1", any value $p$ from 0 to 1 is possible. Then you can formalize your knowledge as the following: $p$ is uniformly distributed on $[0,1]$. Suppose, that after a few experiments you have got the sequence w="1010110111", you can write the formula, for a posterior density $f(p)$ of $p$. In general, if you have $n$ zeros and $m$ ones then
$$f(p)=\frac{(1-p)^np^m}{\int_0^1(1-p)^np^mdp}=\frac{1}{n+m+1}\begin{pmatrix}n\\n+m\end{pmatrix}(1-p)^np^m.$$
This formula is just a continuous version of <a href="http://en.wikipedia.org/wiki/Bayes%27_theorem" rel="nofollow">Bayes' theorem</a></p>
<p>Because mean of the result of experiment is exactly $p$, the formula, written above, is exactly formula for the distribution, you are searching for. If w="1010110111", then n=3, m=7 and this distribution looks like this:<br>
<img src="https://lh5.googleusercontent.com/tQQVWo0EqLzWkrwQYZ0czMeAtL30-amOUw1Ob7_ytCqS7KXIqc3bHTtE7NUU-Ev-8Qq6MwepiC0u3nfR7acvCQYGhw=s512" alt="alt text"><br>
Dotted line is at p=0.7.</p>
<p><strong>Example 2:</strong> Suppose, result of your experiment is a real number. Then based on your case, you, for example, can consider it to be distributed normally with expectation $a$ and standard deviation $\sigma$. You don't know $a$ and $\sigma$, but you can consider some distribution law for them. For example, you can consider them to be independent, $a$ distributed with density $f_a(a)=\frac{10/\pi}{100+a^2}$ and $\sigma$ --- with density $f_\sigma(\sigma)=exp(-\sigma)$. After some experiments you can calculate posterior density of $f_\sigma$ and $f_a$. Since $a$ is exactly mean of the result of an experiment, $f_a$ is the density you are searching for.</p>