Open biencan1 opened 2 years ago
@biencan1
IWRES=ifelse(as.logical(BLOQ), iwRes_mode_simBlq, IWRES)
@biencan1
inst
which allows this to be tested (no [iwRes,pwRes,npde]_mode_simBlq columns)I suggest to use the mode_simBlq only (without giving the choice between the mean and the mode). However, it should be made clear in the documentation that the mode_simBlq is used.
sim_blq still doesn't work.
Not fixed by #365
This is hard coded in the yaml file:
It shouldn't be. It is based on endpoint, and should match what you are pulling in for the endpoint. The default should be y
which is the typical endpoint for monolix single endpoint models (though in truth this can be arbitrary and is for models coming from other sources like babelmixr2
or edited manually).
Currently the DVs are not replaced with the simulated values; Currently it actually replaces the DV with nothing. The default DV is still the LLOQ
value which was in the input dataset, and doesn't match the simulated BLQ dataset from the monolix files.
@tynesjo if you need to have some screen sharing we can show you what the issue is and which columns you need to grab.
In Monolix 2019R2, 2020R1 and 2022R2 there are no issues with reading in
sim_blq
data, but they are not used in plotting to substitute DV values for censored data.Example code run after creating controller:
Produces following plot:
While the plot should look more like this:
When checking the controller the simulated values seem to be loaded fine but under “bloq”: type
NULL
and value reads “Pairlist of length 0” (see snapshot below). Is that correct?ggPMX 1.2.8
was used using following R-module:R 4.1.0 Base
.Monolix run outputs and R scripts available to recreate the issue