Impact of numDeriv and maxLik on estimating the hessian
Posted: 04 Dec 2020, 07:29
Hi,
I have been estimating a mixed logit discrete choice model in Apollo and I was receiving errors indicating positivity in the hessian and some NaN's for standard errors while using the maxLik package to estimate the hessian. If I use the numDeriv package the model has stabilised (okay hessian and all se's estimated). Should I be concerned? I have estimated the model using other software and output/model is stable (converging okay, negative hessian and se's okay). Parameter estimates are consistent for all versions. I have been estimating at 6000 sobol draws (3030 obs, 11 random parameters and 11 fixed parameters).
Interested to hear your thoughts on the impact of using these different packages to estimate the hessian in Apollo.
Cheers
I have been estimating a mixed logit discrete choice model in Apollo and I was receiving errors indicating positivity in the hessian and some NaN's for standard errors while using the maxLik package to estimate the hessian. If I use the numDeriv package the model has stabilised (okay hessian and all se's estimated). Should I be concerned? I have estimated the model using other software and output/model is stable (converging okay, negative hessian and se's okay). Parameter estimates are consistent for all versions. I have been estimating at 6000 sobol draws (3030 obs, 11 random parameters and 11 fixed parameters).
Interested to hear your thoughts on the impact of using these different packages to estimate the hessian in Apollo.
Cheers