Description Details Datasets Empirical tools Note References
The vietnamdata
package provides several datasets that are useful for
political scientists interested in Vietnam, and convenient functions for
empirical analysis using these datasets
The package contains four key datasets: planned national budget breakdowns by provinces, realized national budget breakdowns by provinces, Provincial Competitiveness Index (PCI) aggregate and component scores by provinces, and Public Administration Performance Index (PAPI) aggregate and component scores by provinces.
It also provides convenient functions to perform Randomization Inference implementation for some common empirical methods such as Linear Regression, Weighted Fixed Effects Regression, and Synthetic Control. These functions are often helpful for finite-sample problems that often characterize provincial-level quantitative analyses of Vietnam.
VNbudget_plan
is a data frame containing planned national
budget broken down by provinces for all Vietnamese provinces from 2006 to
2016. Planned budgets are issued at the beginning of every year. It
contains 46 variables, which include province and year IDs, total revenues,
total expenditures, central transfers broken down by categories, as well as
log transformations, lags and change values for the latter.
VNbudget_final
is a data frame containing realized national
budget broken down by provinces for all Vietnamese provinces from 2006 to
2014. Realized budgets are calculated at the end of every year. It contains
38 variables, which include province and year IDs, total revenues, total
expenditures, central transfers broken down by categories, as well as log
transformations, lags and change values for the latter.
pci
is a data frame containing results from the Provincial
Competitiveness Index (PCI) survey, aggregated at the province level for
all Vietnamese provinces from 2005 to 2016. It contains 15 variables, which
include province and year IDs, weighted and unweighted aggregate PCI
scores, and component PCI scores.
papi
is a data frame containing results from the Public
Administration Performance Index (PAPI) survey, aggregated at the province
level for all Vietnamese provinces from 2005 to 2016. It contains 15
variables, which include province and year IDs, weighted and unweighted
aggregate PAPI scores, and component PAPI scores.
rireg
performs Randomization Inference for Ordinary Least Squares regressions
riwfe
performs Randomization Inference for Weighted Fixed Effects regressions
riSynth
performs Randomization Inference for the Synthetic Control method,
with option for parallel computation
plot.riFit
and plot.riSynth
produces simple visualization for results
from rireg
, riwfe
, and riSynth
genperms
produces permutation matrices for an arbitrary vector with options for
block and clustered randomization. Can permute non-binary vectors
The functions in this package makes heavy use of existing functions from
the wfe
, Synth
, and permute
packages. All errors in
implementation, howerver, are my own.
Abadie, Alberto, Alexis Diamond, and Jens Hainmueller. "Synth: An R package for synthetic control methods in comparative case studies." (2011).
Kim, In Song, Kosuke Imai, and Maintainer In Song Kim. "Package <e2><80><98>wfe<e2><80><99>." (2014).
Knaus, Jochen. "snowfall: Easier cluster computing (based on snow)." (2010).
Simpson, Gavin L. "Restricted permutations; using the permute package." (2012).
Wickham, Hadley. ggplot2: elegant graphics for data analysis. Springer, 2016.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.