<?xml version="1.0" encoding="UTF-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="/oai-pmh-repository/static/oai2.xsl"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
    <responseDate>2026-10-15T09:09:49Z</responseDate>
    <request verb="GetRecord" identifier="oai:data.mendeley.com/mtpm69tx6g.2" metadataPrefix="oai_dc">https://data.mendeley.com/oai</request>
    <GetRecord>
        <record>
            <header>
                <identifier>oai:data.mendeley.com/mtpm69tx6g.2</identifier>
                <datestamp>2026-05-15T19:00:54Z</datestamp>
            </header>
            <metadata><oai_dc:dc xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <dc:creator>Zhang, Shengxing</dc:creator>
    <dc:title>Replication package for &quot;International Trade Finance and Learning Dynamics&quot;</dc:title>
    <dc:publisher>Mendeley Data</dc:publisher>
    <dc:description>REPLICATION PACKAGE: &quot;International Trade Finance and Learning Dynamics&quot;
  Authors: David Kohn, Emiliano Luttini, Michal Szkup, Shengxing Zhang.

  The materials are split into two independent components that together reproduce every quantitative result in the paper.

  1. code_paper_final/ (MATLAB). Reproduces Figures 3-11 and Tables 5 and 7, and generates  a simulated firm-year panel (166,556 firms x 30 years) used as input by Package 2.

  Entry point: KLSZ_master_file.m, which controls binary flags for each section. The folder contains the solver, transition, and SMM routines at the root, plus:
    Experiments/    -- steady-state and shock drivers (foreign- and domestic-cost shocks
  under five risk regimes, plus delta=1 and mu=1 counterfactuals)
    Figures/        -- figure-generation scripts
    Tables/         -- model_table_5.m, model_table_7.m
    Output/Figures/ -- Figure_3 through Figure_11 panel PDFs
    Output/Tables/  -- Table_5.xlsx, Table_7.xlsx, and six simulated panels
  (counterparty_belief, demand_belief, oa_status, export_status, productivity,  spell_status)

  Requirements: MATLAB R2023b+ with Parallel Computing, Optimization, and Statistics and Machine Learning toolboxes. To run, set MATLAB&apos;s working directory to the package root and execute KLSZ_master_file. See README.md.
  
  2. Data_Replication/ (Stata). Reproduces Tables 1-4 (Section 2), Tables 5-8 (Section 4),  and Tables A1-A5 (Appendix).

  Master script: src/do/00_main.do, which calls 01-03 (build yearly and daily customs panels and the F29 firm-year panel), 04 (ingests Package 1&apos;s CSVs and builds MergeSimData.dta), then 05-07 (estimate regressions and write LaTeX tables to  out/&lt;version&gt;/{section_2,section_4,appendix}/).

  Two modes via the data_type global:
    &quot;bc&quot;   -- real Chilean customs (DUS) and tax (F29) microdata from the Central Bank&apos;s
  PYTRFN database (DSN: MSSQL_DPM_DS02_INNO). Authorized access only; reproduces the
  paper&apos;s point estimates exactly.
    &quot;mock&quot; -- synthetic panel with the same schema and filters. Fixed random seeds;
  reproduces every script and table but not the published numbers.

  Data access: the firm-level microdata cannot be redistributed under the agreement with the Central Bank of Chile.

  Requirements: Stata, plus SSC packages reghdfe, estout, distinct, listtex, ftools,
  timeit, require. The six simulation CSVs from Package 1 are shipped inside each
  Data_Replication subfolder&apos;s dat/ so Package 2 runs without first executing Package 1.
  
  Mapping:
    Figures 3-11    -&gt; Package 1
    Tables 1-4      -&gt; Package 2 (05_section_2.do)
    Tables 5, 7     -&gt; Package 1 (Tables/model_table_*.m)
    Tables 6, 8     -&gt; both: simulation from Package 1 -&gt; regressions in Package 2
  (06_section_4.do)
    Tables A1-A5    -&gt; Package 2 (07_appendix.do)

  Each package ships a README and has been verified to run end-to-end from a clean install.</dc:description>
    <dc:subject>Economics</dc:subject>
    <dc:subject>International Trade</dc:subject>
    <dc:subject>Trade Finance</dc:subject>
    <dc:contributor>Kohn, David </dc:contributor>
    <dc:contributor>Luttini, Emiliano</dc:contributor>
    <dc:contributor>Szkup, Michal</dc:contributor>
    <dc:type>Dataset</dc:type>
    <dc:identifier>doi:10.17632/mtpm69tx6g.2</dc:identifier>
    <dc:identifier>oai:data.mendeley.com/mtpm69tx6g.2</dc:identifier>
    <dc:rights>Creative Commons Attribution 4.0 International</dc:rights>
    <dc:rights>http://creativecommons.org/licenses/by/4.0</dc:rights>
    <dc:relation>https://data.mendeley.com/datasets/mtpm69tx6g</dc:relation>
    <dc:date>2026-05-15T19:00:54Z</dc:date>
</oai_dc:dc></metadata>
        </record>
    </GetRecord>
</OAI-PMH>
