UK: +44 748 007-0908, USA: +1 917 810-5386 [email protected]

STATA Problem Set

All submissions must be a single do-file which runs the analysis. Where appropriate, you may add additional explanations or answers as a comment in the
do-file.
Problem 1 (50 points)
Download the Database of Political Institutions from http://dx.doi.org/10.18235/
0003049 and open it in STATA. Keep only the data for the year 2017.

  1. What is the median number of years which the chief executive had spent in
    office in 2017?
  2. What are the mean and the standard deviation of the vote share of all government parties?
  3. What percentage of the governments were left-wing governments in 2017?
  4. How many minority governments were in office in 2017?
  5. Are the variables pr and system independent?
  6. Test the hypothesis, that the number of years which the chief executive has
    spent in office is higher for presidential regimes compared to other types of
    political regimes.
  7. Generate a variable which is one if there are any constraints on the term limit
    of the chief executive and zero otherwise. Run a bivariate regression of the
    number of years in office on this new variable. Interpret the result.
  8. Rerun the regression, adding the pr and system variables. Explain the results. Does the result for the term limit variable change?

Ready to Score Higher Grades?