Homework 5


Answer the questions (below), and keep track of your answers somewhere (a notepad?). You will input your answers into Canvas. Figure out the answers BEFORE opening Canvas, otherwise you’ll run out of time.


New skill used (note: you will want to watch the new video before attempting the homework):

  • summary statistics

My awkward Google Sheets video tutorials are here

Displacement in Colombia

Let’s look at this survey data I collected in Colombia as part of my dissertation research. The survey captures responses from people in rural areas that have been heavily affected by the conflict, and includes both people who were and weren’t displaced during the war (variable dictionary below). Every row here is a person who completed the survey.

Variable Description
sex Respondent sex
hhsize Number of people in household
age_num Respondent age
displace Was respondent displaced? (1 = yes, 0 = no)
yrs_dis Number of years that respondent has been displaced
other_victim Was respondent victim of other violence beside displacement? (1 = yes, 0 = no)
endorse_coca Should coca production be legalized?
rest_yn Is respondent seeking restitution of property lost during diplacement (1 = yes, 0 = no)?
dis_return Has respondent returned to community they were displaced from? (1 = yes, 0 = no)
  1. You can find many stories on the internet of people who have been displaced or are living as refugees in different parts of the world. Find one of these stories and, in four to five sentences, tell us about the person, what happened to them, and where they are now. Include the url to the story in your entry.

Now, using the data, answer the following questions:

  1. How many years has the AVERAGE person in the sample been displaced?

  2. How large (number of people) is the LARGEST household in the sample?

  3. What is the relationship between how old a respondent is and how long they have been displaced? Make a scatterplot (points) with respondent age on x-axis and years since displacement on the y axis, and add a trend line. Save the plot, you will submit it.

  4. (Based on graph) In general, people who are older tend to have been displaced _____

  5. About what PERCENT of respondents who were displaced have ALSO been the victim of another form of violence beside displacement? Calculate the PERCENT of respondents who have been victims of other forms of violence, then filter so you only look at respondents who have been displaced.

  6. About what percent of the sample would favor the legalization of coca production? Take “strong approve” and “approve” to both mean they would favor legalization.

  1. Now, compare the PERCENT of men and women who have managed to return to their community of origin. About how much more likely (how many PERCENTAGE points more) are men to have returned to their origin community than women?