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

Feature to visually inspect start parameters for model including covariates #180

Open
mptend opened this issue Jul 15, 2021 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@mptend
Copy link

mptend commented Jul 15, 2021

Currently start.params is defined when the model is estimated. It would make initializing parameters easier to include them with the clvdata object or covariates object and be able to plot with the start.params and see a rough model fit before running the estimation. When I used to run these models in excel, visual inspection was the main way to ensure starting parameters led to a close to optimal solution.

@mmeierer
Copy link
Collaborator

Thanks for your comment. It would be interesting to learn more about this.

Did you run into problems when estimating latent attrition models with CLVTools? The estimation routines implemented in CLVTools should be quite reliable. I am aware that this did not necessarily apply to earlier implementations in other software.

If your experience differs, we would greatly appreciate if you could provide a reproducible example to illustrate this point. Also, a initial implementation how you would address this would be helpful.

@mmeierer mmeierer added the enhancement New feature or request label Jul 15, 2021
@mptend
Copy link
Author

mptend commented Jul 15, 2021

I am having a hard time getting the KKT conditions to be TRUE. I have the latest from CRAN but I can try with the latest here on github and report back.

@mmeierer
Copy link
Collaborator

Getting KKT right can be challenging at times. Often re-estimating the model with the final parameters of the previous estimation run might work. Also switching the optimizer can help.

However, please be aware that validation with a test sample is as important. It provides key information on the applicability of a model for a real-world usage. Often practitioners focus on this metric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants