0

I'm reading a blog about Thompson Sampling, and I'm having some trouble understanding some statistical concepts.

I believe I understand when the author says $$ p(\mu_a \mid \mbox{data}_a) = \mbox{Beta}(S_{a,t}+1, F_{a,t}+1) = \frac{S_{a,t}!F_{a,t}!}{S_{a,t} + F_{a,t} + 1} . $$ But in the "Continuous Variables and the Normal Approximation" section the author states $$ p(\mu_a \mid \mbox{data}_a) = \mbox{N}(\mu_{a, t}, \sigma_{a,t}^2/N_{a,t}) . $$ Isn't this N function the notation for a normal distribution? How does one get a distinct probability from a Normal distribution, like the Beta Function, in this case?

hoshi
  • 5

1 Answers1

2

The last equality $=\frac{S_{a,t}!F_{a,t}!}{S_{a,t}+F_{a,t}+1}$ in the first equation of your question is not found in the blog article, and is actually not what the author meant.

Instead, the intended meaning is that the conditional distribution of $\mu_a$ conditional on $data_a$ is a beta distribution with these parameters, just as in the latter case, the conditional distribution of $\mu_a$ conditional on $data_a$ is a normal distribution. Both of these are continuous distributions, there should be no conceptual difference.

I'm not sure what you mean by 'getting a distinct probability', but it sounds like you might be confused about the difference betweeen probabilities and probability density functions. It might help to take a look, e.g., at the answers to this frequent question or read some introduction to probability/statistics, if this is indeed the issue here.

Juho Kokkala
  • 7,913
  • Ok I think I understand what the author meant now.

    The author pulls random samples from the distributions, to determine the best choice.

    – hoshi Jun 13 '14 at 21:28