Dear all,
I am trying to employ a Heckman selection model to a multiple imputed dataset. However, when I type:
mi estimate, cmdok vceok esampvaryok: svy: heckman depvar (indepvars), select(depvar = varlist) (twostep)
where depvar, indepvars and varlist refer to a list of variables chosen for the analysis
it returns:
option twostep not allowed with the svy prefix
an error occurred when mi estimate executed svy:heckman on m=1
The twostep is not allowed with the svy prefix and the same holds for the weights (data is weighted).
Is there a way to overcome this?
Thank you in advance!
I am trying to employ a Heckman selection model to a multiple imputed dataset. However, when I type:
mi estimate, cmdok vceok esampvaryok: svy: heckman depvar (indepvars), select(depvar = varlist) (twostep)
where depvar, indepvars and varlist refer to a list of variables chosen for the analysis
it returns:
option twostep not allowed with the svy prefix
an error occurred when mi estimate executed svy:heckman on m=1
The twostep is not allowed with the svy prefix and the same holds for the weights (data is weighted).
Is there a way to overcome this?
Thank you in advance!
Comment