Publications by Mateusz Filipski
S21 Homework 3 - Piketty
Reference and disclaimer: This homework is attempting to reproduce parts of the New Yorker article by John Cassidy, dated March 26, 2014, and titled “Piketty’s Inequality Story in Six Charts”. All text was lifted directly from that article. Figures are compiled using data that was found at this address. This is purely an exercise in reprodu...
5153 sym R (11682 sym/6 pcs) 4 img
8610 S21 HW04 Answers - Basic Identification
HW04 Answers - Basics of Identification Mateusz Filipski AQMAE Part 1: Paper using randomized data: Impact of Class Size on Learning Download and go over this seminal paper by Alan Krueger. Krueger (1999) Experimental Estimates of Education Production Functions QJE 114 (2) : 497-532 1.1. Briefly answer these questions: a. What is the causal li...
5102 sym R (4003 sym/10 pcs) 2 tbl
HW07 Maps Answers
HW07 Answers Mateusz Filipski Packages used for this: sf, dplyr, maps, leaflet, raster Overview Task 1: Map presidential elections results with the maps package Alternative option: map whatever you want with the maps package. 1. Download the elections file from harvard database: database (you can download directly into R, but that’s for ano...
2720 sym R (3604 sym/8 pcs) 2 img 1 tbl
HW06 Example
HW06 Example Mateusz Filipski AQMAE The necessary packages are tidyverse, rdd, foreign, stargazer. Download and read the paper: From the AEA website or from A&P Mastering Metrics resources webpage. Get the Carpenter & Dobkin and data: # Can be downloaded here, or stored on my computer data_url <- "http://masteringmetrics.com/wp-content/uploads...
2434 sym R (5492 sym/17 pcs) 7 img 1 tbl
zillow
HW9 example Mateusz AQME knitr::opts_chunk$set(echo = TRUE, eval=TRUE, message=FALSE, warning=FALSE, fig.height=4) necessaryPackages <- c("rvest", "tidyverse") new.packages <- necessaryPackages[ !(necessaryPackages %in% installed.packages()[,"Package"])] if(length(new.packages)) install.packages(new.packages) lapply(necessaryPackag...
1121 sym R (2276 sym/6 pcs) 1 img
PSM_Lasso
HW10 example answers Mateusz Filipski AQMAE 1. Download the data Make a smaller dataset which only contains the variables: c5r2mtsc_std: Standardized math scores catholic: Standardized math scores w3income_1k: Family income in thousands p5numpla: Number of places the student has lived for at least 4 months w3momed_hsb: Is the mother’s educati...
4087 sym R (2996 sym/10 pcs) 5 img 11 tbl