Hi all,

I want to do a two-step GMM estimation with multi-level moment conditons (the objective functions and moment condisitons are in the image), is there any way to achieve it in STATA?
I post a sample data file below. Y here is Wkwage, X include Educ, Exp, White, Mid, South, West, and a constant.

Any suggest will be greatly appreciated!