EC2509 – Econometrics B

EC2509 – Econometrics B

EC2509 – Econometrics B

This EC2509 problem set must be handed in via Turnitin by Wednesday 23th February 2022, 23.59

Please submit your answer as a single PDF document. The document should contain the results as well as your written answer to the questions, and an appendix with your full R.codes, which could be used to reproduce your results.

The submitted document should clearly state which question you are attempting. For each question you should include any R output that is required – ideally this should come in form of tables or graphs – , as well as written interpretation of your results – Econometrics is not about being able to produce some R-codes, this is a necessary but not sufficient condition, you also need to be able to explain, in English what you have done, why you have done it, and what we learn from it.

In this problem set you start doing your own piece of analysis in education economics. The research question is: Does attending summer camp improve academic performance?

There is already evidence from Matsudaira (2008) that suggest that attending summer camp improves school performance in maths and reading. You can find it on Moodle.

Question 1 – Planning the project (50 marks)

Before you even open R:

Make a research plan.

  1. In an optimal setting without constraints how could you evaluate the causal impact of the summercamp on academic performance?
  2. What would be your hypothesis?
  3. Spell out the econometric method
  4. Write out the empirical specification and the key parameter of interest
  5. Which covariates? (check what is in the data and be specific about what you are going to use and why)
  • Which covariates might you have wanted in addition to the ones in your dataset if you had collected the data yourself?
  • The impact of summercamp may not be the same for all kids. Think of two characteristics along which its estimated impact may differ, and explain your hypothesis.
  • What may be the threats to internal validity in this economic problem? How can you find out whether it applies here?

Question 2 – Look at the data and merge (5 marks)

You come across an RCT in which an optional, free summer camp is offered to kids around age 10 via a randomised letter to the parents. The camp includes games to improve math and reading and aims at teaching kids to be persistent to achieve their aims in spite of potential setbacks or obstacles. Signup for the summer camp has to be done by the parents on behalf of their children.

The researchers have abandoned the project and you are not sure how good a job they did.

You get hold of data that has one observation per kid and contains:

  • an id for each person,
  • their school’s id,
  • a dummy variable indicating whether they went to summer camp,
  • gender
  • parental income
  • parental education
  • test scores in grade 5, i.e. before the treatment, and below (grades 2-4)
  • test scores in grade 6, i.e after the treatment and in consecutive years (grades 7-10)
  • a dummy variable whether the individual received a letter inviting them to the summercamp

Unfortunately, the data is split into three datasets that have different formats (csv, excel). You find them on Moodle:

school_data_1 (2 and 3)

Install package “readr” which allows you to convert lots of data formats (e.g. csv and stata) into R format.

  • Load and look at each dataset to figure out what information is contained where.
    1. Each dataset has the identifier variable person_id which allows you to combine the three datasets.

Hint: you can get a quick overview of the data structure by displaying the first 6 observations using the command

Head(name of dataset)

  • You now want to combine the three datasets into one. Hint: the common identifier is person_id and you want a final dataset with one observation per person

Check you’ve done it correctly by creating a table of summary statistics including your targeted key outcome variables, key explanatory variables, covariates and write a short paragraph describing the dataset, sample (size) and variables used for analysis!

Question 3 – Knock the data into shape (5 marks)

  1. Instead of a variable for each test score in each year, we would now like to create a panel with one observation per grade and person_id. This means that rather than one obs per person (sample size n), we now want to have 9 observations for each person, one per grade with testscore.

You want to convert something like this:

person_idoth_variabletestscoregrade1testscoregrade2testscoregrade3
15905135
24754541
37693257

Into something that looks like this:

person_idOther variabletestscoregrade
15901
15512
15353
24751
24452
24413
37691
37322
37573

Hint: you will need the tidyverse package and the tidyr library You can do this with the pivot_longer command

Its syntax is

New datasetname <- old dataset name%>5 pivot_longer{

cols=starts_with(“testcore”),     #this is the first variable you want to pivot names_to= “grade”,    #name of the new running variable names_prefix=”testscore”, #testscore variable name starts with

names_transform= list(grade=as.integer), #you could also pivot string variables e.g. so you need to specify the format of the new running variable

values_to=”testscore”, #what you want it to be called afterwards

)

Check how many columns you have after pivoting:

ncol()

and describe it in your report

  • You have probably noticed that some variables have missing observations. Use the skim() function to check how many missing variables you have. Copy the output into your report. How concerned should we be about these missing observations?
  • Let’s assume these values are missing at random and remove these rows using filter(). (library dplyr).

The filter() function takes two arguments. First, the name of the original dataset, and secondly the condition a row must satisfy to be kept in the filtering process. The condition we want to satisfy is that !is.na(variable name). The is.na(variable name) is true if the element (variable name) is missing. Use the “!” to achieve the opposite of that, i.e. the observation is not missing.

  • You can do this step in one step (separating the conditions by a “,” or “&”) or in several separate steps for each variable with missing observations.
  • Report the number of observations that you are left with.

Question 4 – Check the measurements (5 marks)

Is your measure of academic performance comparable across schools and grades? Think about what you can do to make measurements comparable that are on different scales. In

this example, think particularly about whther your variable is comparable across schools and grades (years)?

Produce summary stats for the variables you want to use, and comment on them. Hint: you may need the following commands:

To group a variable by grade, use the group_var command. Check here to see how it works.

To normalise a variable, use a dplyr function: mutate.

The structure is mutate(dataframe, newvar = f(oldvar)) , were f is a function, here the normalisation operation.

Question 5 – Descriptive analysis (20 marks)

And include it in your report

  • Do the treatment and control group differ in their testscores before year 6, i.e. before any treatment takes place? Produce an adequate table, and also draw a histogram of testscores (after the summer school) by your treatment variable.
  • Check the balancedness of the treatment and control group, what do you conclude.

Question 6 – First estimation step (15 marks)

Perform estimation using OLS to answer the research question (without thinking about internal validity etc. yet). You might try more than one model, present your results in a Table (using stargazer).

à what do you find?

Order Now

Get expert help for EC2509 – Econometrics B and many more. 24X7 help, plag free solution. Order online now!

Universal Assignment (July 18, 2025) EC2509 – Econometrics B. Retrieved from https://universalassignment.com/ec2509-econometrics-b/.
"EC2509 – Econometrics B." Universal Assignment - July 18, 2025, https://universalassignment.com/ec2509-econometrics-b/
Universal Assignment May 22, 2023 EC2509 – Econometrics B., viewed July 18, 2025,<https://universalassignment.com/ec2509-econometrics-b/>
Universal Assignment - EC2509 – Econometrics B. [Internet]. [Accessed July 18, 2025]. Available from: https://universalassignment.com/ec2509-econometrics-b/
"EC2509 – Econometrics B." Universal Assignment - Accessed July 18, 2025. https://universalassignment.com/ec2509-econometrics-b/
"EC2509 – Econometrics B." Universal Assignment [Online]. Available: https://universalassignment.com/ec2509-econometrics-b/. [Accessed: July 18, 2025]

Please note along with our service, we will provide you with the following deliverables:

Please do not hesitate to put forward any queries regarding the service provision.

We look forward to having you on board with us.

Categories

Get 90%* Discount on Assignment Help

Most Frequent Questions & Answers

Universal Assignment Services is the best place to get help in your all kind of assignment help. We have 172+ experts available, who can help you to get HD+ grades. We also provide Free Plag report, Free Revisions,Best Price in the industry guaranteed.

We provide all kinds of assignmednt help, Report writing, Essay Writing, Dissertations, Thesis writing, Research Proposal, Research Report, Home work help, Question Answers help, Case studies, mathematical and Statistical tasks, Website development, Android application, Resume/CV writing, SOP(Statement of Purpose) Writing, Blog/Article, Poster making and so on.

We are available round the clock, 24X7, 365 days. You can appach us to our Whatsapp number +1 (613)778 8542 or email to info@universalassignment.com . We provide Free revision policy, if you need and revisions to be done on the task, we will do the same for you as soon as possible.

We provide services mainly to all major institutes and Universities in Australia, Canada, China, Malaysia, India, South Africa, New Zealand, Singapore, the United Arab Emirates, the United Kingdom, and the United States.

We provide lucrative discounts from 28% to 70% as per the wordcount, Technicality, Deadline and the number of your previous assignments done with us.

After your assignment request our team will check and update you the best suitable service for you alongwith the charges for the task. After confirmation and payment team will start the work and provide the task as per the deadline.

Yes, we will provide Plagirism free task and a free turnitin report along with the task without any extra cost.

No, if the main requirement is same, you don’t have to pay any additional amount. But it there is a additional requirement, then you have to pay the balance amount in order to get the revised solution.

The Fees are as minimum as $10 per page(1 page=250 words) and in case of a big task, we provide huge discounts.

We accept all the major Credit and Debit Cards for the payment. We do accept Paypal also.

Popular Assignments

Assignment Help in Mumbai – Trusted, AI-Powered & 100% Plagiarism-Free

Are you a student in Mumbai struggling with tight deadlines, complex assignments, or back-to-back submissions? Don’t worry — Universal Assignment offers the most trusted and professional assignment help in Mumbai, blending AI-powered tools with human expertise to deliver original, high-quality content every time. Whether you’re enrolled in Mumbai University, IIT

Read More »

Sociology Project: Case Analysis of Sarah

Assessment 3 – Final Project (35%)Final ProjectA 2000-word project consisting of three parts.Due: Sunday of Week 11Throughout the trimester, we discuss several serious social issues (e.g., family violence, inequality, poverty, mental health, addiction) and also examine various sociological perspectives (theories) that allow us to view these issues from different angles,

Read More »

ACC1AMD – Fundamentals of Accounting

GENERAL INFORMATION SUBMISSION: RELEVANT SUBJECT LEARNING INTENDED OUTCOMESSILO 1 – Explain the role of accounting in the business environmentSILO 2 – Apply fundamental accounting concepts and ethical principles in recording and reportingbusiness transactions.SILO 3 – Prepare basic financial statements and analyse financial reports for decision-making purposes.SILO 4 – Use information

Read More »

ICT504 IT Project Management

ICT504 IT Project ManagementActivity – Week 11Tech Innovate, a mid-sized technology firm specializing in software development, decided tooutsource its IT support services to a third-party provider, IT Assist Solutions, based in anothercountry. IT Assist Solutions was chosen for its competitive pricing, proven track record andability to provide 24/7 support. The

Read More »

EC502 Language and Literacy in the Early Years

Detailed Assessment Brief Assessment 1- Individual Assessment – Essay Unit Code/Description EC502 Language and Literacy in the Early Years Course/Subject Bachelor of Early Childhood Education Semester March 2025 Assessment Overview   Unit Learning Outcomes Addressed 1, 2, 3, 4 Assessment Objective Assessment 2: Essay Provide a critical review of relevant

Read More »

Examining the Factors Influencing Tourist Arrival

Assignment TaskYou are a strategist working for a major hospitality group based in Australia. The company is planninginternational expansion, and the board has asked you to compile a report to identify the most suitablelocation for the project. The board has shortlisted two international locations (which will be allocatedto you by

Read More »

Decision Making and Problem solving

Assignment Title:“What Are People Saying Online? Using Internet-Based Qualitative Research to SupportBusiness Decision-Making”OverviewIn this assignment, your group (2-4 students from same campus) will investigate howpeople talk online about a business, product, or issue. Using qualitative research techniques,you will collect online data, identify key themes, and recommend actions a business cantake

Read More »

HGA237|337 Juvenile Justice and Child Protection

InstructionsPlease read these instructions carefully. The submission time is Tuesday 10th of June 11:59pm. This is an open-book examination which should take no longer than2 hours to complete. You should set aside 15 minutes for readingtime in addition to these 2 hours. The total time therefore should be2 hours and

Read More »

Assignment Help in Turkey – AI-Powered, Plagiarism-Free Solutions

Are you a student in Turkey seeking reliable assignment help that’s fast, affordable, and 100% original? Universal Assignment combines expert academic guidance with advanced AI tools to deliver top-quality, plagiarism-free work—tailored for students in Istanbul, Ankara, İzmir, and all over Turkey. Why Universal Assignment is Turkey’s #1 Choice Turkish students

Read More »

Assignment Help in Greece – AI-Powered, Plagiarism-Free Academic Support

Struggling with tight deadlines and complex academic tasks in Greece? Whether you’re studying in Athens, Thessaloniki, Patras, or any other city, Universal Assignment is your trusted platform for assignment help in Greece. We combine expert academic writers with advanced AI tools to deliver high-quality, plagiarism-free solutions—on time, every time. ✅

Read More »

Assignment Help in Iraq – AI-Powered, Plagiarism-Free Academic Solutions

Need expert assignment help in Iraq? Whether you’re studying in Baghdad, Basra, Erbil, Mosul, or Karbala, Universal Assignment provides reliable, AI-driven academic support with 100% plagiarism-free work, fast delivery, and expert guidance for students at all academic levels. ✅ Why Students in Iraq Trust Universal Assignment With increasing academic pressure

Read More »

Assignment Help in Uzbekistan – AI-Powered, Plagiarism-Free Academic Services

Assignment Help in Uz Are you a student in Uzbekistan looking for expert, affordable, and 100% original assignment help? Whether you’re studying in Tashkent, Samarkand, Bukhara, Andijan, or Nukus, Universal Assignment delivers high-quality academic support that combines expert writers and AI-powered tools — ensuring you receive plagiarism-free, well-researched content every

Read More »

Assignment Help in Thailand – 100% Original & AI-Powered Academic Assistance

Are you a student in Thailand feeling overwhelmed by academic deadlines, complex assignments, or language barriers? Whether you’re studying in Bangkok, Chiang Mai, Khon Kaen, Pattaya, or Phuket, Universal Assignment is your trusted partner for fast, affordable, and high-quality assignment help in Thailand. We deliver AI-enhanced, plagiarism-free academic solutions tailored

Read More »

Assignment Help in New Zealand – Plagiarism-Free, AI-Enhanced Academic Support

Need assignment help in New Zealand that’s fast, affordable, and 100% original? Whether you’re studying in Auckland, Wellington, Christchurch, Hamilton, or Dunedin, Universal Assignment is your go-to academic partner. We combine expert writers and AI-powered tools to deliver assignments that meet New Zealand’s university standards—with a guaranteed plagiarism-free report. ✅

Read More »

Assignment Help in Colombia – AI-Powered, 100% Plagiarism-Free Support

Are you a student in Colombia facing academic pressure and tight deadlines? Whether you’re studying in Bogotá, Medellín, Cali, Barranquilla, or Cartagena, Universal Assignment provides expert, fast, and affordable assignment help in Colombia — powered by advanced AI tools and professional academic writers. ✅ Why Universal Assignment is Colombia’s Top

Read More »

Assignment Help in India – 100% Plagiarism-Free & AI-Powered Academic Support

Are you a student in India struggling with academic pressure, tight deadlines, or complex topics? Whether you’re in Delhi, Mumbai, Bangalore, Hyderabad, Kolkata, or pursuing online education, Universal Assignment offers expert-written, AI-enhanced, and plagiarism-free assignment help in India for every subject and level. We provide affordable, fast, and high-quality assignment

Read More »

Can't Find Your Assignment?