Author: Leo Y. Yang [email protected]
This package is used to do the program evaluation using the Panel Data Approach raised by Cheng Hsiao, H. Steve Ching, and Shui Ki Wan (2012), "A panel data approach for program evaluation: measuring the benefits of political and economic integration of Hong kong with mainland China", Journal of Applied Econometrics.
# The development version from GitHub:
# install.packages("devtools")
devtools::install_github("jpshuimu/rhcw")
This package includes the data from Hsiao et.al (2012).
library(rhcw)
data <- hcw_data
head(data)
date | Hong Kong | Australia | Austria | Canada | Denmark |
---|---|---|---|---|---|
1993Q1 | 0.062 | 0.040 | -0.013 | 0.010 | -0.012 |
1993Q2 | 0.059 | 0.038 | -0.008 | 0.021 | -0.003 |
1993Q3 | 0.058 | 0.023 | 0.001 | 0.019 | -0.008 |
result <- draw_donorpool(data = hcw_data,
target_name = "Hong Kong",
donorpool_name = NULL,
time_name = "date",
period = 20,
nvmax = 6)
plot_sim_result(result)
plot_delta(result)
placebo_time(result, lead_period = 5)
placebo_unit(result)