<?xml version='1.0' encoding='UTF-8'?><codeBook xmlns="ddi:codebook:2_5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ddi:codebook:2_5 https://ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" version="2.5"><docDscr><citation><titlStmt><titl>Replication Data for: A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data</titl><IDNo agency="DOI">doi:10.7910/DVN/ZVC9W5</IDNo></titlStmt><distStmt><distrbtr source="archive">Harvard Dataverse</distrbtr><distDate>2022-05-02</distDate></distStmt><verStmt source="archive"><version date="2022-05-02" type="RELEASED">1</version></verStmt><biblCit>Liu, Licheng; Wang, Ye; Xu, Yiqing, 2022, "Replication Data for: A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data", https://doi.org/10.7910/DVN/ZVC9W5, Harvard Dataverse, V1, UNF:6:gJRdTz84oqmez8xIYKyPUA== [fileUNF]</biblCit></citation></docDscr><stdyDscr><citation><titlStmt><titl>Replication Data for: A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data</titl><IDNo agency="DOI">doi:10.7910/DVN/ZVC9W5</IDNo></titlStmt><rspStmt><AuthEnty affiliation="Massachusetts Institute of Technology">Liu, Licheng</AuthEnty><AuthEnty affiliation="Massachusetts Institute of Technology">Wang, Ye</AuthEnty><AuthEnty affiliation="Stanford University">Xu, Yiqing</AuthEnty></rspStmt><prodStmt><producer>Xu, Yiqing</producer></prodStmt><distStmt><distrbtr source="archive">Harvard Dataverse</distrbtr><contact email="yiqingxu@stanford.edu">Xu, Yiqing</contact><depositr>Xu, Yiqing</depositr><depDate>2022-03-02</depDate></distStmt><holdings URI="https://doi.org/10.7910/DVN/ZVC9W5"/></citation><stdyInfo><subject><keyword xml:lang="en">Social Sciences</keyword><keyword>Imputation methods</keyword><keyword>Counterfactual estimators</keyword><keyword>Twoway fixed effects</keyword><keyword>Parallel trends</keyword><keyword>Interactive fixed effects</keyword><keyword>Matrix completion</keyword><keyword>Equivalence tests</keyword><keyword>Placebo tests</keyword><keyword>Time-series cross-sectional data</keyword><keyword>Panel data</keyword></subject><abstract date="2022-03-02">This paper introduces a simple framework of counterfactual estimation for causal inference with time-series cross-sectional data, in which we estimate the average treatment effect on the treated by directly imputing counterfactual outcomes for treated observations. We discuss several novel estimators under this framework, including the fixed effects counterfactual estimator, interactive fixed effects counterfactual estimator, and matrix completion estimator. They provide more reliable causal estimates than conventional twoway fixed effects models when treatment effects are heterogeneous or unobserved time-varying confounders exist. Moreover, we propose a new dynamic treatment effects plot, along with several diagnostic tests, to help researchers gauge the validity of the identifying assumptions. We illustrate these methods with two political economy examples and develop an open-source package, fect, in both R and Stata to facilitate implementation.</abstract><sumDscr/><notes>This dataset underwent an independent verification process that replicated the tables and figures in the primary article. For the supplementary materials, verification was performed solely for the successful execution of code. The verification process was carried out by the Odum Institute for Research in Social Science at the University of North Carolina at Chapel Hill. 
&lt;br>&lt;/br>
The associated article has been awarded Open Materials and Open Data Badges. Learn more about the Open Practice Badges from the &lt;a href="https://osf.io/tvyxz/wiki/home/" target="_blank">Center for Open Science&lt;/a>.&lt;br>&lt;/br>
&lt;img src="https://odum.unc.edu/files/2020/03/OpenData_PR-1.png" alt="Open Data Badge" height="77" width="80">
&lt;img src="https://odum.unc.edu/files/2020/03/OpenMaterials_PR-1.png" alt="Open Materials Badge" height="77" width="80"></notes></stdyInfo><method><dataColl><sources><dataSrc>Hainmueller, Jens and Dominik Hangartner. 2015. “Does Direct Democracy Hurt Immigrant Minorities? Evidence from Naturalization Decisions in
Switzerland.” American Journal of Political Science 63(33): pp. 14–38.</dataSrc><dataSrc>&lt;br>&lt;/br>
Fouirnaies, Alexander and Hande Mutlu-Eren. 2015. “English Bacon: Copartisan Bias in Intergovernmental Grant Allocation in England.” The Journal of
Politics 77(3):805–817.</dataSrc></sources></dataColl><anlyInfo/></method><dataAccs><setAvail/><useStmt><disclaimer>The &lt;i>American Journal of Political Science&lt;/i> and the Odum Institute for Research in Social Science are not responsible for the accuracy or quality of data uploaded within the &lt;i>AJPS&lt;/i> Dataverse, for the use of those data, or for interpretations or conclusions based on their use.</disclaimer></useStmt><notes type="DVN:TOU" level="dv">This dataset is made available with limited information on how it can be used. You may wish to communicate with the Contact(s) specified before use.</notes></dataAccs><othrStdyMat><relPubl><citation><titlStmt><titl>Liu, Licheng, Ye Wang, and Yiqing Xu. [date]. “A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data.” 
&lt;i>American Journal of Political Science&lt;/i> Forthcoming. &lt;a href="http://ajps.org/" target="_blank">http://ajps.org/&lt;/a></titl></titlStmt><biblCit>Liu, Licheng, Ye Wang, and Yiqing Xu. [date]. “A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data.” 
&lt;i>American Journal of Political Science&lt;/i> Forthcoming. &lt;a href="http://ajps.org/" target="_blank">http://ajps.org/&lt;/a></biblCit></citation></relPubl></othrStdyMat></stdyDscr><fileDscr ID="f6165625" URI="https://dataverse.harvard.edu/api/access/datafile/6165625"><fileTxt><fileName>fm2015.tab</fileName><dimensns><caseQnty>8059</caseQnty><varQnty>6</varQnty></dimensns><fileType>text/tab-separated-values</fileType></fileTxt><notes level="file" type="VDC:UNF" subject="Universal Numeric Fingerprint">UNF:6:IvMmibETutwUCmTsaMjSEw==</notes><notes level="file" type="DATAVERSE:FILEDESC" subject="DataFile Description">Data file for Fouirnaies and Mutlu-Eren (2015).</notes></fileDscr><fileDscr ID="f6165649" URI="https://dataverse.harvard.edu/api/access/datafile/6165649"><fileTxt><fileName>hh2015.tab</fileName><dimensns><caseQnty>25431</caseQnty><varQnty>4</varQnty></dimensns><fileType>text/tab-separated-values</fileType></fileTxt><notes level="file" type="VDC:UNF" subject="Universal Numeric Fingerprint">UNF:6:NH5HjUjeLXrV6y/B92dM6g==</notes><notes level="file" type="DATAVERSE:FILEDESC" subject="DataFile Description">Data file for Hainmueller and Hangartner (2015).</notes></fileDscr><dataDscr><var ID="v27582194" name="councilnumber" intrvl="contin"><location fileid="f6165625"/><labl level="variable">group(assembly_name type)</labl><sumStat type="mode">.</sumStat><sumStat type="mean">234.90197294949175</sumStat><sumStat type="max">466.0</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="medn">235.0</sumStat><sumStat type="stdev">133.7637004015898</sumStat><sumStat type="min">1.0</sumStat><sumStat type="vald">8059.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:347MxyPjxAafKU5FrDMhcw==</notes></var><var ID="v27582190" name="year" intrvl="discrete"><location fileid="f6165625"/><labl level="variable">year</labl><sumStat type="min">1992.0</sumStat><sumStat type="medn">2002.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="mean">2001.778632584688</sumStat><sumStat type="vald">8059.0</sumStat><sumStat type="stdev">6.0233174007919175</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="max">2012.0</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:aIM4PVCAm6wB1ZAqkqq4WA==</notes></var><var ID="v27582191" name="logSgwaPercap" intrvl="contin"><location fileid="f6165625"/><sumStat type="stdev">2.070203110908401</sumStat><sumStat type="mean">2.740338865728027</sumStat><sumStat type="medn">2.269418716430664</sumStat><sumStat type="vald">7993.0</sumStat><sumStat type="max">7.73755407333374</sumStat><sumStat type="min">-2.42921781539917</sumStat><sumStat type="mode">.</sumStat><sumStat type="invd">66.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:VKlrWeJy+PFyQwpxbBcLog==</notes></var><var ID="v27582195" name="treat" intrvl="contin"><location fileid="f6165625"/><sumStat type="min">0.0</sumStat><sumStat type="stdev">0.44696752571922876</sumStat><sumStat type="mode">.</sumStat><sumStat type="medn">0.0</sumStat><sumStat type="max">1.0</sumStat><sumStat type="vald">7758.0</sumStat><sumStat type="mean">0.2758442897654041</sumStat><sumStat type="invd">301.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:xjIFJRORO3TG1rZ+Vt2TQw==</notes></var><var ID="v27582192" name="first_treat" intrvl="contin"><location fileid="f6165625"/><sumStat type="vald">6909.0</sumStat><sumStat type="medn">1997.0</sumStat><sumStat type="stdev">6.91163178368417</sumStat><sumStat type="min">1992.0</sumStat><sumStat type="max">2011.0</sumStat><sumStat type="mean">1998.7595889419597</sumStat><sumStat type="mode">.</sumStat><sumStat type="invd">1150.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:mo0jMviOBKH4JUPWVJkv2Q==</notes></var><var ID="v27582193" name="cohort" intrvl="contin"><location fileid="f6165625"/><sumStat type="vald">8059.0</sumStat><sumStat type="mean">1.6597592753443324</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="stdev">0.9632783497390438</sumStat><sumStat type="max">3.0</sumStat><sumStat type="min">0.0</sumStat><sumStat type="medn">2.0</sumStat><sumStat type="mode">.</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:l2epoanM/cmo1+ZSTGFcaQ==</notes></var><var ID="v27582198" name="bfs" intrvl="contin"><location fileid="f6165649"/><labl level="variable">Municipality BFS code</labl><sumStat type="max">6800.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="stdev">2145.77464075097</sumStat><sumStat type="min">1.0</sumStat><sumStat type="mean">3183.132122212093</sumStat><sumStat type="vald">25431.0</sumStat><sumStat type="medn">3219.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:2LtYJIUUSEA9NoqX641uzw==</notes></var><var ID="v27582197" name="year" intrvl="contin"><location fileid="f6165649"/><sumStat type="min">1990.0</sumStat><sumStat type="vald">25431.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="stdev">6.055419765237458</sumStat><sumStat type="mean">2000.0</sumStat><sumStat type="max">2010.0</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="medn">2000.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:IeHtOs26nNk1k/x2XtP0Kw==</notes></var><var ID="v27582199" name="nat_rate_ord" intrvl="contin"><location fileid="f6165649"/><sumStat type="stdev">4.569704530193323</sumStat><sumStat type="vald">23009.0</sumStat><sumStat type="max">46.66666793823242</sumStat><sumStat type="mean">2.469583367716359</sumStat><sumStat type="invd">2422.0</sumStat><sumStat type="min">0.0</sumStat><sumStat type="medn">0.39777249097824097</sumStat><sumStat type="mode">.</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:9knNCQVeRiE+/0729Cd4+A==</notes></var><var ID="v27582196" name="indirect" intrvl="contin"><location fileid="f6165649"/><sumStat type="vald">25431.0</sumStat><sumStat type="stdev">0.47761905223195444</sumStat><sumStat type="medn">0.0</sumStat><sumStat type="min">0.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="mean">0.35205064684834164</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="max">1.0</sumStat><varFormat type="numeric" formatname="float"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:hab33J/GI3zA36uGX8tvRQ==</notes></var></dataDscr><otherMat ID="f6165621" URI="https://dataverse.harvard.edu/api/access/datafile/6165621" level="datafile"><labl>0_root.R</labl><txt>Execute all code files.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165627" URI="https://dataverse.harvard.edu/api/access/datafile/6165627" level="datafile"><labl>1_ex_sim0.R</labl><txt>Performs analysis on a simulated dataset.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165628" URI="https://dataverse.harvard.edu/api/access/datafile/6165628" level="datafile"><labl>2_ex_HH2015.R</labl><txt>Performs analysis on Hainmueller and Hangartner (2015).</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165633" URI="https://dataverse.harvard.edu/api/access/datafile/6165633" level="datafile"><labl>3_ex_FM2015.R</labl><txt>Performs analysis on Fouirnaies and Mutlu-Eren (2015).</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165641" URI="https://dataverse.harvard.edu/api/access/datafile/6165641" level="datafile"><labl>4_sim_tests_n100.R</labl><txt>Conducts simulations comparing the F test and the equivalence test (n = 100). </txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165624" URI="https://dataverse.harvard.edu/api/access/datafile/6165624" level="datafile"><labl>5_sim_tests_n300.R</labl><txt>Conducts simulations comparing the F test and the equivalence test (n = 300).</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165634" URI="https://dataverse.harvard.edu/api/access/datafile/6165634" level="datafile"><labl>6_sim_ife_mc.R</labl><txt>Conducts simulations comparing IFEct and MC.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165644" URI="https://dataverse.harvard.edu/api/access/datafile/6165644" level="datafile"><labl>7_sim_inference.R</labl><txt>Conduct simulations to investigate the properties of inferential methods.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165630" URI="https://dataverse.harvard.edu/api/access/datafile/6165630" level="datafile"><labl>8_plot_sim.R</labl><txt>Plot simulation results.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6182777" URI="https://dataverse.harvard.edu/api/access/datafile/6182777" level="datafile"><labl>Codebook.pdf</labl><txt>Codebook.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/pdf</notes></otherMat><otherMat ID="f6165635" URI="https://dataverse.harvard.edu/api/access/datafile/6165635" level="datafile"><labl>ex_FM2015.RData</labl><txt>Stored results for Fouirnaies and Mutlu-Eren (2015).</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165652" URI="https://dataverse.harvard.edu/api/access/datafile/6165652" level="datafile"><labl>ex_HH2015.RData</labl><txt>Stored results for Hainmueller and Hangartner (2015).</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165647" URI="https://dataverse.harvard.edu/api/access/datafile/6165647" level="datafile"><labl>fastplm_1.0.8.tar.gz</labl><txt>Source file for R package “fastplm”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/gzip</notes></otherMat><otherMat ID="f6165639" URI="https://dataverse.harvard.edu/api/access/datafile/6165639" level="datafile"><labl>fect_0.4.1.tar.gz</labl><txt>Source file for R package “fect”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/gzip</notes></otherMat><otherMat ID="f6165645" URI="https://dataverse.harvard.edu/api/access/datafile/6165645" level="datafile"><labl>log_fm2015.txt</labl><txt>Log file for “3_ex_FM2015.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165623" URI="https://dataverse.harvard.edu/api/access/datafile/6165623" level="datafile"><labl>log_hh2015.txt</labl><txt>Log file for “2_ex_HH2015.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165646" URI="https://dataverse.harvard.edu/api/access/datafile/6165646" level="datafile"><labl>log_inference.txt</labl><txt>Log file for “7_sim_inference.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165643" URI="https://dataverse.harvard.edu/api/access/datafile/6165643" level="datafile"><labl>log_simdata.txt</labl><txt>Log file for “1_ex_sim0.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165638" URI="https://dataverse.harvard.edu/api/access/datafile/6165638" level="datafile"><labl>log_sim_ife_mc.txt</labl><txt>Log file for “6_sim_ife_mc.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165632" URI="https://dataverse.harvard.edu/api/access/datafile/6165632" level="datafile"><labl>log_sim_tests_n100.txt</labl><txt>Log file for “4_sim_tests_n100.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165622" URI="https://dataverse.harvard.edu/api/access/datafile/6165622" level="datafile"><labl>log_sim_tests_n300.txt</labl><txt>Log file for “5_sim_tests_n300.R”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat><otherMat ID="f6165626" URI="https://dataverse.harvard.edu/api/access/datafile/6165626" level="datafile"><labl>panelView_1.1.9.tar.gz</labl><txt>Source file for R package “panelView”.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/gzip</notes></otherMat><otherMat ID="f6165637" URI="https://dataverse.harvard.edu/api/access/datafile/6165637" level="datafile"><labl>qqplots_N100.RData</labl><txt>Stored results for the QQ plot (N = 100).</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165642" URI="https://dataverse.harvard.edu/api/access/datafile/6165642" level="datafile"><labl>qqplots_N50.RData</labl><txt>Stored results for the QQ plot (N = 50). </txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6182778" URI="https://dataverse.harvard.edu/api/access/datafile/6182778" level="datafile"><labl>ReadMe.pdf</labl><txt>ReadMe file.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/pdf</notes></otherMat><otherMat ID="f6165640" URI="https://dataverse.harvard.edu/api/access/datafile/6165640" level="datafile"><labl>simexample.RData</labl><txt>Stored results for the simulated example.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165631" URI="https://dataverse.harvard.edu/api/access/datafile/6165631" level="datafile"><labl>sim_ife_mc.RData</labl><txt>Stored results for the IFE/MC comparison.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165629" URI="https://dataverse.harvard.edu/api/access/datafile/6165629" level="datafile"><labl>sim_tests_n100.RData</labl><txt>Stored results for the F/equivalence test comparison (N = 100)</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165636" URI="https://dataverse.harvard.edu/api/access/datafile/6165636" level="datafile"><labl>sim_tests_n300.RData</labl><txt>Stored results for the simulated example.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/x-rlang-transport</notes></otherMat><otherMat ID="f6165650" URI="https://dataverse.harvard.edu/api/access/datafile/6165650" level="datafile"><labl>simulateData.R</labl><txt>Code to simulate panel data with general treatment structure.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6165653" URI="https://dataverse.harvard.edu/api/access/datafile/6165653" level="datafile"><labl>simulateDID.R</labl><txt>Code to simulate panel data with DID or staggered adoption treatment.</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f6182755" URI="https://dataverse.harvard.edu/api/access/datafile/6182755" level="datafile"><labl>zzz.txt</labl><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">text/plain</notes></otherMat></codeBook>