This is our second class and our professor has thrown this at us without ever using STATA before,


Playing with data: Load the UNRATE data set into STATA. (UNRATE can be found in the in-class exercises in blackboard.)
Create a time variable called t that starts at 1 and counts up by 1 every period. You can use the “gen” command to create variables and “_n” will refer to the row number. The full command will be “gen t = _n”. Is t in months, quarters or years?
Show me a scatter plot of your data over time t. Print out the picture.
Show me a regression with time as the independent variable and unemployment as the dependent variable. Print the results here.
Analyze your results. Is time a significant predictor of unemployment? What direction does it go in?
What’s the R^2 of your result?
Create an indicator variable called “trump_term” that has the value 1 since Trump took office and 0 otherwise. (He took office in Jan 20, 2017.) Include it in your regression. Print your results.
Analyze your results. Is “trump_term” significant/positive/negative?
What direction does it go in?
What happens to the time variable after adding trump_term?
What’s the R^2 of your result? How did it change from the previous estimation?
Print all of your effective code for this exercise.


Can anyone help me with this over private message to understand atleast where to begin, thank you.