How to run a constrained regression using GMM technique?

#want to implement GMM in a constrainted model with coefficient of f1 and f2 >0 and

Set the gmm but unable to impose constraint and instrument as f1 and f2 endogeneous

###################################################################
res3 <- gmm(y ~ f1 + f2 , bw=bwWilhelm)
summary(res3)

I suggest you change the tag of this post to "Machine learning and modeling", because it is not really about package development, and the people who could help you don't see it currently.

1 Like