I estimate the following model
However, there is something wrong with the weigthing part. The simultaneous system that I estimate should be weighted, but I get the following error message:
The weights tell me how many observations one observation in my sample represent.
There are no zeros in the weighing variable, so I do not know what is going wrong.
Any suggestions?
Thank you very much!
Code:
irrigation_dummy = croptype_dummy + other variables croptype_dummy = irrigation_dummy + other variables
- irrigation_dummy has 2 categories (0 and 1)
- croptype_dummy has multiple categories (1, 2, 3 ...)
Code:
gsem (irrigation_dummy0 <- ts1 ts2 ts3 ts4 P1[newid]@1 , logit)(croptype_dummy <- ts1 ts2 ts3 ts4 P1[newid]@1 , mlogit) [pweight=SYS02]
Code:
Fitting full model: mopt__check_by_weight(): 3204 <tmp>[0,0] found where scalar required mopt__validate(): - function returned error _moptimize(): - function returned error Mopt_maxmin(): - function returned error <istmt>: - function returned error r(3204);
The weights tell me how many observations one observation in my sample represent.
There are no zeros in the weighing variable, so I do not know what is going wrong.
Any suggestions?
Thank you very much!
Comment