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
Related Posts with Labour supply model
Append multiple files based on variable conditionsHi, I have a lot of datasets to append, but Stata runs out of memory as the files are large contain…
Time series and error code 451Hello - I'm trying to declare my data as time series for 30 study participants with data recordings …
Interpretation of coefficients (Log-log/linear)Hello Statalist users, This is my dataset: Code: * Example generated by -dataex-. For more info, t…
Manipulate complex long strings - Drop everything after word "hectares" and keep number of hectaresDear all, I have searched on the Forum for quite some time and tried different approaches to manipul…
DiD after psmatch2Dear all, I want to perform a DiD regression but as my treatment was not randomly assigned, I am us…
Subscribe to:
Post Comments (Atom)
0 Response to Labour supply model
Post a Comment