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
Identify observations in >1 variableHello, I wonder if anyone could help with the following: I have 2 variables with unique identifica…
Baseline Gravity Equation EstimationHi, I am currently working on my thesis. I have a dataset of approximetely 120 reporting and partner…
String variable in Do-fileNoob question: I need to use a string variable in the name of other variables. I thought of somethi…
Splitting commandHe Everyone, Hope the dataex command is used correctly here! I need to split the county name. I on…
Dividing the dataset into tertilesDear Statalist members, My actual dataset is large so i am posting an example here. Code: * Exam…
Subscribe to:
Post Comments (Atom)
0 Response to Labour supply model
Post a Comment