Dear all,

I want to estimate a discrete choice labour supply model using the package lslogit. I try to run the model with the three forms of utility (i.e. quadratic, translog or boxcox) with and without fixed-cost and with 4 and also 7 alternatives.


Example code : lslogit temp_choice, group(idorigperson) c(ils_dispy) l(leisure) lx1(dag dgn) indeps(fixed_cost) verbose


But I have this error :
<istmt>: 3200 conformability error I also runned with the debug function in stata (set trace on) and my error line is :


mata: lsl_LX1 = ((2 > 0 ? st_data(., tokens("dag dgn")) : J(41631, 0, 0)), J(41631, 1, 1))
<istmt>: 3200 conformability error



What could be the cause if this error?


When I run the model with simulated data (smaller dataset) I have no issue and the predictions are good.



Thanks,



Agathe