-
Notifications
You must be signed in to change notification settings - Fork 0
/
0_master.R
37 lines (23 loc) · 1.02 KB
/
0_master.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
library(tidyverse)
library(lubridate)
home <- getwd()
data_out <- paste0(home, "/Data/")
# 1. Pairwise matching and randomization --------
# data path for local data: switch between Max and Lukas
data_path = "/Users/max/Documents/Jobgarantie/Marienthal_merged/"
# data_path = "/Users/lukas/Documents/Jobgarantie/Marienthal_merged/"
# Data preparation for matching
source("1a_matching_data_prep.R")
# Finding pairwise matches and constructing the treatment assignment
source("1b_pairwise_matching.R")
# Tables and plots for evaluating the pairwise randomization of treatment
source("1c_matching_quality_checks.R")
# 2. Synthetic control --------
data_path = "/Users/max/Documents/Jobgarantie/Population_noe/"
# data_path = "/Users/lukas/Documents/Jobgarantie/Population_noe/"
# Data preparation for the synthetic control
source("2a_synth_data_prep.R")
# Construction of a synthetic control for Gramatneusiedl
source("2b_synthetic_controls.R")
# Tables and plots for evaluating the synthetic control
source("2c_synth_figures.R")