Here's the deal. I am an absolute noob when it comes to using Stata, having used it only once in my life. My coursework is due very soon and I really need help with the questions. It requires me to include each stata command that would be used to answer each question, and an explanation as to how I managed to answer the question.

I would be extremely grateful if anyone with even the slightest knowledge of using Stata could contribute to this post and help me out!

The questions are attached!