Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stan_clogit: allow y to be a factor #520

Merged
merged 2 commits into from
May 11, 2021
Merged

stan_clogit: allow y to be a factor #520

merged 2 commits into from
May 11, 2021

Conversation

jgabry
Copy link
Member

@jgabry jgabry commented May 11, 2021

closes #519

Previously the model would fit but would error in some post-processing step where it didn't like factors. This PR just converts a factor to a binary variable before fitting the model.

@bgoodri bgoodri merged commit a9cb191 into master May 11, 2021
@bgoodri bgoodri deleted the stan_clogit-factor branch May 11, 2021 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stan_clogit: allow outcome to be factor
2 participants