there is a homework of econometrics master level stata needed

There is a homework of 3 questions about Quantitative Econ and Econometrics.

And the third question should use STATA.