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
Add Standard Error for optim()
, if Hessian is available
#529
Comments
the only tricky part here is that this assumes that the objective function is a negative log-likelihood function. If someone provides, e.g., a sum-of-squares function, the "standard errors" (sqrt of diag of Hessian) will be bogus. Don't know if this is mentioned in the docs ... |
@bbolker, good point. Do you think that this should simply be a doc update, a warning, or something more? |
A warning seems like it could be onerous (unless there's an option to disable it, which adds further complexity). I think a strongly worded comment in the documentation would be sufficient ... |
Opted to add a note in the docs warning about supplying the correct objective function. Feel free to drop a note here if you think there should be more discussion and I can reopen.🙂 |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
It would be helpful if
tidy_optim()
supported summarizing the Hessian, if present.Created on 2018-11-16 by the reprex package (v0.2.0).
(As mentioned in #505)
The text was updated successfully, but these errors were encountered: