DA Homework 5

Task 1

Download the sample-cohort.csv from the Data section. It contains sample data from the National Assessment of Basic Competencies. All of you (who finished high school in Hungary) had to fulfill this survey in your 6th, 8th and 10th grade. This sample is about the cohort who started their 6th grade in 2010 (when I graduated from BME), without the students in 8-class schools. The sample contains 8 variables: the id, the type of the school in 8th grade (either primary school or 6-class school, called “Elite6”), the math and reading scores from both the 6th and 8th grade, and the education level of the student’s parents.

  • How many students went to 6-class schools in the sample? What share?
  • Plot the distribution of math or reading scores in 8th grade by school types. Which school’s students perform better?
  • Run a regression of 8th grade math score on school types. Interpret the coefficients.
  • Do you think it shows that elite schools are better? How could you get closer to answer this question? Try to run regressions and interpret what you get.