The repertoire of statistical methods dealing with the descriptive analysis of the burden of a disease has been expanded and implemented in statistical software packages during the last years. The purpose of this paper is to present a web-based tool, REGSTATTOOLShttp://regstattools.net webcite intended to provide analysis for the burden of cancer, or other group of disease registry data. Three software applications are included in REGSTATTOOLS: SART (analysis of disease’s rates and its time trends), RiskDiff (analysis of percent changes in the rates due to demographic factors and risk of developing or dying from a disease) and WAERS (relative survival analysis).
We show a real-data application through the assessment of the burden of tobacco-related cancer incidence in two Spanish regions in the period 1995–2004. Making use of SART we show that lung cancer is the most common cancer among those cancers, with rising trends in incidence among women. We compared 2000–2004 data with that of 1995–1999 to assess percent changes in the number of cases as well as relative survival using RiskDiff and WAERS, respectively. We show that the net change increase in lung cancer cases among women was mainly attributable to an increased risk of developing lung cancer, whereas in men it is attributable to the increase in population size. Among men, lung cancer relative survival was higher in 2000–2004 than in 1995–1999, whereas it was similar among women when these time periods were compared.
Unlike other similar applications, REGSTATTOOLS does not require local software installation and it is simple to use, fast and easy to interpret. It is a set of web-based statistical tools intended for automated calculation of population indicators that any professional in health or social sciences may require.
Keywords:Web-application; Prediction; Standardized incidence mortality ratio; Annual percent change; Net percent change of rates; Relative survival
An aim of public health assessment involves describing the health status of a defined population by looking at their changes over time or by comparing their health events to events occurring in other populations. Descriptive epidemiology of cancer, for example, may assess the size of the problem that cancer poses to health, measuring the risk in the same population at different periods of time . To account for rising trends of cancer in a population or to compare populations of different sizes, rates are usually developed to provide the number of events per population unit , whereas the number of cancer cases is used to measure the burden of cancer into the health system .
Worldwide, statistical methods for descriptive analysis has been expanded and implemented in statistical software packages during the last years. The most comprehensive coverage of statistical methods for analyzing cancer data is SEER*Stat , whereas user-friendly statistical software packages for specific time-trend modelling of rates have also been developed to measure the burden of cancer and its projections – changes in trends , and survival analysis –.
The purpose of this paper is to present a set of web-based tools, REGSTATTOOLShttp://regstattools.net webcite, in order to provide a very easy-intuitive way to carry out statistical analyses. The user must upload the predefined file to REGSTATTOOLS web-page to obtain for a determined disease and a period of time: (i) descriptive statistics, (ii) the estimated annual percent change in rates; (iii) the standardized incidence or mortality ratio comparing two time periods or two geographical areas; (iv) the prediction of the expected incident or death cases; (v) the assessment of the differences for incidence or deceased cases between two different time points or two geographical areas in order to clarify the role of the changes on demographic factors and the risk of developing or dying from the disease, and finally, (vi) comparing observed and relative survival.
In this paper REGSTATTOOLS is introduced describing its use through an example on the assessment of the burden of tobacco-related cancer incidence in two Spanish regions during the period 1995–2004.
Descriptive statistics for rates
Suppose that we want to assess the burden of a disease in a certain population of size N during a certain period of time. Consider that we have observed X cases of the disease under study, therefore the crude rate (CR) is defined as X/N. The CR is the simplest and most straightforward summary measure of the population’s diseases under study. But the events may be strongly related to age, so the age-specific events will differ greatly from one another, therefore it is of interest to calculate the age-specific rates. The use of a world standard population  and direct standardization (or any other adjustment procedures) seek to provide numbers and comparisons that minimize the influence of age and/or other extraneous factors through the age-standardized rates (ASR) –. These ASRs can be also truncated for the age groups of interest. In cancer, the calculation of truncated rates (TR) over the age-range 35-64  has been proposed, mainly because of doubts about the accuracy of age-specific rates in the elderly when diagnosis and recording of cancer may be much less certain. Finally, another useful summary measure of disease frequency is the cumulative rate [14,15] (CumR), which is the sum of the age-specific incidence rates, taken from birth to age 74, in a certain time period. CumR is an estimate of the cumulative risk (Cumulative Risk= 1-exp[−CumR]), which is the risk which an individual would have of developing an event of interest during a certain age-span if no other causes of death were in operation .
Estimating the annual percent change in rates (EAPC)
In descriptive epidemiology, the evolution of incidence or mortality rates of certain disease during a determined time period can generate etiological hypotheses. The estimated annual percent change (EAPC) is one way to characterize trends in disease rates over time. This means that the rates are assumed to change at a constant percentage of the rate of the previous year . Let us assume that we want to assess the EAPC of ASRs during a period of time (in cancer, usually years). Let ASRT be the ASR for the Tth year, T; the time trend of the ASRs can be modelled through a Gaussian log-linear model,
where EAPC = (eβ − 1)·100. The 95% confidence intervals of the EAPC can be easily derived through the standard errors of model (1) .
Predicting the Expected number of incident (or death) disease cases by age group using the time trends of rates
Prediction of future disease burden is essential for effective health service planning, as it may be utilized by public health authorities to formulate prevention, diagnosis and treatment strategies . Simple log-linear models can be used to make these predictions . If we assume that the time trend of
where T0 is the reference time, αi is the log-rate at T0 for the ith age-group and βi is the age-specific slope. A parsimonious version of this model can be also used assuming a common slope for each age group,
where this model is known as the age-drift model. For these models we assume CiT to follow the Poisson distribution . However, the negative binomial distribution has been also used as an alternative to Poisson when there is evidence of “overdispersion” (higher variance than expected) in the data .
Prediction of incidence at a future time F can be made using the fitted model (2) or (3), and replacing T by F and YiT by YiF into the fitted model. Poisson and Negative Binomial distribution are both assumed for each model in (2) and (3). Therefore 4 models are assessed for the selection of the best fitting model to data. The assessment is made through the Akaike’s Information Criterion (AIC)  and the Chi-square test .
Comparing risk between two groups (time periods or geographical areas): standardized incidence or mortality ratio (SIMR)
SIMR is used to determine if the occurrence of a disease in a target population is higher or lower than that occurrence in a reference one. For example, we can either compare the incidence of cancer in the same area in two different time periods or two different areas in the same time period. The SIMR can be calculated as
where D is the number of observed events in the target population and E the number of expected events in this population using the incidence (or mortality) rates of the reference population .
Assessment of differences due to risk and demographic factors when comparing disease rates of two populations
To assess differences for incidence or deceased cases between two different time points or two areas in order to clarify the role of the changes in demographic factors and the risk of developing or dying from a disease, we used the method of Bashir and Estève . For example, we can compare the observed age-specific incidence cases of certain cancers in the period 1995–1999, , with the observed age-specific incidence cases in the period 2000–2004, . Assuming eighteen 5-year age-groups, the observed percent net change of the difference in the total number of cases between both periods can be calculated as
Net(%), can be separated into two components: i) changes in size and age distribution (structure) of the population and ii) changes in the risk of developing the disease,
We note that in each age group we must take into account that rates into the period 2000–2004 must be considered as constant as well as rates into the period 1995–1999. If the population size is expected to increase by 10%, incident cases will also increase by 10%. The effect of population structure is estimated by comparing the rate observed in 1995–1999 and the rate expected in the 2000–2004, through applying the age specific rates observed in 1995–1999 to the population pyramid in 2000–2004. Lastly, the percent change not explained by percent change in the population will be considered to be due to the variation in risk of developing the disease . We note that the net change can be also calculated for the CR . Mathematical details of equation (6) can be found in the Additional file 1.
Assessing survival of a cohort of patients diagnosed with a certain disease
The observed survival (OS) rate is the basic measure of the survival experience of a group of patients from the date of diagnosis to a certain time. However, information on the cancer patients’ causes of death might not be always suitable or it might be vague or unavailable [15,21]. Since the interest lies in describing mortality attributable to the disease under study, one method of estimating net survival, where the disease of interest is assumed to be the only possible cause of death , is relative survival (RS). It is interpreted as the probability to survive after diagnosis of the disease of interest. For a cohort of patients diagnosed with a certain disease, say cancer for example, the cumulative RS at time T is defined as
where So(T) is the observed survival rate in the cohort of study and SE(T) is the expected survival of that cohort, this last estimated from a comparable general population life tables stratified by age, sex and calendar time and assume that the cancer deaths are a negligible proportion of all deaths . The RS(T) can be calculated through estimating So(T) by the Kaplan–Meier method and SE(T) using Hakulinen method . The 95% confidence intervals of the RS(T) can be estimated through the standard errors of the log-transformation of So(T) assuming SE(T) as a constant value . Some interpretations about RS are not straightforward. Note that improvements in general mortality of the reference population affect SE(T) in Equation (7) . Let’s suppose we want to compare 5-year RS of lung cancer between periods 1999–1994 (RS(5)=10,5%) and 1995–1999 (RS(5)=8,5%) among men in Catalonia (Spain) . Although cancer mortality decreased in 2000–2004 compared to 1995–1999 in Catalonia , we observed a decrease of 5-year RS of lung cancer. It may suggest that RS(5) was worsening in 1995–1999 but the explanation is that SE(5) between both periods increased but So(5) remained stable, and therefore RS(5) decreased . In this line, two period comparison of RS for cancers with poor survival should be interpreted with caution .
The set of web-based applications included in REGSTATTOOLS
REGSTATTOOLS (http://regstattools.net/ webcite) includes a set of web-based statistical applications running under Linux operating system installed in a web-server: SART (Statistical Analysis of Rates and Trends) , RiskDiff (a web tool for the analysis of the difference due to risk and demographic factors for incidence or mortality data)  and WAERS (Web-Assisted Estimation of Relative Survival) . The web pages of all these applications were implemented using the server-side scripting language PHP and HTML [ whereas statistical computation has been implemented using R statistical software .
Figure 1 shows an overview of the REGSTATTOOLS applications. Each application requires at least one input file to perform the corresponding statistical analysis. The user must have an Individual Records data file available which is a basis file to perform all the statistical analysis, since most of the data files used in the web applications are derived from this one. This basis file must contain the following patients’ variables: patient identification, sex, type of disease, age-month-year at diagnosis, status of the patient (dead or alive), month-year of the death, and finally, the follow-up time in years. The SART applications require a total of 6 files to be uploaded whereas RiskDiff and WAERS applications only require one file each.
Figure 1. Schematic overview of Web-based applications included in REGSTATTOOLS and the required input files to perform each one of the statistical analyses.
The SART applications  require an Aggregated Data file that must contain the following columns: sex, age-group, incidence or mortality year, type of disease, cases and person-years at risk. To perform a descriptive analysis of the disease rates, the user can make use of the Descriptive application after preparing an age-groups file and a standard population’s file. The time trends analysis of rates can be performed using the EAPC application which also requires a standard population file. The application Expected allows a prediction of the expected number of cases in a future period or in other geographical areas, using the aggregated data and a file which contains an external population distribution (person-years at risk by age-group). The comparison of risk between two groups can be performed through SIMR application which requires a partition of the Aggregated Data file into two files, each one with data of the corresponding time period. Another possibility could be comparing these data with data from another area in the same time period; therefore, two files are required. In this line, note that the user must prepare 6 files to fully run SART.
The RiskDiff application  has been developed to perform the analysis described in section Assessment of differences due to risk and demographic factors when comparing disease rates of two populations. It requires information on the number of cases and person years at risk by age-group in each one of the two periods or two geographical areas to be compared. In this line, the Aggregated Data Selection file must contain 2 columns for each period/area compared: one column referring to person-years and another column referring to number of cases.
Finally, the RS must be obtained through the WAERS application  which requires a Selection of Individual Records file with the following variables: patients ID, age and year at beginning of study, sex, years of follow-up and vital status (death or alive).
We will refer to AF throughout the paper where additional figures and tables can be found, and those that are related to the example section.
To illustrate the use of REGSTATTOOLS we will assess the burden of tobacco-related cancer in Girona and Tarragona provinces (northeast of Spain), which cover 1,200,000 inhabitants in 2001. Incidence data were provided in the Individual Records data file which includes data from all patients diagnosed with larynx, oral cavity, pharynx, oesophagus, stomach, lung, pancreas and kidney tumours in the period 1995–2004. Patients were followed-up until December 31st 2007. A total 10297 men and 2695 women (mean age 66.1 and 70.1 years, respectively) were included in the analysis. This file is the basis to perform the statistical analyses (Table 1) from which we can create the data file to be uploaded into SART by means of aggregated data in eighteen 5-year age-groups (or other age groups according to user’s requirements).
Table 1. File example of individual records
Table 2. Girona and Tarragona aggregated data
Table 3. WAERS output for lung cancer incidence in Girona and Tarragona. 4 executions by period and sex
The Descriptive application has been used after preparing an age-groups file (Additional file 1: Table Aff1) and a world standard population’s file (Additional file 1: Table Aff2). Since we are analysing rates, note that Girona and Tarragona population’s person-years at risk for each sex-age-group-year are required. We made use of the Catalan Institute of Statistics population’s distribution (available at: www.idescat.net). Merging a Population-Distribution (person-years) data file (Additional file 1: Table Aff3) and the previous one, we can obtain the Aggregated Data file (Table 2). Results of the descriptive analysis of tobacco-related cancer in Girona and Tarragona showed that ASR of lung cancer is the first ranking in men’s (ASR=48.27 per 100,000 men-years at risk) and the second one in women’s (ASR=5.12 per 100,000 women-years at risk) in the ranking of the tumours of interest (Additional file 1: Figure Aff1). Lung cancer has the highest risk among the tobacco-related cancers in men (CumR=6%, 6 per 100 men are at risk of developing lung cancer before 75 years old, Additional file 1: Table Aff4). In women, lung and stomach cancers have the highest risk among the tobacco-related cancers (CumR= 0.58%, less than 1 per 100 women are at risk of developing lung or stomach cancer before 75 years old, Additional file 1: Table Aff4).
EAPC of tobacco-related cancer rates during the period 1995–2004 in both sexes is depicted in Figure 2. EAPC can be interpreted as the annual change of rates in the magnitude of a trend. If the confidence interval includes 0 value, the change is not statistically significant whereas if it is not included, it is interpreted as a significant increase (if it is positive) or decrease (if it is negative). In men, lung cancer remained stable (EAPC= −0.24, 95%CI: -1.54, 1.08) whereas some tumours showed a significant decreasing trend such as stomach (EAPC= −4.14, 95%CI: -6.79, -1.42) and oropharynx (EAPC= −3.23, 95%CI: -5.43, -0.97) and a significant increasing trend such as pancreas (EAPC= 2.77, 95%CI: 0.73, 4.85) (Additional file 1: Table Aff5). In women, significant increases in the study period were detected in lung (EAPC=6.16, 95%CI: 1.81, 10.70) and oropharynx tumours (EAPC=3.52, 95%CI: 0.91, 6.19), (Additional file 1: Table Aff5).
Figure 2. Estimated annual percent change incidence cancer in Girona and Tarragona. 1995–2004.
Although some cancers did not show a significant time trend during the whole time period, there might be a change in the risk of developing the cancer at the individual level. Therefore, we could prepare two datasets, one which includes 1995–1999 aggregated data (reference period) and another with 2000–2004 aggregated data (target period) (Additional file 1: Table Aff6) and making use of the SIMR application we could assess the change in risk of developing lung cancer between these periods. SIMR can be interpreted as the increase or decrease of risk of developing or of dying from a disease comparing the observed number of cases of a population respect to a reference one. If the SIMR’s confidence interval includes the value 1, the SIMR is not statistically significant, otherwise, it is interpreted as a significant excess or reduced risk of having a disease or dying from a disease. Figure 3 compares the SIMRs for each cancer site analyzed between men and women. In women, a significant 17% higher lung cancer incidence is observed with 2000–2004 versus 1995–1999 (SIMR=1.17, 95% CI: 1.04, 1.30, Additional file 1: Table Aff7).
Figure 3. Standardized Incidence Ratio incidence cancer in Girona and Tarragona. 2000–2004 vs. 1995–1999.
To assess the changes in the number of incident lung cancer cases among time periods making use of RiskDiff we have prepared an Aggregated Data Selection file (Additional file 1: Table Aff8). Assuming that incidence rates in the period 2000–2004 are constant, as well as rates in the period 1995–1999 are also constant, we have compared cancer incidence in both periods. We found that the number of cases was 11.63% higher in 2000–2004 compared to 1995–1999 among men, whereas among women this change was about 30.0% (Additional file 1: Table Aff9). Figure 4 shows the contribution of demographic factors and the risk of developing lung cancer to this net change in the CR, cases per 100,000 person-years, and absolute number of cases. In men, changes in the CR due to risk and population structure are similar (Risk: 0.75 and Structure: 0.78 cases per 100,000 person-years) whereas changes in risk contribute the most among women (Risk: 1.52 and Structure: 0.24 cases per 100,000 person-years). In men net change in absolute number of cases was basically due to a change in population size (9.78%), while changes in population structure and changes in the risk of developing lung cancer were much less important, 0.95% and 0.91% respectively. On the contrary, in women, the net change in the absolute number of cases was mainly attributable to an increased risk of developing lung cancer (17.53%) while the changes in size and population structure play a less important role (9.76% and a 2.72%, respectively) (Additional file 1: Table Aff9 and Figure 4). These results are in agreement with those observed in the SIMR analyses.
Figure 4. Partition of the net change between risk, structure and size in lung cancer incidence from Tarragona and Girona. 2000–2004 vs. 1995–1999: (I) Difference in the crude rate (number of lung cancer cases per 100,000 person-years) between 1995–1999 respect to 2000–2004 among men (A.1) and among women (A.2); (II) Difference in the absolute number of lung cancer cases between 1995–1999 respect to 2000–2004 among men (B.1) and among women (B.2). (Note that differences in the number of cases are partitioned into those due to risk and those due to population structure and population size.
We also assessed the evolution of the 5-year RS rates of lung cancer between the time period 2000–2004 and the time period 1995–1999 using WAERS through a Selection of Individual Records file (Additional file 1: Table Aff10). Table 3 shows the WAERS output, where we found that 5-year RS improved significantly among men (5-year RS 1995-1999=8.3%, 95% CI: 7.1%-9.6% versus 5-year RS 2000-2004=11.5%, 95% CI: 10.1%-13.0%) whereas these differences between RS were not statistically significant among women (5-year RS 1995-1999=10.6%, 95% CI: 7.1%-15.7% versus 5-year RS 2000-2004=14.0%, 95% CI: 10.4%-18.9%).
Finally, we predicted the burden of lung cancer for the year 2014 in Catalonia through the Expected application of SART making use of the predicted population for Catalonia in 2014 (Additional file 1: Table Aff11). The application selected the age-drift models (Additional file 1: Table Aff12) as the best fitting ones, predicting 777 cases among women with an ASR of 10.74 cases per 100,000 women-years and 3085 cases among men with an ASR of 46.82 cases per 100,000 men-years (Additional file 1: Table Aff13). We can also observe the cases by age-group in Additional file 1: Table Aff14 (the output of the application).
There are many “stand-alone” web pages which are designed to perform only a single statistical test or calculation. REGSTATTOOLS is a website which performs an entire suite of calculations for registry data, with a logical organization and consistent user interface. REGSTATTOOLS incorporates a flexible data import with a variety of methods in order to facilitate the widespread use of these applications with a basic statistical knowledge. The development of REGSTATTOOLS’ applications is an ongoing process which has been implemented with the current version of SART, RiskDiff and WAERS. In this paper, the use of REGSTATTOOLS’ applications was illustrated by analyzing population-based cancer registry data. However, it can be used to analyze other disease registry data such as diabetes or any other chronic disease.
Up to date of publication SART, WAERS and RiskDiff were accessed 3,179 times in total. Although each application was available on the internet at a different period of time, each one shows different percentage of use by user type (see Additional file 1: Table Aff15). Cancer registries are the main users of SART (65.94%) and WAERS (60.71%) whereas they are the second in the ranking of RiskDiff (35.71%) users. Universities and research centres are also major WAERS (26.16%) and RiskDiff (42.86%) users.
SART includes the calculation of disease rates and other indicators in the same application with no requirement of software installation . WAERS is a web-based survival-specific application to perform basic RS analysis . Nowadays, mortality rates from all European countries, the United States of America, Canada and Argentina have been incorporated into WAERS. Any WAERS user from all these countries can estimate RS making use of these mortality tables. More advanced survival analysis can be carried out using other statistical software – that requires previous installation in the user’s local computer as well as some technical skills about multivariate analysis. On the other hand and to our knowledge, RiskDiff is the only available web tool that can perform a statistical analysis which identifies which percentage of change in disease rates between two time periods or areas are due to changes in demographic factors, and which are due to changes in risk .
Some limitations should be noted in these applications in their current versions. SART does not provide confidence intervals for rates, and axis limits of graphs are created automatically by the application. WAERS does not allow a comparison of two or more RS curves since it does not compute RS for two or more groups at the same time. RiskDiff does not allow the assessment of statistical significance for the percent changes in risk and demographics. Future work will incorporate the integration of these features within these applications, although research in statistical methods must be developed specifically for RiskDiff.
Unlike other similar applications, REGSTATTOOLS does not require local software installation and it is simple to use, fast and easy to interpret. REGSTATTOOLS is a set of web-based statistical tools intended for automated calculation of population indicators that any professional in the health or social sciences may require.
Availability and requirements
Project name: REGSTATTOOLS.
Operating system: Platform independent for accessing the public web server.
Programming language: R and PHP.
Requirements: R statistical software available at http://www.r-project.org/ website is required for the functions implemented.
Any restriction to use by non-academics: None.
ASR: Age standardized rate; CR: Crude rate; TR: Truncated rate; cumR: Cumulative rate; EAPC: Estimated annual percent of change; OS: Observed survival; RS: Relative survival; SIMR: Standardized incidence or mortality ratio; AF: Additional file; 95%CI: 95% confidence interval; RiskDif: A web tool for the analysis of the difference due to risk and demographic factors for incidence or mortality data; SART: Statistical analysis of rates and trends; WAERS: Web-assisted estimation of relative survival.
The authors declare that they have no competing interests.
LE, RC, JG, LP and JR initially conceived the tool and were involved in its design. LE, RC and LP did the statistical analysis and the implementation in R JG implemented the web interface. JG and AI contributed to the collection, processing and interpretation of the data. All authors have been involved in drafting the manuscript and revising it critically. All authors approved the final version.
We would like to thank the two reviewers as well as the editor for their careful reviews and constructive comments that have improved the manuscript significantly. We would like to thank Dr. Genevieve Buckland for the very constructive and helpful comments. This work was supported by a UICC International Cancer Technology Transfer Fellowship and with Federal funds from the National Cancer Institute, National Institutes of Health under Contract NO2-CO-41101.
Surveillance research program, national cancer institute SEER*stat software.
SURV3, Relative survival analysis. 2000.
Ref Type: Unpublished Work
Bray F: Age-standardization. In Cancer incidence in five continents, volume VIII. IARC scientific publications No. 155. Edited by Parkin DM, Whelan SL, Ferlay J, Teppo L, Thomas DB. Lyon: International Agency for Research on Cancer; 2002:87-89.
IEEE Trans Autom Control 1974, 19(6):716-723. Publisher Full Text
J Epidemiol Bioestat 2001, 6:287-296. Publisher Full Text
Natl Cancer Inst Monogr 1961, 6:101-121. PubMed Abstract
BMC Publ Health 2009, 9:473. BioMed Central Full Text
The pre-publication history for this paper can be accessed here: