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
SUR regression (sureg) for comparing variation accross countries not working - "no observations r(2000)"Hi, I am trying to estimate a simply model for multiple countries using seemingly unrelated regressi…
Replacing Prefix of Variable LabelsHello all, I just reshaped data from long to wide and now have four sets of about 15 variables with …
using ipdmetan functionHi everyone I am running a two-stage IPD meta analysis using the ipdmetan function: Code: ipdmeta…
control group selection for DiDHello! I would like to estimate the effect of a flood event on land prices. I have decided to use a …
Creating a variable that captures if monthly salary is twice as big as the previous month and employment stays the sameHi I want to create a variable that is 1 if the monthly salary is twice as big or more than the pre…
Subscribe to:
Post Comments (Atom)
0 Response to Labour supply model
Post a Comment