The working paper is available here.
Install jointCalib
package
install.packages("remotes")
remotes::install_github("ncn-foreigners/jointCalib")
remotes::install_github("ncn-foreigners/nonprobsvy") ## for IPW with calibration constraints
Then, restart R and load the package
library(jointCalib)
library(nonprobsvy)
- Main simulation from the paper based on Chen, Y., Li, P., and Wu, C. (2020). Doubly robust inference with nonprobability survey samples. Journal of the American Statistical Association, 115(532):2011–2021
- Tutorial for the
jointCalib
package - A minimal example of joint calibration in R, Python and stata
codes/
– code for simulationfigs/
– figures that correspondst to table in the papernotebooks/
– notebooks with processing resultspaper/
– folder with the paperresults/
– files with tables based on simulation
Work on this paper is supported by the the National Science Center, OPUS 22 grant no. 2020/39/B/HS4/00941.