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

Derive and Implement Analytic Hessian for Nested Logit #4

Open
timothyb0912 opened this issue Dec 5, 2016 · 2 comments
Open

Derive and Implement Analytic Hessian for Nested Logit #4

timothyb0912 opened this issue Dec 5, 2016 · 2 comments

Comments

@timothyb0912
Copy link
Owner

timothyb0912 commented Dec 5, 2016

I plan to get around to this at some point in the coming months. Pull requests, in the meantime, are always welcome though.

At the moment, the sum of the outer products of the gradient are used as an approximation to the actual hessian.

@Eh2406
Copy link

Eh2406 commented Dec 5, 2016

Do we know that the Hessian has a closed form? If so do we know what it is? ("Derive" suggests we may not.) All answers are okay. Just trying to assess how much work this will be.

@timothyb0912
Copy link
Owner Author

timothyb0912 commented Dec 5, 2016

Hey, sorry for the confusion.

I am pretty sure the hessian exists in closed-form, although its form is a bit complicated. I say this based on the fact that the gradient exists in closed form and nothing indicates that the derivative of the gradient would be undefined or lose its closed-form nature.

I say derive simply because I haven't seen explicit formulas for the hessian written down anywhere but it doesn't seem impossible (just tedious).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants