ALAnders Ledberg

Anders Ledberg

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Anders Ledberg has a total of 54 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Transforming Sensitive Documents into Quantitative Data: An AI-Based Preprocessing Toolchain for Structured and Privacy-Conscious Analysis

    by Anders Ledberg, Anna Thalén

    Unstructured text from legal, medical, and administrative sources offers a rich but underutilized resource for research in public health and the social sciences. However, large-scale analysis is hampered by two key challenges: the presence of sensitive, personally identifiable information, and significant heterogeneity in structure and language. We present a modular toolchain that prepares such text data for embedding-based analysis, relying entirely on open-weight models that run on local hardware, requiring only a workstation-level GPU and supporting privacy-sensitive research. The toolchain employs large language model (LLM) prompting to standardize, summarize, and, when needed, translate texts to English for greater comparability. Anonymization is achieved via LLM-based redaction, supplemented with named entity recognition and rule-based methods to minimize the risk of disclosure. We demonstrate the toolchain on a corpus of 10,842 Swedish court decisions under the Care of Abusers Act (LVM), comprising over 56,000 pages. Each document is processed into an anonymized, standardized summary and transformed into a document-level embedding. Validation, including manual review, automated scanning, and predictive evaluation shows the toolchain effectively removes identifying information while retaining semantic content. As an illustrative application, we train a predictive model using embedding vectors derived from a small set of manually labeled summaries, demonstrating the toolchain's capacity for semi-automated content analysis at scale. By enabling structured, privacy-conscious analysis of sensitive documents, our toolchain opens new possibilities for large-scale research in domains where textual data was previously inaccessible due to privacy and heterogeneity constraints.

  • Open Access

    Consequences of heterogeneity in aging: parental age at death predicts midlife all-cause mortality and hospitalization in a Swedish national birth cohort

    by Anna Thalén, Anders Ledberg

    Background: The processes that underlie aging may advance at different rates in different individuals and an advanced biological age, relative to the chronological age, is associated with increased risk of disease and death. Here we set out to quantify the extent to which heterogeneous aging shapes health outcomes in midlife by following a Swedish birth-cohort and using parental age at death as a proxy for biological age in the offspring. Methods: We followed a nationwide Swedish birth cohort (N = 89,688) between the ages of 39 and 66 years with respect to hospitalizations and death. Cox regressions were used to quantify the association, in the offspring, between parental age at death and all-cause mortality, as well as hospitalization for conditions belonging to the 10 most common ICD-10 chapters. Results: Longer parental lifespan was consistently associated with reduced risks of hospitalization and all-cause mortality. Differences in risk were mostly evident from before the age of 50 and persisted throughout the follow-up. Each additional decade of parental survival decreased the risk of offspring all-cause mortality by 22% and risks of hospitalizations by 9 to 20% across the 10 diseases categories considered. The number of deaths and hospitalizations attributable to having parents not living until old age were 1500 (22%) and 11,000 (11%) respectively. Conclusions: Our findings highlight that increased parental lifespan is consistently associated with health benefits in the offspring across multiple outcomes and suggests that heterogeneous aging processes have clinical implications already in midlife.


  • Open Access

    Consequences of Heterogeneity in Aging: Parental Age at Death Predicts Midlife All-Cause Mortality and Hospitalization in a Swedish National Birth Cohort

    by Anna Thalén, Anders Ledberg

    Background: The processes that underlie aging may advance at different rates in different individuals and an advanced biological age, relative to the chronological age, is associated with increased risk of disease and death. Here we set out to quantify the extent to which heterogeneous aging shapes health outcomes in midlife by following a Swedish birth-cohort and using parental age at death as a proxy for biological age in the offspring. Methods: We followed a nationwide Swedish birth cohort (N= 89 688) between the ages of 39 to 66 with respect to hospitalizations and death. Cox regressions were used to estimate the association, in the offspring, between parental age at death and all-cause mortality, as well as hospitalization for conditions belonging to one of 10 different ICD-10 chapters. Results: Longer parental lifespan was consistently associated with reduced risks of hospitalization and all-cause mortality. Differences in risk were mostly evident before the age of 50. Each additional decade of parental survival decreased the risk of offspring all-cause mortality by 22% and risks of hospitalizations by 9 to 20 percent across the ten diseases categories considered. The number of deaths and hospitalizations attributable to having parents not living until old age were 1500 (22%) and 11000 (11%) respectively. Conclusions: Our findings highlight that increased parental lifespan is consistently associated with health benefits in the offspring across multiple outcomes and suggests that heterogeneous aging processes have clinical implications already in midlife.

  • Open Access

    Are there really no causal associations between childhood family income and subsequent outcomes?

    by Anders Ledberg, Kristiina Rajaleid, Bitte Modin

    We read with interest the recent paper by Sariaslan et al. 1 investigating the associations between childhood family income and three outcomes observed later in life: psychiatric disorders, substance misuse and violent crime arrests. The paper contains a careful analysis of a large and relevant dataset of more than 650 000 individuals born in Finland in 1986–96, who were followed from age 15, when income was assessed, until 2017 or 2018. The authors use two types of analysis in the paper: one in which differences in the outcomes are accounted for by variability in income between families (henceforth between-family analysis) and one, the so-called sibling comparison, in which outcome differences are accounted for only by income variability within families (henceforth within-family analysis). In the between-family analysis, the authors find consistent associations between a number of related estimates of childhood family income and the three outcomes (e.g. Figure 2 in the paper). However, and this is the main finding of the paper, these associations between income and the three outcomes completely disappear in the within-family analysis. From this, the authors conclude that ‘[a]ssociations between childhood family income and subsequent risks … were not consistent with a causal interpretation’.


  • Open Access

    Increased risk of death immediately after discharge from compulsory care for substance abuse

    by Anders Ledberg, Therese Reitan

    Background: In Sweden, approximately 1000 persons per year are committed to compulsory care for substance abuse for a maximum duration of six months. People admitted to compulsory care are known to suffer high mortality risks, but whether the risk of dying is further heightened immediately after discharge is not known. Methods: Individual data from Swedish national registers were used to follow all persons discharged from a six months compulsory care episode in the period 2000–2017 ( N = 7, 929). Based on a competing risks framework including re-admissions to compulsory care or imprisonment, hazard rates were estimated in five non-overlapping time windows covering the first year after discharge. Results: In total, 494 persons died during follow-up, corresponding to an overall yearly risk of 6.2 percent (95% confidence interval: 5.7, 6.8). The risk was higher for men than for women and increased with age. The risk of dying during the first two weeks after discharge was higher than during the remaining follow-up period – hazard ratios comparing the first two weeks with subsequent time windows were between 2.6 (1.3, 5.0) and 3.7 (2.4, 5.9). This heightened risk in close proximity to discharge was only observed for deaths due to external causes, and only for people below the median age of 36 years. Conclusions: The risk of dying immediately after discharge from compulsory care is very high, especially for younger clients, and more efforts should be made to prevent these deaths.

  • Open Access

    Mortality of the COVID-19 Outbreak in Sweden in Relation to Previous Severe Disease Outbreaks

    by Anders Ledberg

    Influenza viruses have caused disease outbreaks in human societies for a long time. Influenza often has rapid onset and relatively short duration, both in the individual and in the population. The case fatality rate varies for different strains of the virus, as do the effects on total mortality. Outbreaks related to coronavirus infections have recently become a global concern but much less is known about the dynamics of these outbreaks and their effects on mortality. In this work, disease outbreaks in Sweden, in the time period of 1860–2020, are characterized and compared to the currently ongoing COVID-19 outbreak. The focus is on outbreaks with a sharp increase in all-cause mortality. Outbreak onset is defined as the time point when death counts start to increase consistently for a period of at least 10 days. The duration of the outbreak is defined as the time period in which mortality rates are elevated. Excess mortality is estimated by standard methods. In total there were 15 outbreaks detected in the time period, the first 14 were likely caused by influenza virus infections, the last by SARS-CoV-2. The mortality dynamics of the SARS-CoV-2 outbreak is shown to be similar to outbreaks due to influenza virus, and in terms of the number of excess deaths, it is the worst outbreak in Sweden since the “Spanish flu” of 1918–1919.


  • Open Access

    A large decrease in the magnitude of seasonal fluctuations in mortality among elderly explains part of the increase in longevity in Sweden during 20th century

    by Anders Ledberg

    Background: Mortality rates are known to depend on the seasons and, in temperate climates, rates are highest during winter. The magnitude of these seasonal fluctuations in mortality has decreased substantially in many countries during the 20th century, but the extent to which this decrease has contributed to the concurrent increase in life expectancy is not known. Here, I describe how the seasonality of all-cause mortality among people ages 60 years or more has changed in Sweden between 1860 and 1995, and investigate how this change has contributed to the increase in life expectancy observed during the same time period. Methods: Yearly sex-specific birth cohorts consisting of all people born in Sweden between 1800 and 1901 who reached at least 59 years of age were obtained from a genealogical database. The mortality rates for each cohort were modeled by an exponential function of age modulated by a sinusoidal function of time of year. The potential impact of seasonal fluctuations on life expectancy was investigated by a novel decomposition of the total mortality rate into a seasonal part and a part independent of the seasons. Cohort life expectancy at age 60 was used to quantify changes in lifespan during the time period. Results: The magnitude of seasonal fluctuations in mortality rates decreased substantially between 1860 and 1995. For cohorts born in 1800, the risk of dying during the winter season was almost twice that of dying during summer. For cohorts born in 1900, the relative increase in winter mortality was 10%. Cohort life expectancy at age 60 increased by 4.3 years for men and 6.8 years for women, and the decrease in seasonal mortality fluctuations accounted for approximately 40% of this increase in average lifespan. Conclusion: By following a large number of extinct cohorts, it was possible to show how the decrease in seasonal fluctuations in mortality has contributed to an increase in life expectancy. The decomposition of total mortality introduced here might be useful to better understand the processes and mechanisms underlying the marked improvements in life expectancy seen over the last 150 years.