SearcharxivSearch

arXiv subjects

Peter Klimek

Publications and source records attributed to Peter Klimek.

At least 19 recordsLinked to original sources

ESRIcascade.jl: A Julia package for fast computation of the Economic Systemic Risk Index

This work presents ESRIcascade.jl, a Julia package for computing the Economic Systemic Risk Index (ESRI). The package combines computational efficiency with a documented interface designed for research workflows. Our benchmarks show that ESRIcascade.jl is from 140 to 300 times faster than existing implementations. For a realistically sized synthetic economy, this reduces computational time from 16 hours to 7 minutes. By reducing computation times, ESRIcascade.jl makes repeated analyses of larger production networks practical and feasible and may enable broader use of ESRI in empirical and methodological research. The package and its documentation are freely available at https://github.com/Devetak/ESRIcascade.jl under the MIT License.

physics.soc-ph

Adaptive rerouting reshapes impacts of maritime chokepoint disruptions

Maritime chokepoints concentrate shipping traffic. Disruptions to this traffic can have a widespread impact on the global economy. However, the way in which these impacts are shaped by the shipping sector's adaptive behavior is not well understood. Here, we introduce an empirically calibrated full-scale agent-based model of the global commercial shipping fleet, representing 35,954 active ships moving among 1,651 ports. We use the model to quantify how rerouting changes arrival losses under chokepoint closures. Static route exposure alone does not predict realized losses. In the adaptive model, rerouting reduces losses at some directly exposed ports, while delayed vessel cycles create losses at later port calls and in dependent regions. Cumulative net shipping-day losses therefore continue to rise with closure duration because longer routes keep ships delayed after the initial adjustment. Each additional closure day reduces global shipping arrivals by 3.0% for Suez and 7.7% for simultaneous Suez, Panama, and Malacca closures. These losses are unevenly distributed in exposed regions and ports. Disruptions with known duration show different loss profiles from unexpected shocks with unknown duration, revealing that end-date information can reduce avoidable short-run losses. The results show that chokepoint risk is a dynamic problem of routing, timing, and regional exposure and not a static property of maritime-network topology.

physics.soc-ph

Sequence models reveal diagnosis accumulation pathways beyond comorbidity burden in population-scale hospital data

Aging trajectories vary among individuals of similar age and disease burden. Comorbidity indices, e.g. the Elixhauser index, summarize conditions cross-sectionally, but discard the timing, sequence, and pace of morbidity accumulation. Here we ask whether longitudinal hospital diagnosis histories contain information beyond age, sex, and comorbidity burden, and where it is concentrated. Using 13 years of Austrian inpatient data covering 7.4 million patients, we trained a visit-level contrastive transformer to encode diagnosis sequences and inter-admission timing into patient-history embeddings. In a downstream cohort of 1.7 million individuals, embeddings improved prediction over the Elixhauser-based comorbidity model for 93 of 131 incident ICD-10 disease-block outcomes, with a modest median AUC gain of 0.006. Gains concentrated in mental, musculoskeletal, nervous system, and metabolic disorders. We then evaluated event-free survival, defined as remaining alive without accumulating a second unrecorded ICD-10 disease block. The embedding model achieved an AUC of 0.726 versus 0.722 for the comorbidity model. However, among patients with similar age, sex, and comorbidity-model risk, those assigned high residual risk had 132--183 fewer event-free days over five years and observed event rates comparable to low-residual-risk patients more than a decade older. Together, these findings link the embedding's signal to the breadth, recency, and pace of prior disease accumulation.

physics.soc-ph

Mechanics of Pandemics

COVID-19 and previous pandemics have shown how diseases can disrupt, threaten, and transform daily life. Since pathogens and societies are continuously evolving, every pandemic is different. However, certain fundamental principles of disease transmission appear to hold true across different outbreaks. These ``mechanisms'' are grounded in natural laws or the very structure of our biology and societies. This paper compiles ten fundamental mechanisms, curated by a multidisciplinary team with backgrounds spanning public health, medicine, epidemiology, political science, mathematics, physics, and psychology. These mechanisms, although perhaps underappreciated, substantially shape how pandemics unfold and are controlled. The better we succeed in understanding these mechanisms and establishing this knowledge in our societies, the better we will be able to prepare for future pandemics and respond appropriately when they occur.

q-bio.PE

The Steel Scrap Age: Bridging the Quality Gap through Structural Supply Chain Reorganization

The transition to a circular economy is pivotal for industrial decarbonization, particularly in the energy-intensive steel sector. While recycling scrap via electric arc furnaces offers a low-carbon alternative to primary production, the accumulation of contaminants in post-consumer steel threatens to render secondary material unusable for high-grade applications. This quality problem creates a market failure where traditional spot markets cannot guarantee the material provenance required for high quality (e.g. automotive-grade) steel. Here we show, using a massive longitudinal analysis of over 1 billion news articles combined with global trade network data, that the industry is resolving this by shifting from transactional markets to direct, vertically integrated alliances. We demonstrate that steelmakers are increasingly bypassing intermediaries to forge sovereign, closed-loop ties with manufacturers, effectively substituting market mechanisms with organizational integration. This reorganization is reshaping global trade topology, driving a potential divergence between circular network cores in the Americas and Europe that internalize high-quality scrap, and extractive sinks in the Global South that export their circular potential. Our results indicate that the circular economy is evolving into a geopolitical contest for material control, where competitive advantage is defined by the sovereign possession of closed material cycles rather than mere cost efficiency.

physics.soc-ph

Reconstructing temporal multi-relational firm networks at scale using large language models. The case of the semiconductor industry

The semiconductor industry is foundational to modern technology, yet its complex global multi-relational firm network remains poorly understood, posing challenges to scientists, firms, and policymakers. Traditional analysis relies on proprietary databases that are often expensive, incomplete, and slowly updated, limiting their ability to capture rapidly evolving dependencies. Here, we demonstrate that a novel, generalizable methodology combining Large Language Models (LLMs) with open web data can reconstruct this network and its structural dynamics at scale. We identify and classify supply-chain, partnership, and ownership links from 170 million semiconductor firm webpages, yielding a temporal network of over 1,300 linked firms. We validate link-extraction quality (Precision: 0.884; F1-score: 0.784), network overlap and complementarity with a proprietary database, and consistency with aggregate economic data. Our network reveals a temporary 9% decline in edges during the 2022 chip shortage, rapid increases in the centrality of AI supply-chain bottleneck firms such as NVIDIA, and geographic realignment of interfirm relations amid geopolitical turbulence. This generalizable framework overcomes barriers to transparency and provides essential, up-to-date maps for assessing resilience and informing policy across strategically relevant sectors.

physics.soc-ph

Care Trajectories Are Linked to Mental Health and Mortality in Cancer Patients

Treatment of cancer involves heterogeneous, complex care pathways. The relationship between these longitudinal trajectories, baseline mental health, and prognostic outcomes remains poorly understood. We introduce an interpretable time-analysis framework leveraging these temporal dynamics, analyzing care patterns spanning up to 37 years for >8,000 patients. Using Dynamic Time Warping (DTW) and Hierarchical Clustering on sequence data of healthcare encounters, we identified nine distinct, robust trajectory phenotypes. We evaluated their prognostic utility by incorporating them into generalized linear models alongside conventional clinical, demographic, and socioeconomic covariates. The trajectory clusters significantly enhanced mortality prediction and maintained independent predictive significance. Compared to a low-utilization reference group (mortality 31.5%), all eight remaining clusters exhibited substantially higher mortality odds. We uncovered two primary high-risk trajectory patterns: long-term, complex care pathways reflecting chronic disease courses (up to 196 events; mortality OR up to 3.38, 95% CI 2.13-5.37), and shorter but intense trajectories indicating rapid progression (median 78 events; OR 2.32, 95% CI 1.82-2.97). Unexpectedly, the high-utilization complexity clusters were associated with significantly lower baseline anxiety scores, highlighting a divergent relationship between trajectory intensity, mortality risk, and initial psychological burden. These results demonstrate that incorporating temporal healthcare utilization data uncovers robust trajectory phenotypes capturing multidimensional prognostic information. This offers significant explanatory power beyond established static variables for refining risk stratification in precision oncology.

physics.soc-ph

Predicting the Emergence of the EV Industry: A Product Space Analysis Across Regions and Firms

The automotive industry is undergoing transformation, driven by the electrification of powertrains, the rise of software-defined vehicles, and the adoption of circular economy concepts. These trends blur the boundaries between the automotive sector and other industries. Unlike internal combustion engine (ICE) production, where mechanical capabilities dominated, competitiveness in electric vehicle (EV) production increasingly depends on expertise in electronics, batteries, and software. This study investigates whether and how firms' ability to leverage cross-industry diversification contributes to competitive advantage. We develop a country-level product space covering all industries and an industry-specific product space covering over 900 automotive components. This allows us to identify clusters of parts that are exported together, revealing shared manufacturing capabilities. Closeness centrality in the country-level product space, rather than simple proximity, is a strong predictor of where new comparative advantages are likely to emerge. We examine this relationship across industrial sectors to establish patterns of path dependency, diversification and capability formation, and then focus on the EV transition. New strengths in vehicles and aluminium products in the EU are expected to generate 5 and 4.6 times more EV-specific strengths, respectively, than other EV-relevant sectors over the next decade, compared to only 1.6 and 4.5 new strengths in already diversified China. Countries such as South Korea, China, the US and Canada show strong potential for diversification into EV-related products, while established producers in the EU are likely to come under pressure. These findings suggest that the success of the automotive transformation depends on regions' ability to mobilize existing industrial capabilities, particularly in sectors such as machinery and electronic equipment.

econ.GN

Generalizing Multimorbidity Models Across Countries: A Comparative Study of Austria and Denmark

Chronic diseases frequently co-occur in patterns that are unlikely to arise by chance, a phenomenon known as multimorbidity. This growing challenge for patients and healthcare systems is amplified by demographic aging and the rising burden of chronic conditions. However, our understanding of how individuals transition from a disease-free-state to accumulating diseases as they age is limited. Recently, data-driven methods have been developed to characterize morbidity trajectories using electronic health records; however, their generalizability across healthcare settings remains largely unexplored. In this paper, we conduct a cross-country validation of a data-driven multimorbidity trajectory model using population-wide health data from Denmark and Austria. Despite considerable differences in healthcare organization, we observe a high degree of similarity in disease cluster structures. The Adjusted Rand Index (0.998) and the Normalized Mutual Information (0.88) both indicate strong alignment between the two clusterings. These findings suggest that multimorbidity trajectories are shaped by robust, shared biological and epidemiological mechanisms that transcend national healthcare contexts.

physics.soc-ph

Systemic Trade Risk Suppresses Comparative Advantage in Rare Earth Dependent Industries

Rare earth elements (REEs) are critical to a wide range of clean and high-tech applications, yet global trade dependencies expose countries to vulnerabilities across production networks. Here, we construct a multi-tiered input-output trade network spanning 168 REE-related product codes from 2007-2023 using a novel AI-augmented statistical framework. We identify significant differences between dependencies in upstream and intermediate (input) products, revealing that exposure and supplier concentration are systematically higher in input products, while systemic trade risk is lower, suggesting localized vulnerabilities. By computing network-based dependency indicators across countries and over time, we classify economies into five distinct clusters that capture structural differences in rare-earth reliance. China dominates the low-risk, high-influence cluster, while the EU and US remain vulnerable at intermediate tiers. Regression analyses show that high exposure across all products predicts future export strength, consistent with import substitution. However, high systemic trade risk in input products like magnets, advanced ceramics or phosphors, significantly impedes the development of comparative advantage. These results demonstrate that the structure of strategic dependencies is tier-specific, with critical implications for industrial resilience and policy design. Effective mitigation strategies must move beyond raw material access and directly address country-specific chokepoints in midstream processing and critical input production.

econ.GN

An Agent-Based Extension to Sector-Wise Input-Output Recovery Models

Dynamic input-output models are standard tools for understanding inter-industry dependencies and how economies respond to shocks like disasters and pandemics. However, traditional approaches often assume fixed prices, limiting their ability to capture realistic economic behavior. Here, we introduce an adaptive extension to dynamic input-output recovery models where producers respond to shocks through simultaneous price and quantity adjustments. Our framework preserves the economic constraints of the Leontief input-output model while converging towards equilibrium configurations based on sector-specific behavioral parameters. When applied to input-output data, the model allows us to compute behavioral metrics indicating whether specific sectors predominantly favor price or quantity adjustments. Using the World Input-Output Database, we identify strong, consistent regional and sector-specific behavioral patterns. These findings provide insights into how different regions employ distinct strategies to manage shocks, thereby influencing economic resilience and recovery dynamics.

econ.GN

Adaptive Shock Compensation in the Multi-layer Network of Global Food Production and Trade

Global food production and trade networks are highly dynamic, especially in response to shortages when countries adjust their supply strategies. In this study, we examine adjustments across 123 agri-food products from 192 countries resulting in 23616 individual scenarios of food shortage, and calibrate a multi-layer network model to understand the propagation of the shocks. We analyze shock mitigation actions, such as increasing imports, boosting production, or substituting food items. Our findings indicate that these lead to spillover effects potentially exacerbating food inequality: an Indian rice shock resulted in a 5.8 % increase in rice losses in countries with a low Human Development Index (HDI) and a 14.2 % decrease in those with a high HDI. Considering multiple interacting shocks leads to super-additive losses of up to 12 % of the total available food volume across the global food production network. This framework allows us to identify combinations of shocks that pose substantial systemic risks and reduce the resilience of the global food supply.

econ.GN

Healthcare Utilization Patterns Among Migrant Populations: Increased Readmissions Suggest Poorer Access. A Population-Wide Retrospective Cohort Study

Equal access to health ensures that all citizens, regardless of socio-economic status, can achieve optimal health, leading to a more productive, equitable, and resilient society. Yet, migrant populations were frequently observed to have lower access to health. The reasons for this are not entirely clear and may include language barriers, a lack of knowledge of the healthcare system, and selective migration (a "healthy migrant" effect). We use extensive medical claims data from Austria (13 million hospital stays of approximately 4 million individuals) to compare the healthcare utilization patterns between Austrians and non-Austrians. We looked at the differences in primary diagnoses and hospital sections of initial hospital admission across different nationalities. We hypothesize that cohorts experiencing the healthy migrant effect show lower readmission rates after hospitalization compared to migrant populations that are in poorer health but show lower hospitalization rates due to barriers in access. We indeed find that all nationalities showed lower hospitalization rates than Austrians, except for Germans, who exhibit a similar healthcare usage to Austrians. Although around 20\% of the population has a migration background, non-Austrian citizens account for only 9.4% of the hospital patients and 9.79% of hospital nights. However, results for readmission rates are much more divergent. Nationalities like Hungary, Romania, and Turkey (females) show decreased readmission rates in line with the healthy migrant effect. Patients from Russia, Serbia, and Turkey (males) show increased readmissions, suggesting that their lower hospitalization rates are more likely due to access barriers. Considering the surge in migration, our findings shed light on healthcare access and usage behaviours across patients with different nationalities, offering new insights and perspectives.

physics.med-ph

Cost-Effective Big Data Orchestration Using Dagster: A Multi-Platform Approach

The rapid advancement of big data technologies has underscored the need for robust and efficient data processing solutions. Traditional Spark-based Platform-as-a-Service (PaaS) solutions, such as Databricks and Amazon Web Services Elastic MapReduce, provide powerful analytics capabilities but often result in high operational costs and vendor lock-in issues. These platforms, while user-friendly, can lead to significant inefficiencies due to their cost structures and lack of transparent pricing. This paper introduces a cost-effective and flexible orchestration framework using Dagster. Our solution aims to reduce dependency on any single PaaS provider by integrating various Spark execution environments. We demonstrate how Dagster's orchestration capabilities can enhance data processing efficiency, enforce best coding practices, and significantly reduce operational costs. In our implementation, we achieved a 12% performance improvement over EMR and a 40% cost reduction compared to DBR, translating to over 300 euros saved per pipeline run. Our goal is to provide a flexible, developer-controlled computing environment that maintains or improves performance and scalability while mitigating the risks associated with vendor lock-in. The proposed framework supports rapid prototyping and testing, which is essential for continuous development and operational efficiency, contributing to a more sustainable model of large data processing.

cs.DC

Circular transformation of the European steel industry renders scrap metal a strategic resource

The steel industry is a major contributor to CO2 emissions, accounting for 7% of global emissions. The European steel industry is seeking to reduce its emissions by increasing the use of electric arc furnaces (EAFs), which can produce steel from scrap, marking a major shift towards a circular steel economy. Here, we show by combining trade with business intelligence data that this shift requires a deep restructuring of the global and European scrap trade, as well as a substantial scaling of the underlying business ecosystem. We find that the scrap imports of European countries with major EAF installations have steadily decreased since 2007 while globally scrap trade started to increase recently. Our statistical modelling shows that every 1,000 tonnes of EAF capacity installed is associated with an increase in annual imports of 550 tonnes and a decrease in annual exports of 1,000 tonnes of scrap, suggesting increased competition for scrap metal as countries ramp up their EAF capacity. Furthermore, each scrap company enables an increase of around 79,000 tonnes of EAF-based steel production per year in the EU. Taking these relations as causal and extrapolating to the currently planned EAF capacity, we find that an additional 730 (SD 140) companies might be required, employing about 35,000 people (IQR 29,000-50,000) and generating an additional estimated turnover of USD 35 billion (IQR 27-48). Our results thus suggest that scrap metal is likely to become a strategic resource. They highlight the need for a massive restructuring of the industry's supply networks and identify the resulting growth opportunities for companies.

q-fin.TR

Projecting Multimorbidity and Mortality under Demographic Change and Preventive Interventions

As populations age, the rise of multimorbidity poses a significant healthcare challenge. However, our ability to quantitatively forecast the progression of multimorbidity remains limited. Leveraging a nationwide dataset comprising approximately 45 million hospital stays spanning 17 years in Austria, we develop a new compartmental model for chronic disease trajectories across 132 distinct multimorbidity patterns (compartments). Each compartment represents a distinct constellation of co-occurring chronic conditions, with transitions modeled as age- and sex-dependent probabilities. We use the compartmental disease trajectory model (CDTM) to simulate disease trajectories to 2030, estimating the frequency of all empirically observed co-occurrence patterns among more than 100 diagnosis groups. We demonstrate the model's utility in identifying high-impact prevention targets. A 5% reduction in new cases of hypertensive disease (I10--I15) leads to a 0.57 (SD 0.06)% reduction in all-cause mortality over a 15-year period, and a 0.57 (SD 0.07)% reduction in mortality for malignant neoplasms (C00--C97). We also evaluate long-term impacts of SARS-CoV-2 sequelae, projecting earlier and more frequent hospitalizations across a range of diagnoses. Our fully data-driven modelling approach identifies leverage points for proactive preparation by physicians and policymakers to reduce the overall disease burden in the population, emphasizing patient-centered healthcare planning in aging societies.

physics.soc-ph

Supply Chain Due Diligence Risk Assessment for the EU: A Network Approach to estimate expected effectiveness of the planned EU directive

Globalization has had undesirable effects on the labor standards embedded in the products we consume. This paper proposes an ex-ante evaluation of supply chain due diligence regulations, such as the EU Corporate Sustainable Due Diligence Directive (CSDDD). We construct a full-scale network model derived from structural business statistics of 30 million EU firms to quantify the likelihood of links to firms potentially involved in human rights abuses in the European supply chain. The 900 million supply links of these firms are modeled in a way that is consistent with multiregional input-output data, EU import data, and stylized facts of firm-level production networks. We find that this network exhibits a small world effect with three degrees of separation, meaning that most firms are no more than three steps away from each other in the network. Consequently we find that about 8.5% of EU companies are at risk of having child or forced labor in the first tier of their supply chains, about 82.4% are likely to have such offenders at the second tier and more than 99.1% have such offenders at the third tier. We also profile companies by country, sector, and size for the likelihood of having human rights violations or child and forced labor violations at a given tier in their supply chain, revealing considerable heterogeneity across EU companies. Our results show that supply chain due diligence regulations that focus on monitoring individual buyer-supplier links, as currently proposed in the CSDDD, are likely to be ineffective due to a high degree of redundancy and the fact that individual company value chains cannot be properly isolated from the global supply network. Rather, to maximize cost-effectiveness without compromising due diligence coverage, we suggest that regulations should focus on monitoring individual suppliers.

cs.SI

Unraveling cradle-to-grave disease trajectories from multilayer comorbidity networks

We aim to comprehensively identify typical life-spanning trajectories and critical events that impact patients' hospital utilization and mortality. We use a unique dataset containing 44 million records of almost all inpatient stays from 2003 to 2014 in Austria to investigate disease trajectories. We develop a new, multilayer disease network approach to quantitatively analyse how cooccurrences of two or more diagnoses form and evolve over the life course of patients. Nodes represent diagnoses in age groups of ten years; each age group makes up a layer of the comorbidity multilayer network. Inter-layer links encode a significant correlation between diagnoses (p $<$ 0.001, relative risk $>$ 1.5), while intra-layers links encode correlations between diagnoses across different age groups. We use an unsupervised clustering algorithm for detecting typical disease trajectories as overlapping clusters in the multilayer comorbidity network. We identify critical events in a patient's career as points where initially overlapping trajectories start to diverge towards different states. We identified 1,260 distinct disease trajectories (618 for females, 642 for males) that on average contain 9 (IQR 2-6) different diagnoses that cover over up to 70 years (mean 23 years). We found 70 pairs of diverging trajectories that share some diagnoses at younger ages but develop into markedly different groups of diagnoses at older ages. The disease trajectory framework can help us to identify critical events as specific combinations of risk factors that put patients at high risk for different diagnoses decades later. Our findings enable a data-driven integration of personalized life-course perspectives into clinical decision-making.

physics.med-ph