Brazilian Researchers Launch Free Web Tool To Simplify Patient Survival Curve Fitting And Health Economic Modeling
The browser-based application reconstructs missing patient data from clinical trial graphs to help researchers run complex cost-effectiveness simulations without coding.
Researchers in Brazil have launched a free browser application called AjustAÍ that simplifies the complex math required to project long term patient survival in health studies. Health economists and epidemiologists frequently need to forecast patient outcomes beyond the end of a clinical trial, but the underlying individual patient records are rarely published.
When evaluating new treatments, especially for conditions like advanced breast cancer, researchers usually rely on summary charts known as Kaplan-Meier survival curves. These graphical summaries show the proportion of patients surviving over time, but calculating mathematical models from them typically demands advanced programming skills in specialized software. Stéfani Sousa Borges and her colleagues at the University of Brasília designed their new web tool to bridge this gap, offering an intuitive interface entirely in Portuguese that requires no coding experience.
How Does The Open Software Reconstruct Patient Data?
The application is published in the Revista Brasileira de Epidemiologia, detailing its foundation on established statistical algorithms. Users begin by uploading a published survival graph that has been digitized using free software tools to extract coordinate points. The platform then takes these data points, along with information on the number of patients at risk at various time intervals, to generate simulated individual patient data.

This reconstruction process relies heavily on established simulation methods previously adapted for the R programming language. By automating these routines within a web browser, the tool allows researchers to input standard comma-separated values or spreadsheet files without worrying about formatting errors. It automatically recognizes variable headers and handles standard decimal separators used in different regions, avoiding common technical roadblocks.
Which Mathematical Models Can Researchers Fit To Curves?
Once the individual data is simulated, the software applies classic parametric survival models to describe the survival function over time. These mathematical frameworks estimate key statistics such as failure rates and hazard functions, which are vital for long term economic evaluations. The available choices include the exponential model, which assumes a constant risk over time, and the more flexible Weibull distribution.
Other available options include log-normal and log-logistic distributions for skewed data, the Gompertz model for risks that grow exponentially at advanced ages, and the generalized gamma distribution. The authors noted that the generalized gamma model offers exceptional flexibility by accommodating varying degrees of data skewness. However, they caution that using models with higher parameter counts can introduce additional uncertainty in smaller sample sizes.

What Did A Test Case In Oncology Reveal?
To demonstrate the utility of the platform, the team analyzed a clinical trial comparing two treatments for advanced breast cancer involving 500 mg of fulvestrant and 1 mg of anastrozole. The median overall survival in the trial reached 54.1 months for the fulvestrant group and 48.4 months for the anastrozole group, with a hazard ratio of 0.70. By feeding these published curves into the web application, the team generated fitted parametric curves and evaluated their accuracy.
The platform evaluates model quality using information criteria that penalize unnecessary complexity, helping researchers select the best statistical fit. For the anastrozole group data, the Weibull and generalized gamma models showed the strongest visual overlap with the original trial curve. The Weibull model yielded the lowest information criterion values, proving to be a robust and parsimonious choice for subsequent economic modeling.

Why Is Automated Uncertainty Analysis Important For Economics?
Beyond simple curve fitting, health technology assessments require probabilistic sensitivity analyses, such as Monte Carlo simulations, to account for statistical uncertainty. The platform automatically generates the covariance matrix and Cholesky decomposition for the fitted parameters. These mathematical outputs describe the degree of uncertainty associated with each parameter and the relationships between them.
For instance, in the tested Weibull model, the shape and scale parameters exhibited a negative covariance of -0.0511, indicating an inverse relationship where one tends to decrease as the other increases. By exporting these matrices in spreadsheet or PDF formats, researchers can feed them directly into economic models. The authors note that while the tool democratizes advanced survival analysis, its accuracy ultimately depends on the quality and completeness of the data entered by the user.
The research was published in Revista brasileira de epidemiologia = Brazilian journal of epidemiology on November 20, 2026.
This article has been fact checked for accuracy, with information verified against reputable sources. Learn more about us and our editorial process.
Last reviewed on .
Article history
- Latest version
Reference(s)
- Borges, Stéfani Sousa., et al. “AjustAÍ: an open tool for fitting survival curves.” Revista Brasileira de Epidemiologia, vol. 29, January 1, 2026 FapUNIFESP (SciELO), doi: 10.1590/1980-549720260058. <https://doi.org/10.1590/1980-549720260058>.
Cite this page:
- Posted by Tariq Hassan