<?xml version='1.0' encoding='utf-8'?>
<?xml-stylesheet type="text/xsl" href="/v2/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-10T16:38:35Z</responseDate>
  <request identifier="oai:figshare.com:article/33717313" metadataPrefix="oai_dc" verb="GetRecord">https://api.figshare.com/v2/oai</request>
  <GetRecord>
    <record>
      <header>
        <identifier>oai:figshare.com:article/33717313</identifier>
        <datestamp>2026-09-14T11:31:43Z</datestamp>
        <setSpec>category_27193</setSpec>
        <setSpec>category_27190</setSpec>
        <setSpec>item_type_3</setSpec>
        <setSpec>month_year_09_2026</setSpec>
      </header>
      <metadata>
        <oai_dc:dc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
          <dc:title>Analysis code for "The 'Development Paradox' in Global Diabetic Retinopathy Burden: A Panel Data Study on Health Expenditure Structure, AI Readiness, and Ophthalmologist Density Thresholds (1990–2021)"</dc:title>
          <dc:creator>Menglan Zhu (23953533)</dc:creator>
          <dc:subject>Health promotion</dc:subject>
          <dc:subject>Health equity</dc:subject>
          <dc:subject>diabetic retinopathy</dc:subject>
          <dc:subject>global burden of disease</dc:subject>
          <dc:subject>health expenditure</dc:subject>
          <dc:subject>ophthalmologist density</dc:subject>
          <dc:description>&lt;p dir="ltr"&gt;This item contains the complete analysis code package (Supplementary File 2) accompanying the manuscript: The "Development Paradox" in Global Diabetic Retinopathy Burden: A Panel Data Study on Health Expenditure Structure, AI Readiness, and Ophthalmologist Density Thresholds (1990–2021).&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;The study examines the global burden of diabetic retinopathy (DR) across 204 countries and territories (1990–2021) and its national-level associations with health expenditure structure, ophthalmologist workforce density, and artificial intelligence (AI) readiness, using panel data methods with fixed effects, instrumental variable estimation, and Hansen threshold regression.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;The code package consists of nine scripts (R and Python) together with a README describing the runtime environment and execution order:&lt;/p&gt;&lt;p dir="ltr"&gt;- 01_data_extraction.R — extract DR outcomes from GBD 2021 raw files&lt;/p&gt;&lt;p dir="ltr"&gt;- 02_data_merge_imputation.R — construct the analysis panel; linear interpolation and SDI-quintile median filling&lt;/p&gt;&lt;p dir="ltr"&gt;- 03_panel_models.R — fixed-effects, lagged, and instrumental-variable panel models (Table 2)&lt;/p&gt;&lt;p dir="ltr"&gt;- 04_threshold_crosssectional.R — Hansen threshold regression, interaction models, and generalized additive models (Figure 3)&lt;/p&gt;&lt;p dir="ltr"&gt;- 05_inequality_analysis_legacy.R — legacy region-level inequality analysis (superseded, retained for provenance)&lt;/p&gt;&lt;p dir="ltr"&gt;- 06_sensitivity_diabetes_prevalence.R — fixed-effects sensitivity analysis adjusting for national diabetes prevalence&lt;/p&gt;&lt;p dir="ltr"&gt;- 07_inequality_sii_recompute.py — country-level slope index of inequality and concentration index (n = 204; 1,000 bootstrap replications)&lt;/p&gt;&lt;p dir="ltr"&gt;- 08_figures_2B_4.py — regenerate Figures 2B and 4 (600 dpi)&lt;/p&gt;&lt;p dir="ltr"&gt;- 09_relative_change_ui.py — 95% uncertainty interval of the 1990–2021 relative change from GBD draws&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;Runtime environment: R 4.5.x (dplyr, sandwich, lmtest, boot, mgcv, readr) and Python 3.12 (pandas, numpy, scipy, matplotlib).&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;The underlying data are publicly available from the Global Burden of Disease Study 2021 (IHME GBD Results Tool), the WHO Global Health Expenditure Database, the International Council of Ophthalmology Atlas, and the Oxford Insights Government AI Readiness Index (2024 edition). Raw data are not redistributed with this package per the providers' terms of use; download paths and extraction parameters are documented in the script headers and the README.&lt;/p&gt;</dc:description>
          <dc:date>2026-09-14T11:31:43Z</dc:date>
          <dc:type>Dataset</dc:type>
          <dc:type>Dataset</dc:type>
          <dc:identifier>10.6084/m9.figshare.33717313.v1</dc:identifier>
          <dc:relation>https://figshare.com/articles/dataset/Analysis_code_for_The_Development_Paradox_in_Global_Diabetic_Retinopathy_Burden_A_Panel_Data_Study_on_Health_Expenditure_Structure_AI_Readiness_and_Ophthalmologist_Density_Thresholds_1990_2021_/33717313</dc:relation>
          <dc:rights>CC BY 4.0</dc:rights>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>
