You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ToxCast has several assays where the response is a 0/1 (alive/dead) recorded value. Currently, the modeling scheme for these is to obtain the proportion/percentage of the replicates in a given dose group that have an observed response then fit these with the current continuous dose-response models. However, this has several implications: (a) the baseline error estimation is difficult or intractable as many if not all observations are 0 - needs a pseudo error value and (b) the observed data does not actually meet the distributional assumptions of the continuous models.
Goal: Add the dichotomous models from BMDS to the tcplfit2 package as new fit_ functions. See section 11.0 (Dichotomous Endpoints) of the BMDS User Guide manual. (NOTE: I do not think we need the multistage tumor models at this time so we can ignore adding these for the time being.)
Consideration: Completion of this ticket does not necessarily mean or require that the functions are readily available to call from tcplfit2_core.
The text was updated successfully, but these errors were encountered:
There are a couple of potential issues with the current implementation of dichotomous models. Suggest testing models with parameter bounds in BMDS for each of the respective models to ensure they are working appropriately (see an example below for weibull model). Note the testing should be done in a separate script/R markdown, but does not need to be a vignette for the package (at least at this time).
R package
devtools::load_all() # when in the Rproj for tcplfit2 load tcplfit2 functions
library(magrittr) # load magrittr to have access to 'pipes'
Dose Set-up
MYdoses <- seq(0,3,length.out = 100)
Weibull
Random parameter selection
Randomly select 3 parameters within the allowable parameter bounds
I tested each of the models using the code provided to ensure they are working appropriately. Here attached is the test codes and pdf. ensure they are working appropriately dichotomous_test.pdf
ToxCast has several assays where the response is a 0/1 (alive/dead) recorded value. Currently, the modeling scheme for these is to obtain the proportion/percentage of the replicates in a given dose group that have an observed response then fit these with the current continuous dose-response models. However, this has several implications: (a) the baseline error estimation is difficult or intractable as many if not all observations are 0 - needs a pseudo error value and (b) the observed data does not actually meet the distributional assumptions of the continuous models.
Goal: Add the dichotomous models from BMDS to the tcplfit2 package as new fit_ functions. See section 11.0 (Dichotomous Endpoints) of the BMDS User Guide manual. (NOTE: I do not think we need the multistage tumor models at this time so we can ignore adding these for the time being.)
Consideration: Completion of this ticket does not necessarily mean or require that the functions are readily available to call from tcplfit2_core.
The text was updated successfully, but these errors were encountered: