Modeling correlated binary data