My dependent variable is gini coeff and explanatory variables included lagged gini variable , trade and FDI variables (which can cause endogeneity problem),GDP,GDP-square ? I thought of using System GMM since i have lagged dependent variable and endogeneity problem. Also,please guide when there is square term of GDP in my explanatory variables can still system GMM be used?