Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Name: Sebastián Muñoz López

Exercise 1: Search the country Sri Lanka and answer the


following questions.

 How many wars has this country experienced? How long did
each last?
Answer: Sri Lanka has experienced three wars. The first one lasted
one year, the second one lasted 17 years. The last war lasted 3
years.
 According to the Polity index, what is the evolution of Sri
Lanka´s political regime?
(https://en.wikipedia.org/wiki/Polity_data_series)

Answer: Sir Lanka had a stable democracy from the years 1948 to 1982. However, since war
has affected the country, Sir Lanka has been transforming into an anocracy, which means that
the democracy has strong tones of a dictatorship.

Exercise 2. Transform another column of your choosing


using formulas. Explain your selection here and include
the new column in the final version you will upload to
moodle.

Exercise 3:
How many civil wars have started from 1945 to 1999?
Answer: 114 wars
 What is the average gdp per capita in the world between
1945 and 1999?
Answer: 3,69377028
What is the minimum GDP per capita in the entire dataset?
Answer: 0.048
 What is the maximum % of mountainous terrain in the entire
dataset?
Answer: 94.229999542 of mountainous terrain.

Exercise 4:
 How many wars lasted one single year?
Answer: 20
 How many wars lasted two years?
Answer: 14
 How many wars lasted more than ten years?
Answer: 34
 How many wars in Subsaharan Africa?
Answer: 34

 How many wars in Asia and Latin America


Asia: 33
Latin America: 14

Exercise 5:

 Which categorical variable did you create? Why?


 Upload the dataset with the two categorical variables
(mountainous – plain and the one you created)

You might also like