Replication Data for: Addressing Endogeneity Using a Two-Stage Copula Generated Regressor Approach
收藏NIAID Data Ecosystem2026-05-02 收录
下载链接:
https://doi.org/10.7910/DVN/3TRFNF
下载链接
链接失效反馈官方服务:
资源简介:
We provide instructions, codes and datasets for replicating the paper by Yang, Qian and Xie (2024), "Addressing Endogeneity using a Two-stage Copula Generated Regressor Approach." First, we provide a R code to replicate the simulation studies: see simulation_code.R. Second, we provide a R code and a dataset from the public Dominick’s store-level scanner data for empirical illustration: see empirical_illustration_code.R and data_empirical_illustration.csv. [A guide on how to use the code to reproduce each study in the paper] 1. simulation_code.R: This is the R code for replication of simulation results. 2. empirical_illustration_code.R: This is the R code for replication of empirical illustration results in the main manuscript. 3. data_empirical_illustration.csv: This is the Dominick’s toothpaste sales data used for empirical analysis. [A list of the versions of R, packages, and computer specification used in the paper] R version: 4.2.1 (2022-06-23) Processor: MacBook Pro with M1 Pro chip Installed RAM: 32.0 GB To run the program, download all files and save them under the same folder. Then source the R files to run the programs. [Technical Help or Problem Report] We are expecting the R codes to be easy to use and to be working well. Please send any questions or report bugs to Fan Yang (E-mail: fanyang0903@gmail.com).
创建时间:
2024-12-11



