I'm currently trying to identify what approach should I use for my problem. I want to make a risk assessment for each subject having or not a specific condition C (5% of prevalence), sample size moderate w.r.t to prevalence (30K). I have for each subject condition (yes/no) and also history of past "accidents". I see these small accidents as precursors of future condition as they are moderately correlated to it (0.20). Accidents are also much more frequent than positive condition so it makes sense to use this precious information.
Each time I get new accidents, I would like to update my risk assessment and for that reason I see bayesian inference as a natural fit (disclaimer: I'm not a statistician and I'm trying to learn about Bayesian statistics). From what I understand, the prior on $\theta$ can be multiplied by the likelihood of data $P(D|\theta)$ to get a posterior which can be used to refine my prior each time new accidents arrive.
Problem I have is that the risk assessment I want to give is about condition, not about accidents. In other words, $\theta$ is the belief I have about the condition C. How can I take in account accidents in this scheme? It seems like I miss something that makes the link between condition and accidents.
EDIT: I'm just thinking about it, is something like this would make sense?
$P(\theta|D) \propto P(D|\omega) P(\omega|\theta) P(\theta)$
where $\omega$ is the parameter of the probability distribution of the accidents.