-
Notifications
You must be signed in to change notification settings - Fork 8
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
summarize_ds_models()
seems to do nothing as soon as one of the considered models has numerical problems
#148
Comments
@wlangera Thanks for reporting your experience with I'm guessing that if you pass the set of model objects to |
@erex Thanks for the fast reply. The I feel that there should be at least be a (warning) message somewhere. Because now nothing happens when you use |
As far as I understand the problem of some of my models, is that the Hessian could not be calculated. Therefore the I created a workaround for myself in the
I understand this is not very elegant and that it perhaps should not be incorporated in the package. Either way, together with my adjustments provided in #149, it is with these changes possbile to automatically run multiple models in a for loop and perform subsequent model selection even when some models had numerical problems. The latter will be detectable because |
I have run multiple distance models in for loops iterating between different formulas and key functions.
For a few models I get the following message:
I was not able to reproduce this message with a small reproducible example.
When I put all fitted models in the function
summarize_ds_models()
, R is running but nothing is outputted.No summary table about fitted detection functions, but also not even a warning or a message ...
As soon as I remove the problematic models, the function works as expected.
With a lot of models fitted (for example within a for loop), it is not easy to identify which exact models have numerical problems and which can be used with
summarize_ds_models()
.Would it be possible to make sure that
summarize_ds_models()
still outputs a table when only few of the models have numerical problems? These can be skipped and a warning can be placed stating which models were not appropriate to provide summaries (AIC, C-vM p-value, ...).I believe it would aid more automation in model selection because now I had to manually identify and exclude every problematic model.
The text was updated successfully, but these errors were encountered: