Beyond logistic regression: structural equations modelling for binary variables and its application to investigating unobserved confounders | Synapse