Using glm as a prior to inference a hidden variable

Thanks for the reply. I figured that the solution would be meaningless from a single sample, but it was just an idea I wanted to test out before throwing away the dataset. But what did u mean by information flowing back to the intercept wouldn’t that be the node with the bernoulli trials? Isn’t that what I want? It’s a bit of a noob question but I’m still learning how to work with pgms.