Singular Hessian and estimated parameters close to 0
Posted: 27 Apr 2021, 16:31
Hello all,
I am facing a problem with estimating a simple MNL model. I have done this several times before without any problems, but with the current model I always geht the error message "Singular Hessian, cannot calculate s.e.". Furthermore, all my estimated paramters are very close to 0. I have already tried different starting values for my Betas, used different starting routines for the model and varied in the used paramters. Even the simplest MNL (only asc) brings up the same problem. Does anyone know, what the problem could be? For further details, please have a look at the apollo output below.
Thanks in advance and best regards
Lukas
************************************************************************************************************************************************************************************
Overview of choices for MNL model component :
user non_user
Times available 10131.00 10131.00
Times chosen 3808.00 6323.00
Percentage chosen overall 37.59 62.41
Percentage chosen when available 37.59 62.41
Pre-processing likelihood function...
Testing likelihood function........
Starting main estimation
Initial function value: -7022.274
Initial gradient value:
asc_ES b_male b_age_5 b_age_6 b_age_7 b_taet_berufv b_taet_beruft b_taet_bildung
1257.5 314.0 455.0 272.5 73.0 725.5 279.5 -35.0
initial value 7022.274086
iter 1 value 7022.274086
final value 7022.274086
converged
Estimated parameters:
Estimate
asc_noES 0.000
asc_ES 8.439e-16
b_male 2.107e-16
b_age_5 3.053e-16
b_age_6 1.829e-16
b_age_7 4.899e-17
b_taet_berufv 4.869e-16
b_taet_beruft 1.876e-16
b_taet_bildung -2.349e-17
Computing covariance matrix using analytical gradient.
0%....25%....50%....75%.100%
ERROR: Singular Hessian, cannot calculate s.e.
Hessian written to MNL_xxx.csv
Computing score matrix...
Calculating LL(0)...
Calculating LL of each model component...
> apollo_modelOutput(model)
Model run using Apollo for R, version 0.2.1 on Windows by xxx
www.ApolloChoiceModelling.com
Model name : MNL_xxx
Model description : MNL-Modell fuer xxx
Model run at : 2021-04-27 17:10:24
Estimation method : bfgs
Model diagnosis : successful convergence
Number of individuals : 10131
Number of observations : 10131
Number of cores used : 1
Model without mixing
LL(start) : -7022.274
LL(0) : -7022.274
LL(final) : -7022.274
Rho-square (0) : 0
Adj.Rho-square (0) : -0.0011
AIC : 14060.55
BIC : 14118.34
Estimated parameters : 8
Time taken (hh:mm:ss) : 00:00:1.55
pre-estimation : 00:00:0.68
estimation : 00:00:0.25
post-estimation : 00:00:0.63
Iterations : 1
Min abs eigenvalue of Hessian : 0
Estimates:
Estimate s.e. t.rat.(0) Rob.s.e. Rob.t.rat.(0)
asc_noES 0.000 NA NA NA NA
asc_ES 8.439e-16 NA NA NA NA
b_male 2.107e-16 NA NA NA NA
b_age_5 3.053e-16 NA NA NA NA
b_age_6 1.829e-16 NA NA NA NA
b_age_7 4.899e-17 NA NA NA NA
b_taet_berufv 4.869e-16 NA NA NA NA
b_taet_beruft 1.876e-16 NA NA NA NA
b_taet_bildung -2.349e-17 NA NA NA NA
I am facing a problem with estimating a simple MNL model. I have done this several times before without any problems, but with the current model I always geht the error message "Singular Hessian, cannot calculate s.e.". Furthermore, all my estimated paramters are very close to 0. I have already tried different starting values for my Betas, used different starting routines for the model and varied in the used paramters. Even the simplest MNL (only asc) brings up the same problem. Does anyone know, what the problem could be? For further details, please have a look at the apollo output below.
Thanks in advance and best regards
Lukas
************************************************************************************************************************************************************************************
Overview of choices for MNL model component :
user non_user
Times available 10131.00 10131.00
Times chosen 3808.00 6323.00
Percentage chosen overall 37.59 62.41
Percentage chosen when available 37.59 62.41
Pre-processing likelihood function...
Testing likelihood function........
Starting main estimation
Initial function value: -7022.274
Initial gradient value:
asc_ES b_male b_age_5 b_age_6 b_age_7 b_taet_berufv b_taet_beruft b_taet_bildung
1257.5 314.0 455.0 272.5 73.0 725.5 279.5 -35.0
initial value 7022.274086
iter 1 value 7022.274086
final value 7022.274086
converged
Estimated parameters:
Estimate
asc_noES 0.000
asc_ES 8.439e-16
b_male 2.107e-16
b_age_5 3.053e-16
b_age_6 1.829e-16
b_age_7 4.899e-17
b_taet_berufv 4.869e-16
b_taet_beruft 1.876e-16
b_taet_bildung -2.349e-17
Computing covariance matrix using analytical gradient.
0%....25%....50%....75%.100%
ERROR: Singular Hessian, cannot calculate s.e.
Hessian written to MNL_xxx.csv
Computing score matrix...
Calculating LL(0)...
Calculating LL of each model component...
> apollo_modelOutput(model)
Model run using Apollo for R, version 0.2.1 on Windows by xxx
www.ApolloChoiceModelling.com
Model name : MNL_xxx
Model description : MNL-Modell fuer xxx
Model run at : 2021-04-27 17:10:24
Estimation method : bfgs
Model diagnosis : successful convergence
Number of individuals : 10131
Number of observations : 10131
Number of cores used : 1
Model without mixing
LL(start) : -7022.274
LL(0) : -7022.274
LL(final) : -7022.274
Rho-square (0) : 0
Adj.Rho-square (0) : -0.0011
AIC : 14060.55
BIC : 14118.34
Estimated parameters : 8
Time taken (hh:mm:ss) : 00:00:1.55
pre-estimation : 00:00:0.68
estimation : 00:00:0.25
post-estimation : 00:00:0.63
Iterations : 1
Min abs eigenvalue of Hessian : 0
Estimates:
Estimate s.e. t.rat.(0) Rob.s.e. Rob.t.rat.(0)
asc_noES 0.000 NA NA NA NA
asc_ES 8.439e-16 NA NA NA NA
b_male 2.107e-16 NA NA NA NA
b_age_5 3.053e-16 NA NA NA NA
b_age_6 1.829e-16 NA NA NA NA
b_age_7 4.899e-17 NA NA NA NA
b_taet_berufv 4.869e-16 NA NA NA NA
b_taet_beruft 1.876e-16 NA NA NA NA
b_taet_bildung -2.349e-17 NA NA NA NA