Abstract
The benchmark dose (BMD) methodology is used to derive a hazard characterization measure for risk assessment in toxicology or ecotoxicology. The present paper’s objective is to introduce the R extension package bmd, which facilitates the estimation of BMD and the benchmark dose lower limit for a wide range of dose-response models via the popular package drc. It allows using the most current statistical methods for BMD estimation, including model averaging. The package bmd can be used for BMD estimation for binomial, continuous, and count data in a simple set up or from complex hierarchical designs and is introduced using four examples. While there are other stand-alone software solutions available to estimate BMDs, the package bmd facilitates easy estimation within the established and flexible statistical environment R. It allows the rapid implementation of available, novel, and future statistical methods and the integration of other statistical analyses.
Keywords: BMDL, Hybrid approach, Model averaging, Risk assessment
Introduction
Risk assessment in human toxicology and ecotoxicology quantifies the relationship between the exposure to a chemical (or other stressor) and a hazard characterization measure of the chemical. If the exposure dose/concentration is estimated to be less than the dose/concentration estimated to have adverse effects (the point of departure (POD)) then the risk associated with exposure to the chemical agent is considered acceptable. In practice, the POD is often modified by safety or uncertainty factors to account for inter-species differences and inter- and intra-individual differences in the target population. This modified value is usually called the reference dose/concentration or limit value, depending on the context. The two main approaches for deriving PODs are the No Observed Adverse Effect Level (NOAEL) and the Benchmark Dose (BMD) methodology. Note that for concentrations also NOAEC (No Observed Adverse Effect Concentration) and less commonly BMC (Benchmark Concentration) are used, as is NOEL, (No Observed Effect Level), NOED (No Observed Effect Dose) or NOEC, (No Observed Effect Concentration), in the context where any effect is considered adverse. Whether level, dose, or concentration is used depends on how the test organism/system is exposed to the chemical agent, but in the context of developing methods for benchmark dose estimation the term dose will be used to quantify exposure.
The NOAEL is the highest dose that does not lead to an observable adverse change in the investigated response. Hypothesis testing usually complements the Lowest Adverse Effect Level (LOAEL) determination, i.e., the next dose level above the NOAEL. The NOAEL will be an experimentally tested dose and it depends strongly on the dose spacing. Poor experimental design, high variation, and low statistical power lead to relatively higher NOAELs, which is problematic from a conservative point of view and can only be mitigated by toxicological weight-of-evidence assessment, considering multiple studies or endpoints within a single study or by means of additional safety factors.
The BMD approach aims to reduce some of these issues associated with NOAEL derivation and relies on dose–response modelling. It is, therefore, less dependent on the tested doses. The BMD methodology was initially introduced by Crump (Crump, 1984) for binomial response data, but has subsequently been extended with definitions for continuous response data (Gaylor & Slikker, 1990; Crump, 1995; Budtz-Jørgensen, Keiding & Grandjean, 2001). The BMD methodology is now recommended by OECD and other regulatory authorities (Davis, Gift & Zhao, 2011; Organisation for Economic Co-operation and Development , 2012a; Hardy et al., 2017). The BMD is defined as the dose associated with a predefined small change in the response, the benchmark response (BMR), from the background response level. This is a key difference to the NOAEL, which refers to a level with no observable effect, which may be biased by statistical power, or experimental sensitivity (Brescia, 2020).
BMRs of 5 and 10% are often used,; however, appropriate BMRs for different endpoints need to be discussed within the (eco)toxicological community (Slob, 2017; Haber et al., 2018; Jensen, Kluxen & Ritz, 2019; Kluxen, 2020), as they are not scientifically reasoned, which is similar to the use of p < 0.05 (Salsburg, 2001; Kennedy-Shaffer, 2019). BMDs are essentially similar to effective doses or concentrations but often located in more data-sparse regions of the dose–response curve. In practice, reference values or limit values are derived from the BMD lower limit (BMDL), which is defined as the lower limit of a one-sided confidence interval of the BMD estimate (see, Fig. 1).
Currently, mainly two comprehensive software packages are available for BMD analysis: BMDS developed by US Environmental Protection Agency (EPA) (Davis, Gift & Zhao, 2011) and PROAST developed by the Netherlands National Institute for Public Health and the Environment (RIVM) in collaboration with Open Analytics (Varewyck & Verbeke, 2017; Slob, 2018). The two packages differ in several ways. BMDS includes several dose–response models, but it (for now) only includes Bayesian model averaging and for binary data only. In contrast, PROAST offers model averaging for both binary and continuous response data but includes fewer dose–response models. The two packages also differ in how BMDL is derived. A few other more specialized packages have also been developed for BMD analysis (Yang, Allen & Thomas, 2007; Wheeler & Bailer, 2008; Shao & Shapiro, 2018).
Over the past 25 years, the open-source environment R (R Core Team, 2018) has developed into an extremely powerful statistical software where many extension packages offer specialized functionality. One such extension package is drc developed for the analysis of dose–response data (Ritz et al., 2019).
The present paper’s objective is to introduce the R extension package bmd and help (eco)toxicologists with using the tool by the evaluation of multiple case studies and simple example code. The package allows using the most current statistical methods for BMD estimation in R. It can be seen as a flexible alternative to BMDS and PROAST in terms of available models, a higher degree of user-control over models, and more approaches for BMDL estimation and model averaging. The option of using sandwich variance–covariance estimates to adjust for model misspecifications is an important addition. The R package also offers the possibility to work with count data. An option not available in any other BMD software. The other clear distinction of bmd is that it can be used within the R environment and thus supplement other statistical analyses within the same software. Further, other extensions that are or will be developed for R can be directly used together with bmd. This flexibility is currently not achieved in other BMD software.
BMD Estimation
Estimating a BMD and its corresponding BMDL depends on the type of response data considered, the definition used for defining BMD, the predefined BMR, the choice of dose–response model, and the approach used for estimating BMDL. The dose–response model is fitted to data using drc. Since drc uses powerful self-starter functions, the fitting process is automated. The fit can then be visually assessed, and the distribution of the residuals investigated. The fit can also be compared to other candidate models, and model averaging may be performed. Below, the individual steps of the process are described.
Defining BMD for a predefined BMR
The BMD is defined as the dose resulting in a pre-specified small change, denoted the BMR, in the response relative to the control group’s response level. In practice, defining BMD and specifying BMR goes hand in hand (Jensen, Kluxen & Ritz, 2019). Different types of changes in the response may be relevant, i.e., absolute versus relative changes compared to the control response level, and accordingly, different definitions of the BMD exist. However, not all definitions are relevant to all types of endpoints. The definitions available in the package bmd are described below in detail and are summarized in Table S1. The definitions below are for increasing dose–response curves; for decreasing dose–response curves, the same principles apply, but with a slight change in the definitions (for example, the definition of additional risk for decreasing dose–response curves is: ).
Binomial response data
For binomial response data, two definitions are commonly used (Jensen, Kluxen & Ritz, 2019); additional and excess risk (Piegorsch, 2010):
Additional risk
(1) |
Excess risk
(2) |
f denotes the dose–response model, and β is the vector of parameters in the model. p0 represents the mean background response level, i.e., the probability of an adverse effect. The background response level is typically estimated from the model as p0 = limdose→0f(dose, β) but may also be estimated from a control group or be specified based on prior knowledge (Jensen, Kluxen & Ritz, 2019). Notice that if the background response level, p0, equals 0, the two definitions, additional risk (Eq. (1)), and excess risk (Eq. (2)), are identical. Excess risk is the most common definition used for binomial response data. The excess risk definition (Eq. (2)) is recommended by both the US EPA and the European Food Safety Authority (EFSA) (US Environmental Protection Agency, 2012; Hardy et al., 2017). Appropriate BMR values should ideally be based on expert biological or toxicological knowledge about the test system, but in practice, the decision is often driven by statistical considerations (Jensen, Kluxen & Ritz, 2019). US EPA and EFSA recommend choosing a BMR in the lower end of the specific data set’s observable dose range. A BMR of 10% using the excess risk definition is often within the dose-range and a common choice for reporting results of a BMD analysis with binomial data (US Environmental Protection Agency, 2012; Hardy et al., 2017; Jensen, Kluxen & Ritz, 2019).
Continuous response data
For continuous response data, the analogous definitions of additional and excess risk are based on the so-called hybrid approach (Gaylor & Slikker, 1990; Budtz-Jørgensen, Keiding & Grandjean, 2001; Jensen, Kluxen & Ritz, 2019). As continuous data typically reflects a response and not an adverse effect, the hybrid approach “transform” the continuous response measurements to the probability of observing an adverse effect by using a cut-off. The hybrid approach is defined as in e.g., Jensen, Kluxen & Ritz, 2019. Specifically, the hybrid approach defines BMD as the dose corresponding to a predefined increase (BMR) in the probability of the response values falling below (or exceeding) a certain cut-off value on the response scale, i.e., the cut-off divides the continuous response scale into normal and abnormal values. In contrast to binomial data, the background response level, p0, of abnormal responses is not directly given by the data but has to be specified using a pre-specified cut-off, possibly based on historical data (Jensen, Kluxen & Ritz, 2019). Assuming a normal distribution for the unexposed (background) population the background probability of an adverse event, p0, may be specified as
(3) |
where x0 is the organism response level considered to be adverse, Φ denotes the cumulative distribution function for a standard normal distribution, and σ is the standard deviation for the control group. With this definition of the background response level (Eq. (3)), the hybrid approach leads to the definition of the BMD as the dose solving the following equations:
Hybrid approach (additional definition)
(4) |
Hybrid approach (excess definition)
(5) |
For some outcomes, it may be a “natural” choice to choose a specific level, x0, on the response scale to define the cut-off for adverse response levels. However, the most common case is to use a cut-off in terms of a pre-specified number of standard deviations, circumventing the need to decide on an absolute level. For example, US EPA recommends using a cut-off of 1 standard deviation (US Environmental Protection Agency, 2012). Both options for defining the background level are available in bmd. When using the hybrid approach (Eq. (4)), typical values of BMR are 5% or 10% (US Environmental Protection Agency, 2012).
Count or continuous response data
Additional definitions that are also used in the literature were included in bmd available for both continuous and count response data (Wheeler & Bailer, 2009; Davis, Gift & Zhao, 2011; Slob, 2017):
Added response
(6) |
Extra response
(7) |
Relative response
(8) |
In definitions (6)–(8), BMR is defined as an absolute or relative change in the response from the background response level f(0, β), as estimated by the model. The added response definition expression mathematically corresponds to the additional risk definition for binomial data where the response is an adverse event. Suppose the upper limit is 1 (for increasing dose–response models or the lower limit is 0 for decreasing dose–response relationships). In that case, the extra response definition corresponds mathematically to the excess risk definition for binomial data. The relative response definition (Eq.(8)) is sometimes referred to as deriving the critical effect size (Slob, 2017). US EPA recommends reporting the critical effect size and results from the hybrid approach using BMR values of 5% or 10% as appropriate (US Environmental Protection Agency, 2012). EFSA recommends reporting the critical effect size with the default BMR value of 5% (Hardy et al., 2017).
All types of response data
Finally, it is an option in bmd to specify directly the response level for which to find the dose.
Directly defined
.
Estimation
All types of BMD estimates are calculated in an after-fitting step when using the package bmd. After-fitting refers to deriving estimates and corresponding standard errors for parameters that do not directly enter the model parameterization and hence have to be estimated in a subsequent step using the delta method. The BMD estimating function in bmd is called bmd() and takes a drc object (model fit) as its first argument. The alternative to after-fitting would be to re-parameterize the model to include the BMD of interest as a model parameter. The after-fitting approach has, however, the advantage that it suffices to fit the dose–response model once in a parameterization that has proven to be the most robust for estimation (Ritz et al., 2015). Accordingly, after-fitting provides an improvement over the sometimes quite unstable re-parameterization approach. This is especially the case when estimating a BMD corresponding to a very low BMR value, which may then be in an area with little or no information in data.
Choice of dose–response model
A key distinguishing feature of bmd is that it inherits flexibility in available models from the package drc (Ritz et al., 2019). Among others, the parametric dose–response models available include the well-known and often used multi-stage, log–logistic and Weibull models and the flexible class of fractional log–logistic models proposed by Namata et al. (2008). As a non-parametric alternative, the function bmdiso() monotonizes the sequence of response values based on the pool-adjacent-violators algorithm. Based on the monotonized sequence, linear interpolating splines are used to build an isotonic regression model as the dose–response model used for BMD estimation (Piegorsch et al., 2012; Piegorsch et al., 2014; Lin, Piegorsch & Bhattacharya, 2015). Table S2 lists all models from drc available for BMD estimation in bmd. All the models shown are available for binomial, continuous, and count response data. Even more model expressions may be estimated by fixing one or more parameters. We refer to Ritz et al. (2019) for more details.
Defining BMDL
Different approaches for estimating the BMDL have been proposed. They can be summarized as three general types; asymptotic approaches, inverse regression and based on bootstrapping. Among the asymptotic approaches, the Wald-type confidence intervals are the most simple. The one-sided Wald-type interval needed to estimate the BMDL is found by combining information on the parameters included in the model by using the delta method. The Wald-type intervals may result in unrealistic negative BMDL estimates, which in practice will be truncated at 0 because of the symmetric confidence interval. Especially in the low dose area, this may be a problematic assumption. One way to work around this is to use a transformation (typically the logarithm) to avoid negative values. Inverse regression reports the BMDL as the dose associated with the upper limit of the confidence band for the change in response reaching the predefined BMR (Buckley, Piegorsch & West, 2009; Fang, Piegorsch & Barnes, 2015).
Bootstrap methods for estimating BMDL may rely on non-parametric, parametric, and semi-parametric strategies depending on the type of response data. The non-parametric bootstrap is based on resampling with replacement from each dose group of the original data set. The parametric bootstrap for continuous data samples from a normal distribution with dose-specific mean but equal standard deviation, assuming equal variance between groups, i.e., response values are sampled from:
for observation j in dose-group i. In case of binomial data, each bootstrap data set is sampled from a binomial distribution with dose-specific numbers of observations and probability of an event. That is, response values are sampled from:
where denotes the observed proportion of the population in dose group i experiencing the event.
In case a dose has only non-events or only events, shrinkage is used to avoid that the resampling always produces 0 or 1, respectively. In this case, data is sampled from
as suggested elsewhere (Piegorsch et al., 2012).
Semi-parametric bootstrapping, only available for continuous response data, is done by sampling with replacement from the residuals assuming exchangeability over all observations.
Exploring model assumptions
For continuous data, residual plots showing standardized residuals against predicted values can be used to assess variance homogeneity. A random scatter plot will support the model assumptions whereas clear patterns in the plot indicate deviations from model assumptions. Assessment of the normality assumption can be based on quantile–quantile plots on the residuals. For an example on how to do a visual assessment of model assumptions, we refer to Ritz et al. (2019). Using the visual assessment of residual and quantile–quantile plots is associated with some degree of subjective evaluation. However, the test-based assessment also has limitations, as it might result in overfitting, or because the assumptions underlying the tests themselves are not fulfilled (Wang & Riffel, 2011).
Assessment of over-dispersion for binomial or count data can be done by comparing residual deviance to degrees of freedom. If the residual deviance is higher than the degrees of freedom, there is excess variation in data (over-dispersion) not accounted for by the model. Alternatively, a model allowing an extra variance parameter, i.e., a negative binomial model can be fitted and the need for the extra parameter evaluated by comparing models with and without the extra parameter, for example, using AIC (Akaike information criteria). Finally, the model may be estimated using sandwich estimates (see ‘Dealing with distributional misspecification’). A large change in the standard errors indicate over-dispersion in data.
Dealing with distributional misspecification
Extreme or, by other means, deviating observations may be handled already in the model-fitting step using robust estimation in drc. The resulting variance–covariance matrix will be propagated to the subsequent after-fitting step where BMD and BMDL are derived.
When assumptions regarding normality and/or the variance homogeneity are not satisfied, consistent estimates of the standard errors can be obtained by adjusting the estimated variance–covariance matrix. One way of doing this is to use a modified variance–covariance matrix defined as:
where is the usual estimate of the variance based on the information matrix, and is a correction term based on the first derivatives on the log-likelihood function. Due to the form of the modified variance–covariance matrix, the resulting adjusted standard errors are referred to as sandwich estimates. Notice that the sandwich approach only modifies standard errors but leaves estimated model parameters unaltered. Accordingly, the underlying assumption of a correctly specified mean function remains.
Finally, log-normal distributed data may be handled by log-transforming the response variable before fitting the dose–response model, which leads to a change in the interpretation of BMD and BMDL, now relating to a pre-determined change in the response on log-scale. Alternatively, the transform-both-sides approach could be used such that the assumed dose–response relationship, and accordingly, BMD and BMDL will retain their original interpretation (Carroll & Ruppert, 1988).
Model averaging
Interpolation in a dose region with little or no data, as is typically the case for BMD analysis, is highly dependent on the fit and choice of dose–response model. To partly overcome this issue, it has been proposed to evaluate several models and subsequently select the best model determined by means of some goodness-of-fit criterion (Slob, 2002). However, the uncertainty pertaining to the model selection process is not incorporated in the BMD and the associated BMDL. Indeed, results based on a best fitting model found using a model selection procedure may result in biased estimates of BMD and non-protecting estimates of BMDL, i.e., too high BMDL estimates with coverage below the nominal level (West et al., 2012; Ringblom, Johanson & Öberg, 2014). As a consequence, model averaging has been repeatedly advocated for BMD analysis by several authors (e.g., Faes et al., 2007; Jensen & Ritz, 2015; Kang, Kodell & Chen, 2000; Namata et al., 2008; Wheeler & Bailer, 2007; Wheeler & Bailer, 2008) as well as regulating authorities (Hardy et al., 2017). The use of model averaging has the consequence that the flexibility of the assumed candidate models to some extent replaces lack of data. The package bmd offers a large set of dose–response models and accordingly a high flexibility of the candidate set of models for model averaging. Another advantage is that it allows for an automated approach once the candidate models are specified.
Two different approaches may be used for estimating BMD by model averaging. One approach is to make a weighted average of the BMD estimates from all the candidate models (e.g., Bailer, Noble & Wheeler, 2005; Kang, Kodell & Chen, 2000; Moon et al., 2005; Namata et al., 2008). The other is to average entire curves and then find the BMD as the dose associated with the change of interest in the response generated by this weighted averaged model, i.e., using the appropriate definition (Wheeler & Bailer, 2007; Wheeler & Bailer, 2008). Weights are usually based on some measure of goodness of fit. A common choice is the AIC weights defined as:
(9) |
Here K denotes the total number of candidate models and Δk = AICk − miniAICi is the AIC-difference for model k. Alternatively, weights based on the Bayesian information criteria (BIC) (Claeskens & Hjort, 2008) or user-defined weights may be provided.
Estimating the BMDL corresponding to a model-averaged BMD is less straightforward and has accordingly been the subject of much methodological research (Jensen, Kluxen & Ritz, 2019). Three different approaches are available in bmd.
The first option is using a one-sided Wald confidence intervals with standard error approximated by a variance inequality by Buckland, Burnham & Augustin (1997):
Here, BMDk is the BMD for model k and BMDMA is the weighted average of BMD estimates. The second option is using a weighted average of the BMDLs from all the candidate models, in the same way, BMD estimates are averaged to get the model-averaged BMD (Kang, Kodell & Chen, 2000):
with weights, wk, specified as above, e.g., using Eq.(9). Finally, different bootstrap approaches may be used to estimate BMDL corresponding to the model-averaged BMD. For model averaging based on entire curves, the only option for estimating the BMDL is to use bootstrap.
Hierarchical designs
Data obtained from designs with a hierarchical or nested structure do not comply with the basic assumptions of independence underlying the classical dose–response regression analysis. Hence, sticking to these models may result in biased BMDL estimates, i.e., too high or low BMDL estimates with coverage far from the nominal level, usually 95%. Preferably, a mixed effects dose–response model should be used to model such data in order to take into account the correlation structure in data (Ritz, Gerhard & Hothorn, 2013). An alternative approach could be to adjust the estimated standard errors of BMD using sandwich estimates. Another alternative is to fit dose–response models for each independent subsample, and combine the estimates using a meta-analytic approach (Ritz et al., 2019). This latter approach has been shown to result in estimates with stable and near nominal coverage for the closely related effective doses (Jiang & Kopp-Schneider, 2014), and it can therefore be used as an attractive alternative to the more complex fitting of mixed effects dose–response models. An example of this meta-analytic approach is provided in the last of the five examples given below. A similar two-step meta-analytic approach could be used to integrate historical data (Ritz et al., 2019; Jensen, Kluxen & Ritz, 2019).
Examples
The R package bmd builds on the flexibility of drc, and thereby facilitates BMD and BMDL estimation for a wide range of dose–response models. It was first mentioned as a function in Ritz et al. (2015) but has been substantially updated since 2015 with the one common denominator being that both versions utilizes the functionality available in drc. The main function in the package bmd is bmd(), which uses a drc object (a dose–response model fit) and can be easily extended by including arguments. In the following, we revisit five data examples from the literature. R code for the different examples is provided as supplementary material. In short, after installation of the R package from GitHub, the basic approach is to fit a curve using drm(),
library(drc)
modelfit <- drm(…)
and then apply the function bmd()
library(bmd)
bmd(modelfit, bmr = …, backgType = ‘‘…’’, def = ‘‘…’’)
with a specification of BMR, the background type (usually “modelbased”), and the type of definition as indicated in Table S1.
Binomial data: an earthworm toxicity test with chloroacetamide
Our first example revisits data from an earthworm toxicity test (Hoekstra, 1987). For each of six concentrations (including a zero control), 40 earthworms were exposed to the herbicide chloroacetamide, and the resulting number of dead earthworms was counted. The control or natural mortality was 3/40. Following the authors, we fitted a three-parameter log-normal model to the data, estimating the natural mortality as a lower limit. Figure 1 shows the resulting model fit. The model-based estimated natural mortality was 0.10 (95% CI [0.03–0.17]).
In this example, we considered a BMR of 5%, as this small change in probability of an adverse event (death) was well covered by the dose-range. The BMD corresponding to a BMR of 5% using the additional risk definition was the dose associated with a proportion of dead earthworms equal to
The resulting estimated BMD and BMDL were 20.02 mg/kg and 15.40 mg/kg, respectively. The BMD corresponding to a BMR of 5% using the excess risk definition was the dose associated with a proportion of dead earthworms equal to
The resulting estimated BMD and BMDL for the excess risk definition were 19.79 mg/kg and 15.15 mg/kg, respectively.
Count data: a toxicity test in aquatic plants
As part of an experiment examining the toxicity of metsulfuron-methyl on different aquatic plant species, Cedergreen, Streibig & Spliid (2004) considered the effect on Elodea canadensis. Vegetative shoots were placed in an aquarium growth cabinet with a photoperiod of 16 h and at day/night water temperatures of 18/15 °C. Six E. canadensis shoots were exposed to each of seven different concentrations of metsulfon-methyl (0, 0.01, 0.1, 1, 10, 100, 1,000 µg/L medium) in an artificial nutrient medium. Plants were harvested after 14 days and lateral shoots counted among other endpoints.
A three-parameter log–logistic model was fitted to the shoot counts assuming Poisson distributed data. Figure S1 shows the resulting model fit. The figure also shows all data points making it clear that data contains several 0s and also other ties. The fitted model described data adequately, as also indicated by a residual plot (shown in the R code in the Supplemental Information).
We considered an absolute change in the response of one less shoot for these data, as biological implications on 1 less shoot can be considered relevant. That is, BMD was estimated with the added definition and a BMR of 1 shoot. Using nonparametric bootstrap, we found BMD equal to 0.133 µg/L and BMDL equal to 0.052 µg/L.
If we ignored that these data were count data and instead carried out the analysis assuming a normal distribution, the resulting BMD and BMDL would be 0.254 µg/L and 0.092 µg/L, respectively. Ignoring that these were count data would result in less protective estimates in terms of a much higher BMD and a somewhat higher BMDL that was based on much wider confidence intervals.
Count data: a toxicity test with copper under varying temperature
Cedergreen et al. (2016) examined the effect of varying temperature on the toxicity of copper on the nematode Caenorhabditis elegans (Maupas). As part of the experiment, 12 nematode worms were exposed to each of five copper concentrations (1, 3, 8, 20, 40 mg/L agar) under varying temperatures with daily fluctuations of ±4 degrees around a mean temperature of 20 °C. Besides, 36 worms were exposed to the same temperature fluctuations but were considered controls with no copper exposure. During the experiment’s reproduction phase, the nematodes were moved to new wells in fresh plates every day. It allowed registration of the daily egg production and the lifespan of each nematode. The number of fertile eggs and hatched juveniles were counted as offspring.
We followed the guidelines for continuous data from US EPA and estimated the BMD associated with a BMR of 10% using the relative definition, i.e., the concentration associated with a 10% reduction in the total number of offspring relative to the control group. A three-parameter log–logistic model was fitted to data under the assumption of Poisson distributed data. Figure S2 shows the resulting model fit. The resulting BMD and BMDL were 10.47 mg/L agar and 9.40 mg/L agar, respectively.
It may be argued that the above model is problematic due to premature mortality (Delignette-Muller et al., 2014). An alternative would accordingly be to use a weighted dose–response model taking into account the lifespan of the nematodes. The BMD from this new model should now be interpreted as the concentration associated with a 10% change in the number of offspring per day (the lifespan unit) relative to the control group. Because of the two different interpretations, the BMD and BMDL estimates from this model (31.16 mg/L and 28.89 mg/L, respectively) cannot be directly compared to those from the first model.
A second issue related to reproduction data is that count data often exhibit overdispersion, i.e., more variation than can be explained by the model. Two different approaches can be used to overcome this challenge; one is to change the underlying assumed distribution, the other to adjust the standard errors. The first option would, for example, be to use a negative binomial distribution instead of the common choice of the Poisson distribution. The resulting BMD and BMDL were then 27.99 mg/L and 15.99 mg/L, respectively. The second option is to use sandwich estimates when estimating the BMDL while trusting that the dose–response model function appropriately describes the mean trend in data. The result of this approach was a BMD of 31.16 mg/L and a BMDL of 18.63 mg/L. Notice that both procedures accounting for overdispersion resulted in a large decrease of the BMDL, indicating that overdispersion was indeed present in these data.
Continuous data: a fish test
OECD describe data from a 21 day fish test following the guidelines by OECD GL204 and using the test organism Rainbow trout Oncorhynchus mykiss (Organisation for Economic Co-operation and Development(OECD), 2006). The Rainbow trouts were held in 14−15 °C water and exposed to one of 7 concentrations (6 nonzero concentrations + control) of an unknown agent. After 28 days, the wet weight was registered. There were ten replicates per concentration. However, for some higher doses, missing values occurred, resulting in a final data set with only 61 observations of the weight. Ignoring such missing values may lead to biased results, depending on the mechanism causing the missing values, but we will ignore the potential problem here for illustrating the BMD methodology.
Following OECD (2006), we fitted a two-parameter exponential decay model to the Rainbow trout data. Figure 2 (full line) reveals an appropriate fit to data supported by residual and QQ plots (see supplementary material: R code for the examples).
For a BMR of 5% using the hybrid approach with 2 standard deviations as the cut-off the BMD and BMDL were 4.23 mg/L and 2.13 mg/L, respectively.
While the two-parameter exponential decay model showed a good fit to data, other models may give a similar fit to data. The three-parameter log–logistic and two different three-parameter Weibull models showed similar reasonable visual fit to data (see Fig. 2). Comparing the models using AIC also showed a similar fit of the four models (Table 1).
Table 1. Resulting benchmark dose (BMD), benchmark dose lower limit (BMDL), Akaike information criteria (AIC), and weight based on AIC for four different models fitted to data from a fish test with Rainbow trout.
Parameters | BMD (mg/L) | BMDL (mg/L) | AIC | Weight | |
---|---|---|---|---|---|
Exponential decay | 2 | 12.65 | 6.37 | 106.31 | 0.333 |
Log–logistic | 3 | 22.91 | 9.05 | 106.65 | 0.237 |
Weibull type 1 | 3 | 22.72 | 8.12 | 106.58 | 0.253 |
Weibull type 2 | 3 | 24.26 | 14.26 | 106.94 | 0.177 |
Model averaging (estimate averaging) |
19.68 | 8.04 | |||
Model averaging (curve averaging) |
20.35 | 7.73 |
Model averaging based on the four models using non-parametric bootstrap for estimating BMDL resulted in a BMD much higher and a BMDL rather close to the corresponding estimates from the original (exponential decay) model. The alternative model averaging approach where entire curves were averaged before finding BMD and BMDL resulted in a slightly higher BMD but a slightly lower BMDL.
The computation time (using a standard Dell laptop) for 1000 bootstrap samples using the four models was app. 3 min for the estimate averaging and app. 5 min for the curve averaging. For comparison, the computation time for this data set using PROAST (web application) was app. 6 min for model averaging based on four models and 1000 bootstrap samples.
Binomial data in a hierarchical design: an acute toxicity test with α-cypermethrin
Gottardi & Cedergreen (2019) investigated the toxicity of α-cypermethrin on Daphnia magna using an acute toxicity test following OECD guidelines for testing chemicals (Organisation for Economic Co-operation and Development (OECD), 2012b). In nine independent experiments conducted at different times, D. magma neonates (<1 day old) were exposed to different concentrations of α-cypermethrin or acetone control for 48 h in M7 medium. Four replicates of five organisms were used for each concentration. The number of concentrations used in each sub-experiment varied from 6 to 7 (5 or 6 and control).
For this example, the purpose was to estimate BMD and BMDL for a BMR of 5% using the excess risk definition as recommended by EFSA and US EPA. However, due to the hierarchical design with sub-experiments, a simple dose–response model may not appropriately capture the dependence structure in data. Consequently, a two-step meta-analytic approach was applied. In the first step, a two-parameter log–logistic model was fitted to data from each sub-experiment. From each model fit, the estimated BMD and the corresponding standard error were extracted. In the second step, a random effects meta-analytic model was fitted using the R package metafor (Viechtbauer, 2010).
Figure S3 shows the resulting model fits from step one. The estimated BMD and BMDL resulting from the meta-analytic model in step 2 were 0.07 µg/L and 0.05 µg/L, respectively.
Validation of the R Package
A small-scale validation of the R package was carried out by analyzing a number of datasets using bmd and BMDS version 3.2.0 from the US. EPA and the PROAST web application (https://shiny-efsa.openanalytics.eu/app/bmd) from EFSA.
Methods
For binomial data, the three software packages were compared for three data sets, four different models, and two BMR levels. The three data sets used were data from experiment 4, 7, and 9 from the last of the five examples corresponding to different dose–response shapes (see Fig. S4). These data were analyzed using a log–logistic, a log-normal, and a Weibull model. For BMDS and bmd, two-parameter models were used, assuming lower and upper limits to be 0 and 1, respectively. In PROAST, it was not possible to fit models with a lower limit of 0, instead three-parameter models were fitted. BMR was set to either 5% or 10%, and BMD was defined using the excess risk definition. BMDL was estimated using profile likelihood for both BMDS and PROAST, while three different alternatives were used for bmd: delta method-based Wald confidence intervals, confidence intervals obtained from inverse regression, and non-parametric bootstrap confidence intervals obtained using resampling within dose groups from the original data set. BMDL was found as the 5% percentile in the bootstrap distribution.
For continuous data, the three software packages were compared for nine data sets, two models, and two BMR levels. The nine data sets were simulated from three four-parameter log–logistic models with similar lower and upper limits (2 and 10, respectively) but different location and shape parameters. The three different models are shown in Fig. S4. For each model, data were generated at five doses (0.1, 0.5, 1, 5, and 10), assuming normal distributions with (i) 10 replicates and a standard deviation of 1, (ii) 10 replicates and a standard deviation of 0.1, or (iii) 3 replicates and a standard deviation of 0.1. These data were analyzed using a four-parameter log–logistic model (called the Hill model in BMDS and PROAST) and a four-parameter Weibull model (called the exponential model in BMDS and PROAST). BMR was set to either 0.05 or 0.1, and BMD was defined using the relative risk definition. BMDL was estimated using profile likelihood for both BMDS and PROAST. For bmd, three alternatives for estimating BMDL were applied: delta-method-based Wald confidence intervals, confidence intervals obtained from inverse regression, and semi-parametric bootstrap confidence intervals obtained through resampling of residuals from the dose–response model assuming exchangeability over all observations. BMDL was found as the 5% percentile in the bootstrap distribution.
We also compared bmd to BMDS and PROAST on five data sets used in the EFSA report on benchmark dose modeling (Hardy et al., 2017). These data sets are described in detail below.
Data set 1 contains continuous data from a subchronic National Toxicity Study 416 for an unknown agent. Specifically, bodyweight mean values and standard deviations are available for six dose groups of 10 animals (mg/kg body weight), including a control group. Data were analyzed using a three-parameter exponential model, the relative definition, and a BMR of 5%.
Data set 2 contains binomial data from a toxicity study examining the incidence of gastric impaction from an unknown agent. Ten animals were used in each of four dose groups (mg/kg body weight), which included a control group. Data were analyzed using a three-parameter log–logistic model (with an estimated lower limit), the excess risk definition, and a BMR of 10%.
Data set 3 comes from human dose–response study, where each individual has its exposure limit. The binary endpoint is normal or abnormal eye-hand coordination in individual workers exposed to different levels of CRD (unit unknown). Data were analyzed using a one-stage model, the excess risk definition, and a BMR of 10%.
Data set 4 comes from a two-year study in male mice where body weight is reported as mean values, standard deviations, and sample sizes for each of four dose groups (mg/kg body weight) of an unknown agent, including a control. Data were analyzed using a three-parameter Hill model and a three-parameter exponential model using the relative definition and a BMR of 5%.
Finally, data set 5 contains binomial data from a two-year study in female rats examining thyroid epithelial vacuolization incidence. Four dose groups (mg/kg body weight) of an unknown agent, including a control, were considered. Data were analyzed using a three-parameter log–logistic and a three-parameter log-normal model, using the excess risk definition, and a BMR of 10%.
Results
The results for binomial and continuous data are shown in Tables 2 and 3, respectively, while the results for the five data sets used in the EFSA report are presented in Table 4. For the binomial data, PROAST and bmd agreed on BMD estimates to the third significant number for all data examples and models. BMDS agreed with bmd for most of the models, except the Weibull model in a few cases. For continuous data, bmd and BMDS agreed on the BMD estimate to the third significant number with only a few exceptions. PROAST gave quite different results for most scenarios.
Table 2. Estimated benchmark dose (BMD) and benchmark dose lower limit (BMDL) for different binomial data sets, different models and different levels of BMR using PROAST, BMDS and bmd.
BMD | BMDL | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Data set | Modela | BMR | PROAST | BMDS | bmd | PROAST profile |
BMDS profile |
bmd delta |
bmd inverse |
bmd bootstrap |
||
A | Log–logistic | 0.05 | 0.044 | 0.044 | 0.044 | 0.022 | 0.022 | 0.020 | 0.029 | 0.027 | ||
0.1 | 0.063 | 0.062 | 0.062 | 0.036 | 0.036 | 0.036 | 0.043 | 0.042 | ||||
Log-normal | 0.05 | 0.047 | 0.047 | 0.047 | 0.026 | 0.026 | 0.025 | 0.033 | 0.030 | |||
0.1 | 0.063 | 0.063 | 0.063 | 0.038 | 0.038 | 0.038 | 0.045 | 0.043 | ||||
Weibull | 0.05 | 0.027 | 0.027 | 0.027 | 0.010 | 0.010 | 0.006 | 0.014 | 0.013 | |||
0.1 | 0.047 | 0.047 | 0.047 | 0.022 | 0.022 | 0.018 | 0.027 | 0.026 | ||||
B | Log–logistic | 0.05 | 0.087 | 0.087 | 0.087 | 0.063 | 0.063 | 0.064 | 0.071 | 0.072 | ||
0.1 | 0.102 | 0.102 | 0.102 | 0.079 | 0.079 | 0.080 | 0.085 | 0.086 | ||||
Log-normal | 0.05 | 0.089 | 0.089 | 0.089 | 0.066 | 0.066 | 0.066 | 0.074 | 0.075 | |||
0.1 | 0.102 | 0.102 | 0.102 | 0.079 | 0.079 | 0.080 | 0.085 | 0.087 | ||||
Weibull | 0.05 | 0.078 | 0.072 | 0.078 | 0.049 | 0.049 | 0.049 | 0.058 | 0.059 | |||
0.1 | 0.098 | 0.093 | 0.098 | 0.069 | 0.068 | 0.069 | 0.076 | 0.078 | ||||
C | Log–logistic | 0.05 | 0.055 | 0.55 | 0.055 | 0.032 | 0.031 | 0.029 | 0.037 | 0.035 | ||
0.1 | 0.081 | 0.081 | 0.081 | 0.052 | 0.052 | 0.050 | 0.058 | 0.056 | ||||
Log-normal | 0.05 | 0.058 | 0.058 | 0.058 | 0.036 | 0.036 | 0.034 | 0.041 | 0.039 | |||
0.1 | 0.080 | 0.080 | 0.080 | 0.053 | 0.053 | 0.052 | 0.058 | 0.057 | ||||
Weibull | 0.05 | 0.046 | 0.046 | 0.046 | 0.024 | 0.024 | 0.020 | 0.029 | 0.028 | |||
0.1 | 0.077 | 0.077 | 0.077 | 0.046 | 0.046 | 0.043 | 0.051 | 0.051 |
Notes.
All models fitted as unrestricted models in BMDS.
Table 3. Estimated benchmark dose (BMD) and benchmark dose lower limit (BMDL) for different continuous data sets, different models and different levels of BMR using PROAST, BMDS and bmd.
BMD | BMDL | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data set |
Std | Rep | Model | BMR | PROAST | BMDS | bmd | PROAST profile |
BMDS profile |
bmd delta |
bmd inverse |
bmd bootstrap |
||
A | 1 | 10 | Log–logistica | 0.05 | 0.088 | 0.144 | 0.144 | 0 | 0.050 | 0.037 | 0.082 | 0.051 | ||
0.1 | 0.129 | 0.200 | 0.200 | 0 | 0.080 | 0.077 | 0.119 | 0.080 | ||||||
Weibull2 | 0.05 | 0.040 | 0.126 | 0.126 | 0 | 0.018 | 0.004 | 0.063 | 0.017 | |||||
0.1 | 0.070 | 0.183 | 0.183 | 0 | 0.034 | 0.038 | 0.097 | 0.032 | ||||||
0.1 | 10 | Log–logistic | 0.05 | 0.101 | 0.107 | 0.107 | 0.091 | 0.105 | 0.097 | 0.097 | 0.096 | |||
0.1 | 0.148 | 0.154 | 0.154 | 0.135 | 0.151 | 0.142 | 0.140 | 0.140 | ||||||
Weibull | 0.05 | 0.049 | 0.074 | 0.074 | 0.041 | 0.060 | 0.061 | 0.061 | 0.061 | |||||
0.1 | 0.086 | 0.115 | 0.115 | 0.073 | 0.097 | 0.099 | 0.098 | 0.098 | ||||||
0.1 | 3 | Log–logistic | 0.05 | 0.092 | 0.097 | 0.097 | 0.080 | 0.078 | 0.075 | 0.077 | 0.079 | |||
0.1 | 0.138 | 0.140 | 0.140 | 0.121 | 0.1156 | 0.114 | 0.114 | 0.117 | ||||||
Weibull | 0.05 | 0.043 | 0.066 | 0.066 | 0.031 | 0.040 | 0.037 | 0.043 | 0.043 | |||||
0.1 | 0.076 | 0.105 | 0.105 | 0.058 | 0.067 | 0.066 | 0.072 | 0.072 | ||||||
B | 1 | 10 | Log–logistic | 0.05 | 0.003 | 0.092 | 0.092 | 0 | 0.005 | 0 | 0.035 | 0.005 | ||
0.1 | 0.008 | 0.148 | 0.149 | 0 | 0.011 | 0 | 0.06 | 0.012 | ||||||
Weibull | 0.05 | 0 | 0.045 | 0.045 | 0 | 0.015 | 0 | 0.014 | 0.003 | |||||
0.1 | 0.002 | 0.085 | 0.085 | 0 | 0.030 | 0 | 0.029 | 0.007 | ||||||
0.1 | 10 | Log–logistic | 0.05 | 0.033 | 0.032 | 0.032 | 0.019 | 0.023 | 0.024 | 0.023 | 0.023 | |||
0.1 | 0.07 | 0.067 | 0.067 | 0.043 | 0.050 | 0.054 | 0.051 | 0.05 | ||||||
Weibull | 0.05 | 0.008 | 0.056 | 0.016 | 0.003 | 0.051 | 0.011 | 0.011 | 0.011 | |||||
0.1 | 0.022 | 0.112 | 0.038 | 0.012 | 0.102 | 0.029 | 0.027 | 0.027 | ||||||
0.1 | 3 | Log–logistic | 0.05 | 0.029 | 0.036 | 0.036 | 0.016 | 0.028 | 0.024 | 0.023 | 0.023 | |||
0.1 | 0.064 | 0.074 | 0.074 | 0.038 | 0.051 | 0.055 | 0.051 | 0.051 | ||||||
Weibull | 0.05 | 0.008 | 0.056 | 0.019 | 0.004 | 0.049 | 0.012 | 0.012 | 0.012 | |||||
0.1 | 0.023 | 0.113 | 0.044 | 0.012 | 0.099 | 0.031 | 0.029 | 0.03 | ||||||
C | 1 | 10 | Log–logisticc | 0.05 | – | 0.717 | 0.717 | – | 0.047 | 0 | 0.261 | 0.079 | ||
0.1 | – | 0.971 | 0.971 | – | 0.098102 | 0 | 0.369 | 0.155 | ||||||
Weibull | 0.05 | – | 0.666 | 0.666 | – | 0.051 | 0 | 0.224 | 0.067 | |||||
0.1 | – | 0.930 | 0.930 | – | 0.102 | 0 | 0.329 | 0.134 | ||||||
0.1 | 10 | Log–logistic | 0.05 | 0.847 | 0.843 | 0.843 | 0.737 | 0.832 | 0.683 | 0.696 | 0.693 | |||
0.1 | 1.137 | 1.126 | 1.126 | 1.010 | 1.111 | 0.954 | 0.953 | 0.957 | ||||||
Weibull | 0.05 | 0.827 | 0.833 | 0.833 | 0.705 | 0.677 | 0.651 | 0.679 | 0.677 | |||||
0.1 | 1.155 | 1.132 | 1.132 | 1.010 | 0.950 | 0.929 | 0.948 | 0.952 | ||||||
0.1 | 3 | Log–logistic | 0.05 | 1.724 | 3.262 | 2.621 | 1.070 | 3.219 | 0 | 1.501 | 0.821 | |||
0.1 | 2.054 | 3.491 | 2.905 | 1.380 | 3.459 | 0 | 1.684 | 1.107 | ||||||
Weibull | 0.05 | 2.007 | 3.533 | 2.647 | 1.090 | 3.431 | 0 | 1.513 | 0.802 | |||||
0.1 | 2.382 | 3.753 | 2.956 | 1.450 | 3.329 | 0 | 1.716 | 1.095 |
Notes.
Hill model for BMDS and PROAST. The Hill model was fitted as an unrestricted model in BMDS.
Exponential model in BMDS and PROAST. The exponential model was fitted as a restricted model in BMDS.
No model fitted for this data set using PROAST.
Table 4. Estimated benchmark dose (BMD) and benchmark dose lower limit (BMDL) for five data sets used in the Benchmark dose report from EFSA (Hardy et al., 2017).
BMD | BMDL | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data set | Data type | Definition | BMR | Model | PROAST | BMDS | bmd | PROAST profile |
BMDS profile |
bmd delta |
bmd inverse |
bmd bootstrap |
|
1 | Continuous | Relative | 5% | Exponential | 235.1 | 233.7 | 235.5 | 170 | 170.4 | 201.5 | 203.3 | 201.1 | |
2 | Binomial | Excess | 10% | Log–logistic | 399 | 398.6 | 398.7 | 171 | 171.0 | 204.2 | 291.4 | 61.9 | |
3 | Binary | Excess | 10% | One-stage | 173 | 172.7 | 172.7a | 92.4 | 92.3 | 35.4 | 95.2 | 75.2 | |
4 | Continuous | Relative | 5% | Exponential | 0.297 | 0.302 | 0.304 | 0.198 | 0.229 | 0.112 | 0.162 | 0.277 | |
Hillb,c | 0.297 | – | 0.309 | 0.198 | – | 0.159 | 0.189 | 0.287 | |||||
5 | Binomial | Excess | 10% | Log–logistic | 3.2 | 3.2 | 3.2 | 1.84 | 1.84 | 1.63 | 2.1 | 1.42 | |
Log-normal | 3.31 | 3.31 | 3.31 | 1.98 | 1.98 | 1.78 | 2.23 | 1.58 |
Notes.
Starting values required to get the reported results.
Potential problem with PROAST reporting the same values for the Hill and the exponential model. In the EFSA report results for Hill were: BMD=0.302 and BMDL=0.205.
Not possible to fit a three-parameter Hill model for these data in BMDS. In bmd a three-parameter log-logistic model was used instead.
BMDL estimates from bmd did not match those from BMDS and PROAST as these were based on different methods. However, for binomial data the delta method derived BMDL estimates from bmd were generally close to the BMDL estimates from both PROAST and BMDS. For continuous data, the bootstrap BMDL estimates from bmd were generally very close to BMDL estimated by BMDS. From the results presented here, it is not possible to say which of the different approaches performs best.
The running time for some of the functionality involving bootstrap may be rather long. However, it is mainly an issue for simulation purposes where hundreds or thousands of estimates are to be found. In addition, comparisons to PROAST web-application shows shorter run times for bmd.
Discussion
We have described in detail the functionality of the R package bmd for BMD estimation. The usefulness and flexibility of bmd were illustrated by means of a number of examples, covering both simple and more complex data structures. In the first example, binomial data for a single dose–response curve was used to estimate BMD and BMDL. In the second and third example, we revisited a data set with count data and considered different ways of approaching the related challenges, including potential overdispersion of the counts. The fourth data example illustrated the flexibility of the package to estimate a model-averaged BMD and BMDL, whereas the last example showed how to handle data from more complex experimental designs.
The package bmd differs from the existing specialized BMD software packages BMDS and PROAST as it provides BMD estimation for several types of response data, including count data and time-to-event data, two types of data that often occur in ecotoxicology. Count data are often handled by assuming a normal or log-normal distribution ignoring that such data cannot be negative, may present ties and usually experience variances that are a function of the mean and accordingly violates the assumption of variance homogeneity, i.e., for the special case of Poisson distributed variables, the variance equals the mean. Though transformations may accommodate some of the issues related to count data, it has been shown that they result in a lack of power compared to statistically sound alternatives, such as using the Poisson or negative binomial distribution (Stroup, 2013; Stroup, 2015).
The package bmd provides BMD estimation for practically all dose–response functions available in BMDS and PROAST. The package also allows the use of fractional polynomials, particularly suitable for model averaging (Faes et al., 2007; Namata et al., 2008), and several hormesis models, as well as semi-parametric alternatives (Piegorsch et al., 2014; Lin, Piegorsch & Bhattacharya, 2015). An additional advantage of bmd is the possibility to estimate BMDL based on sandwich variance–covariance estimates that provide robust standard errors, thus making allowance for model misspecification related to the distributional assumptions. This option is not available in any other specialized BMD software packages. Several different types of bootstrap can be used to estimate BMDL, and several options for estimating BMD and BMDL, including model averaging, are available. Also, other available or future software extensions of R can be directly used together with bmd.
When comparing results from bmd, BMDS, and PROAST, we mostly observed agreement between estimated BMD and BMDL values. However, we also found some differences. We found small differences that most likely were caused by different underlying optimization algorithms. In some scenarios, we also found larger differences. Differences between bmd/BMDS on one side and PROAST on the other side were most likely due to the fact that PROAST assumed a log-normal distribution whereas BMDS/bmd assumed normal distributions. Depending on the scale for the response, these two assumptions may lead to fairly different results. Moreover, there could also easily be differences due to the different methods used for obtaining confidence intervals and hence BMDL estimates.
At present, bmd can only handle models describing a single dose–response curve. However, a future update will extend the built-in functions to handle models for multiple dose–response curves. It would be interesting to include an approach for BMDL estimation for model-averaged BMD where correlations between BMD estimates from the different candidate models would be accounted for (Jensen & Ritz, 2015). Likewise, it would be interesting to look at other approaches or models for addressing non-constant variance than assuming log-normally distributed data. Finally, the profile likelihood approach for finding BMDL has been found to perform better than the delta-method–based Wald confidence intervals (Moerbeek, Piersma & Slob, 2004; US Environmental Protection Agency, 2012). This approach is currently not available in bmd but is planned to be part of a future update.
‘Defining BMD for a predefined BMR’ illustrates that the BMD directly depends on its formulation, which needs to be clearly defined and may thus be perceived as superficially more technically involved than statistical testing. Thus, the BMD approach may be considered a statistical black box, which may affect its use in practice. However, it is accepted or even preferred to the NOAEL approach due to its benefits, as laid out in the introduction. Further, statistical testing itself is scrutinized when used as a naïve binary decision criterion (e.g., Wasserstein, Schirm & Lazar, 2019; Wasserstein & Lazar, 2016) and with respect to toxicology (Kluxen & Hothorn, 2020; Hothorn & Pirow, 2020; Kluxen, 2020).
Conclusion
We have demonstrated that the R extension package bmd allows flexible and straightforward BMD estimation for a broad range of applications in ecotoxicology. Comparisons to existing software showed mostly good agreement between estimates, but also some non-negligible differences due to different statistical methods being used. However, we observed differences between all three software programs: bmd, BMDS, and PROAST. The freely available R software can be viewed as a reliable and user-friendly alternative for dose–response modelling, which also covers all other conceivable practical statistical requirements for (eco)toxicologists, including BMD analyses.
Supplemental Information
Acknowledgments
We would like to thank the three reviewers for their helpful and detailed comments and many practical suggestions.
Funding Statement
This work was supported by a grant from the Danish Environmental Protection Agency (j. no. MST-667-00174). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Additional Information and Declarations
Competing Interests
Felix M. Kluxen is employed by ADAMA Deutschland GmbH. Signe M. Jensen, Nina Cedergreen and Christian Ritz declare that they have no competing interests.
Author Contributions
Signe M. Jensen conceived and designed the experiments, performed the experiments, analyzed the data, prepared figures and/or tables, authored or reviewed drafts of the paper, and approved the final draft.
Felix M. Kluxen and Jens C. Streibig analyzed the data, authored or reviewed drafts of the paper, and approved the final draft.
Nina Cedergreen performed the experiments, authored or reviewed drafts of the paper, and approved the final draft.
Christian Ritz conceived and designed the experiments, analyzed the data, authored or reviewed drafts of the paper, and approved the final draft.
Data Availability
The following information was supplied regarding data availability:
R code and data used in the examples are available in the Supplemental Files.
Source code is available at GitHub: https://github.com/DoseResponse/bmd.
References
- Bailer, Noble & Wheeler (2005).Bailer AJ, Noble RB, Wheeler MW. Model uncertainty and risk estimation for experimental studies of quantal responses. Risk Analysis. 2005;25:291–299. doi: 10.1111/j.1539-6924.2005.00590.x. [DOI] [PubMed] [Google Scholar]
- Brescia (2020).Brescia S. Thresholds of adversity and their applicability to endocrine disrupting chemicals. Critical Reviews in Toxicology. 2020;50:213–218. doi: 10.1080/10408444.2020.1740973. [DOI] [PubMed] [Google Scholar]
- Buckland, Burnham & Augustin (1997).Buckland ST, Burnham KP, Augustin NH. Model selection: an integral part of inference. Biometrics. 1997;53:603–618. doi: 10.2307/2533961. [DOI] [Google Scholar]
- Buckley, Piegorsch & West (2009).Buckley BE, Piegorsch WW, West RW. Confidence limits on one-stage model parameters in benchmark risk assessment. Environmental and Ecological Statistics. 2009;16:53–62. doi: 10.1007/s10651-007-0076-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Budtz-Jørgensen, Keiding & Grandjean (2001).Budtz-Jørgensen E, Keiding N, Grandjean P. Benchmark dose calculation from epidemiological data. Biometrics. 2001;57:698–706. doi: 10.1111/j.0006-341X.2001.00698. [DOI] [PubMed] [Google Scholar]
- Carroll & Ruppert (1988).Carroll RJ, Ruppert D. Transformation and weighting in regression. Chapman & Hall; London: 1988. [Google Scholar]
- Cedergreen et al. (2016).Cedergreen N, Nørhave NJ, Svendsen C, Spurgeon DJ. Variable temperature stress in the nematode caenorhabditis elegans (Maupas) and its implications for sensitivity to an additional chemical stressor. PLOS ONE. 2016;11:e0140277. doi: 10.1371/journal.pone.0140277. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cedergreen, Streibig & Spliid (2004).Cedergreen N, Streibig JC, Spliid NH. Sensitivity of aquatic plants to the herbicide metsulfuron-methyl. Ecotoxicology and Environmental Safety. 2004;57:153–161. doi: 10.1016/S0147-6513(02)00145-8. [DOI] [PubMed] [Google Scholar]
- Claeskens & Hjort (2008).Claeskens G, Hjort NL. Model selection and model averaging. Cambridge University Press; Cambridge: 2008. [Google Scholar]
- Crump (1984).Crump KS. A new method for determining allowable daily intakes. Fundamental and Applied Toxicology. 1984;4:854–871. doi: 10.1016/0272-0590(84)90107-6. [DOI] [PubMed] [Google Scholar]
- Crump (1995).Crump KS. Calculation of benchmark doses from continuous data. Risk Analysis. 1995;15:79–89. doi: 10.1111/j.1539-6924.1995.tb00095.x. [DOI] [Google Scholar]
- Davis, Gift & Zhao (2011).Davis JA, Gift JS, Zhao QJ. Introduction to benchmark dose methods and US EPA’s benchmark dose software (BMDS) version 2.1.1. Toxicology and Applied Pharmacology. 2011;254:181–191. doi: 10.1016/J.TAAP.2010.10.016. [DOI] [PubMed] [Google Scholar]
- Delignette-Muller et al. (2014).Delignette-Muller ML, Lopes C, Veber P, Charles S. Statistical handling of reproduction data for exposure-response modeling. Environmental Science and Technology. 2014;48:7544–7551. doi: 10.1021/es502009r. [DOI] [PubMed] [Google Scholar]
- Faes et al. (2007).Faes C, Aerts M, Geys H, Molenberghs G. Model averaging using fractional polynomials to estimate a safe level of exposure. Risk Analysis. 2007;27:111–123. doi: 10.1111/j.1539-6924.2006.00863.x. [DOI] [PubMed] [Google Scholar]
- Fang, Piegorsch & Barnes (2015).Fang Q, Piegorsch WW, Barnes KY. Bayesian benchmark dose analysis. Environmetrics. 2015;26:373–382. doi: 10.1002/env.2339. [DOI] [Google Scholar]
- Gaylor & Slikker (1990).Gaylor DW, Slikker W. Risk assessment for neurotoxic effects. Neurotoxicology. 1990;11:211–218. [PubMed] [Google Scholar]
- Gottardi & Cedergreen (2019).Gottardi M, Cedergreen N. The synergistic potential of azole fungicides does not directly correlate to the inhibition of cytochrome P450 activity in aquatic invertebrates. Aquatic Toxicology. 2019;207:187–196. doi: 10.1016/J.AQUATOX.2018.12.010. [DOI] [PubMed] [Google Scholar]
- Haber et al. (2018).Haber LT, Dourson ML, Allen BC, Hertzberg RC, Parker A, Vincent MJ, Maier A, Boobis AR. Benchmark dose (BMD) modeling: current practice, issues, and challenges. Critical Reviews in Toxicology. 2018;48:387–415. doi: 10.1080/10408444.2018.1430121. [DOI] [PubMed] [Google Scholar]
- Hardy et al. (2017).Hardy A, Benford D, Halldorsson T, Jeger MJ, Knutsen KH, More S, Mortensen A, Naegeli H, Noteborn H, Ockleford C, Ricci A, Rychen G, Silano V, Solecki R, Turck D, Aerts M, Bodin L, Davis A, Edler L, Gundert-Remy U, Sand S, Slob W, Bottex B, Abrahantes JC, Marques DC, Kass G, Schlatter JR. Update: use of the benchmark dose approach in risk assessment. EFSA Journal. 2017;15:1–41. doi: 10.2903/j.efsa.2017.4658. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hoekstra (1987).Hoekstra JA. Acute bioassays with control mortality. Water, Air, and Soil Pollution. 1987;35:311–317. doi: 10.1007/BF00290938. [DOI] [Google Scholar]
- Hothorn & Pirow (2020).Hothorn LA, Pirow Ralph. Use compatibility intervals in regulatory toxicology. Regulatory Toxicology and Pharmacology. 2020;116 doi: 10.1016/j.yrtph.2020.104720. Article 104720. [DOI] [PubMed] [Google Scholar]
- Jensen, Kluxen & Ritz (2019).Jensen SM, Kluxen FM, Ritz C. A review of recent advances in benchmark dose methodology. Risk Analysis. 2019;39:2295–2315. doi: 10.1111/risa.13324. [DOI] [PubMed] [Google Scholar]
- Jensen & Ritz (2015).Jensen SM, Ritz C. Simultaneous inference for model averaging of derived parameters. Risk Analysis. 2015;35:68–76. doi: 10.1111/risa.12242. [DOI] [PubMed] [Google Scholar]
- Jiang & Kopp-Schneider (2014).Jiang X, Kopp-Schneider A. Summarizing EC50 estimates from multiple dose–response experiments: a comparison of a meta-analysis strategy to a mixed-effects model approach. Biometrical Journal. 2014;56:493–512. doi: 10.1002/bimj.201300123. [DOI] [PubMed] [Google Scholar]
- Kang, Kodell & Chen (2000).Kang S-H, Kodell RL, Chen JJ. Incorporating model uncertainties along with data uncertainties in microbial risk assessment. Regulatory Toxicology and Pharmacology. 2000;32:68–72. doi: 10.1006/RTPH.2000.1404. [DOI] [PubMed] [Google Scholar]
- Kennedy-Shaffer (2019).Kennedy-Shaffer L. Before p< 0.05 to beyond p< 0.05: using history to contextualize p -values and significance testing. The American Statistician. 2019;73:82–90. doi: 10.1080/00031305.2018.1537891. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kluxen (2020).Kluxen FM. New statistics in regulatory toxicology? Regulatory Toxicology and Pharmacology. 2020;117 doi: 10.1016/j.yrtph.2020.104763. Article 104763. [DOI] [PubMed] [Google Scholar]
- Kluxen & Hothorn (2020).Kluxen FM, Hothorn LA. Alternatives to statistical decision trees in regulatory (eco-)toxicological bioassays. Archives of Toxicology. 2020;94:1135–1149. doi: 10.1007/s00204-020-02690. [DOI] [PubMed] [Google Scholar]
- Lin, Piegorsch & Bhattacharya (2015).Lin L, Piegorsch WW, Bhattacharya R. Nonparametric benchmark dose estimation with continuous dose-response data. Scandinavian Journal of Statistics. 2015;42:713–731. doi: 10.1111/sjos.12132. [DOI] [Google Scholar]
- Moerbeek, Piersma & Slob (2004).Moerbeek M, Piersma AH, Slob W. A comparison of three methods for calculating confidence intervals for the benchmark dose. Risk Analysis. 2004;24:31–40. doi: 10.1111/j.0272-4332.2004.00409. [DOI] [PubMed] [Google Scholar]
- Moon et al. (2005).Moon H, Kim H-J, Chen JJ, Kodell RL. Model averaging using the kullback information criterion in estimating effective doses for microbial infection and illness. Risk Analysis. 2005;25:1147–1159. doi: 10.1111/j.1539-6924.2005.00676. [DOI] [PubMed] [Google Scholar]
- Namata et al. (2008).Namata H, Aerts M, Faes C, Teunis P. Model averaging in microbial risk assessment using fractional polynomials. Risk Analysis. 2008;28:891–905. doi: 10.1111/j.1539-6924.2008.01063. [DOI] [PubMed] [Google Scholar]
- Organisation for Economic Co-operation and Development (OECD), (2006).Organisation for Economic Co-operation and Development (OECD) Current approaches in the statistical analysis of ecotoxicity data: a guidance to application - annexes. OECD; Paris: 2006. [Google Scholar]
- Organisation for Economic Co-operation and Development (2012a).Organisation for Economic Co-operation and Development (OECD) Guidance document 116 on the conduct and design of chronic toxicity and carcinogenicity studies, supporting test guidelines 451, 452 and 453. OECD; Paris: 2012a. [Google Scholar]
- Organisation for Economic Co-operation and Development (2012b).Organisation for Economic Co-operation and Development (OECD) Test No. 211: Daphnia magna Reproduction Test. Paris: OECD; 2012b. [DOI] [Google Scholar]
- Piegorsch (2010).Piegorsch WW. Translational benchmark risk analysis. Journal of Risk Research. 2010;13:653–667. doi: 10.1080/13669870903551662. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Piegorsch et al. (2012).Piegorsch WW, Xiong H, Bhattacharya RN, Lin L. Non-parametric estimation of benchmark doses in environmental risk assessment. Environmetrics. 2012;23:717–728. doi: 10.1002/env.2175. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Piegorsch et al. (2014).Piegorsch WW, Xiong H, Bhattacharya RN, Lin L. Benchmark dose analysis via nonparametric regression modeling. Risk Analysis. 2014;34:135–151. doi: 10.1111/risa.12066. [DOI] [PMC free article] [PubMed] [Google Scholar]
- R Core Team (2018).R Core Team . Vienna: R Foundation for Statistical Computing; 2018. R: A language and environment for statistical computing. [Google Scholar]
- Ringblom, Johanson & Öberg (2014).Ringblom J, Johanson G, Öberg M. Current modeling practice may lead to falsely high benchmark dose estimates. Regulatory Toxicology and Pharmacology. 2014;69:171–177. doi: 10.1016/J.YRTPH.2014.03.004. [DOI] [PubMed] [Google Scholar]
- Ritz et al. (2015).Ritz C, Baty F, Streibig JC, Gerhard D. Dose–response analysis using R. PLOS ONE. 2015;10:e0146021. doi: 10.1371/journal.pone.0146021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ritz, Gerhard & Hothorn (2013).Ritz C, Gerhard D, Hothorn LA. A unified framework for benchmark dose estimation applied to mixed models and model averaging. Statistics in Biopharmaceutical Research. 2013;5:79–90. doi: 10.1080/19466315.2012.757559. [DOI] [Google Scholar]
- Ritz et al. (2019).Ritz C, Jensen SM, Gerhard D, Streibig JC. Dose–response analysis using R. Chapman & Hall; Boca Raton: 2019. [Google Scholar]
- Salsburg (2001).Salsburg D. The lady tasting tea: how statistics revolutionized science in the twentieth century. OECD; Macmillan: 2001. [Google Scholar]
- Shao & Shapiro (2018).Shao K, Shapiro AJ. A web-based system for Bayesian benchmark dose estimation. Environmental Health Perspectives. 2018;126 doi: 10.1289/EHP1289. Article 017002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Slob (2002).Slob W. Dose-response modeling of continuous endpoints. Toxicological Sciences. 2002;66:298–312. doi: 10.1093/toxsci/66.2.298. [DOI] [PubMed] [Google Scholar]
- Slob (2017).Slob W. A general theory of effect size, and its consequences for defining the benchmark response (BMR) for continuous endpoints. Critical Reviews in Toxicology. 2017;47:342–351. doi: 10.1080/10408444.2016.1241756. [DOI] [PubMed] [Google Scholar]
- Slob (2018).Slob W. Joint project on Benchmark Dose modelling with RIVM. EFSA Supporting Publications. 2018;15:1–14. doi: 10.2903/sp.efsa.2018.EN-1497. [DOI] [Google Scholar]
- Stroup (2013).Stroup WW. Non-normal data in agricultural experiments. In: Conference on Applied Statistics in Agriculture. New Prairie Press. 2013;10:3–135. doi: 10.4148/2475-7772.1018. [DOI] [Google Scholar]
- Stroup (2015).Stroup WW. Rethinking the analysis of non-normal data in plant and soil science. Agronomy Journal. 2015;107:811. doi: 10.2134/agronj2013.0342. [DOI] [Google Scholar]
- US Environmental Protection Agency (2012).US Environmental Protection Agency . Benchmark dose technical guidance. Washington, D.C: OECD; 2012. [Google Scholar]
- Varewyck & Verbeke (2017).Varewyck M, Verbeke T. Software for benchmark dose modelling. EFSA Supporting Publications. 2017;14:1–15. doi: 10.2903/sp.efsa.2017.EN-1170. [DOI] [Google Scholar]
- Viechtbauer (2010).Viechtbauer W. Conducting meta-analyses in R with the metafor package. Journal of Statistical Software. 2010;36:1–48. [Google Scholar]
- Wang & Riffel (2011).Wang M, Riffel M. Making the right conclusions based on wrong results and small sample sizes: interpretation of statistical tests in ecotoxicology. Ecotoxicology and Environmental Safety. 2011;74:684–692. doi: 10.1016/j.ecoenv.2010.10.019. [DOI] [PubMed] [Google Scholar]
- Wasserstein & Lazar (2016).Wasserstein RL, Lazar NA. The ASA’s statement on p-values: context, process, and purpose. American Statistician. 2016;70:129–133. doi: 10.1080/00031305.2016.1154108. [DOI] [Google Scholar]
- Wasserstein, Schirm & Lazar (2019).Wasserstein RL, Schirm AL, Lazar NA. Moving to a World Beyond p <0.05. American Statistician. 2019;73:1–19. doi: 10.1080/00031305.2019.1583913. [DOI] [Google Scholar]
- West et al. (2012).West RW, Piegorsch WW, Peña EA, An L, Wu W, Wickens AA, Xiong H, Chen W. The impact of model uncertainty on benchmark dose estimation. Environmetrics. 2012;23:706–716. doi: 10.1002/env.2180. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wheeler & Bailer (2007).Wheeler MW, Bailer AJ. Properties of model-averaged BMDLs: a study of model averaging in dichotomous response risk estimation. Risk Analysis. 2007;27:659–670. doi: 10.1111/j.1539-6924.2007.00920. [DOI] [PubMed] [Google Scholar]
- Wheeler & Bailer (2008).Wheeler MW, Bailer AJ. Model averaging software for dichotomous dose response risk estimation. Journal of Statistical Software. 2008;26:1–15. doi: 10.18637/jss.v026.i05. [DOI] [Google Scholar]
- Wheeler & Bailer (2009).Wheeler MW, Bailer AJ. Benchmark dose estimation incorporating multiple data sources. Risk Analysis. 2009;29:249–256. doi: 10.1111/j.1539-6924.2008.01144.x. [DOI] [PubMed] [Google Scholar]
- Yang, Allen & Thomas (2007).Yang L, Allen BC, Thomas RS. BMDExpress: a software tool for the benchmark dose analyses of genomic data. BMC Genomics. 2007;8:387. doi: 10.1186/1471-2164-8-387. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The following information was supplied regarding data availability:
R code and data used in the examples are available in the Supplemental Files.
Source code is available at GitHub: https://github.com/DoseResponse/bmd.