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

accessing intercept value #23

Closed
saurabac opened this issue Oct 15, 2021 · 1 comment
Closed

accessing intercept value #23

saurabac opened this issue Oct 15, 2021 · 1 comment

Comments

@saurabac
Copy link

Hi John, this is a great package! Much faster and stable compared to the other R packages for mixed logits. Is it possible to extract the intercept for the estimated model (or a method to specify it as a parameter)?

@jhelvy
Copy link
Owner

jhelvy commented Oct 15, 2021

Thanks! It's still a work in progress, but it's starting to get more stable now. I'm currently improving the prediction functions, which will eventually just be a predict() method for logitr class objects (models estimated using logitr).

Anyway, unless I'm misunderstanding your question, you should not have an intercept in the model. For categorical variables, one level should be set as the reference level (see here for example).

@jhelvy jhelvy closed this as completed Nov 1, 2021
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

No branches or pull requests

2 participants