sorry that this is probably a dumb question
i understand that when link function is identity or lognormal, observation is just observation, like this pic from
Gabry, J. , Simpson, D. , Vehtari, A. , Betancourt, M. and Gelman, A. (2019), Visualization in Bayesian workflow. J. R. Stat. Soc. A , 182: 389-402. doi:10.1111/rssa.12378
but i don’t get how pp_check “calculate” probability observation y when link function is bernoulli
like this pic from my doing prior predictive check on my own data
if someone simply point me to things i should read that would be helpful, thanks