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.
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:
Predicates on set are defined by maps . 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 . I don't see how I can interpret the multiset as the predicate? Is the predicate just the proportions:
Can someone explain what I am not understanding?
It looks to me like you are missing a distribution over the bias of the coin, say a state .
Let's set to be the state spaces for -many flips. There is a channel giving the distribution over -flips expected from any given bias. You can compose that with the state 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 , but (I think) you need to invert the channel (as discussed in Jacobs) in order to update your bias estimate .