Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: theory: categorical probability

Topic: Jacobs' "Updating"


view this post on Zulip Ben Sprott (Jun 18 2021 at 16:35):

I am trying to understand how to update a prior distribution with a multiset of new data. I am reading Jacobs' text on probability because that is how I am understanding the subject, via monads like multiset and distribution.

Looking at Definition 2.3.1, I see he is updating a distribution with a predicate. The formula is:

ωp=xω(x)p(x)ωpx \omega |_p = \sum_{x} \frac{ \omega (x) \cdot p(x) } {\omega \models p} | x \rangle

Predicates on set XX are defined by maps p:X[0,1]p: X \rightarrow [0,1]. I want to be able to take a multiset and find an update to a distribution, and I don't see how this definition can be used to do that.

A simple example is that I have a coin which, I believe, has a uniform bias. I then flip the coin ten times and get some multiset for the result, like {H,T,H,H,H,H,T,H,H,T} \{ H,T,H,H,H,H,T,H,H,T \} . I don't see how I can interpret the multiset as the predicate? Is the predicate just the proportions: 310T+710H \frac{3}{10} |T \rangle + \frac{7}{10} |H \rangle

Can someone explain what I am not understanding?

view this post on Zulip Spencer Breiner (Jun 21 2021 at 18:52):

It looks to me like you are missing a distribution over the bias of the coin, say a state b0:1Bb_0:1\to B.

Let's set Xk=2kX_k=2^k to be the state spaces for kk-many flips. There is a channel fk:BXkf_k:B\to X_k giving the distribution over kk-flips expected from any given bias. You can compose that with the state b0b_0 to get the expectation from your particular coin (given your uncertainty about its bias).

Now we can think of your H/T sequence as a X10[0,1]X_10\to [0,1], but (I think) you need to invert the channel (as discussed in Jacobs) in order to update your bias estimate b0b1b_0\mapsto b_1.