Replication Data for: Addressing Endogeneity Using a Two-Stage Copula Generated Regressor Approach
收藏DataCite Commons2024-12-11 更新2025-04-15 收录
下载链接:
https://dataverse.harvard.edu/citation?persistentId=doi: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.
<br>
<br>
<b>[A guide on how to use the code to reproduce each study in the paper]</b>
<br>
1. simulation_code.R: This is the R code for replication of simulation results.
<br>
2. empirical_illustration_code.R:
This is the R code for replication of empirical illustration results in the main manuscript.
<br>
3. data_empirical_illustration.csv:
This is the Dominick’s toothpaste sales data used for empirical analysis.
<br>
<br>
<b>[A list of the versions of R, packages, and computer specification used in the paper]</b>
<br>
R version: 4.2.1 (2022-06-23)
<br>
Processor: MacBook Pro with M1 Pro chip
<br>
Installed RAM: 32.0 GB
<br>
To run the program, download all files and save them under the same folder. Then source the R files to run the programs.
<br>
<br>
<b>[Technical Help or Problem Report]</b>
<br>
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).
提供机构:
Harvard Dataverse
创建时间:
2024-09-16



