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

simulate_data_logistic(): wrong coefs #27

Open
DominiqueMakowski opened this issue Sep 5, 2018 · 0 comments
Open

simulate_data_logistic(): wrong coefs #27

DominiqueMakowski opened this issue Sep 5, 2018 · 0 comments
Labels
bug Something isn't working help us if you're reading this Help is needed to implement something

Comments

@DominiqueMakowski
Copy link
Member

The resulting logistic GLM's coefs are not those specified.

import Distributions, DataFrames, GLM, StatsModels

data = simulate_data_logistic([0.1, 0.5], n=100)

GLM.glm(GLM.@formula(y ~ Var1 + Var2), data, GLM.Binomial(), GLM.LogitLink())
@DominiqueMakowski DominiqueMakowski added bug Something isn't working help us if you're reading this Help is needed to implement something labels Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help us if you're reading this Help is needed to implement something
Projects
None yet
Development

No branches or pull requests

1 participant