I am estimating utility function parameters with STATAs ml command. I am wondering if there is a way to include an instrumental variable with the ml command. The code (to be run after having defined the ml program) looks like this. Now suppose I have an endogenous variable in the regressors, what can I do? Thank you
ml model lf RP_CPT (gamma: choice prob1a prob2a prob1b prob2b x1a x2a x1b x2b moment = $det ) (lambda: $det ) (sigma: $det ) (theta: $det ) (noise: ), technique(nr) cluster(id)
ml model lf RP_CPT (gamma: choice prob1a prob2a prob1b prob2b x1a x2a x1b x2b moment = $det ) (lambda: $det ) (sigma: $det ) (theta: $det ) (noise: ), technique(nr) cluster(id)
Comment