So I'm a bit confused about the bridge between urn type Bayes problems and more complex stuff like categorical distributions and dirichlet priors.
What want to look at is the probability of an exit geofence event on a phone (a circular region in space that the phone monitors) being triggered as a function of velocity. I have a whole bunch of examples of it being triggered, and a bunch more of them being set, then crossed, but not triggered. I get an event when the fences are triggered, so I can easily calculate the velocity then (e.g. $P(velocity | triggered)$) but really what I'd like to know is $P(triggered | velocity)$.
Am I able to just use the urn version of bayes theorem here if I bin my velocity measurements? What I mean is would it just be
acting on each velocity bin? The way I'd read this is $P(triggered)$ would be the probability that any fence gets triggered (I know how many got set, I know how many got triggered), and P(velocity) is the fraction of all velocities that fall into the velocity bin we care about.
I'm not sure if I'm misunderstanding how to use Bayes theorem completely.