vpc icon indicating copy to clipboard operation
vpc copied to clipboard

Calculation of PRED-correction with LLOQ data

Open sbihorel opened this issue 1 year ago • 1 comments

Hi

In the version 1.2.2 of vpc currently on CRAN, it is not clear how observed and simulated data are been used/filtered when prediction-correction is requested and the lloq option is used. A message is reported in the console: "Prediction-correction cannot be used together with censored data (<LLOQ and >ULOQ). VPC plot will be shown for non-censored data only!"

The context for this question is that I am trying to compare VPC statistics returned by various platforms in cases where prediction correction and lloq apply. I started with a comparison of PsN native results to those recalculated by the xpose package using the same data. I understand that xpose delegates these calculation to the vpc::vpc function. Additionally, vpc::calc_vpc_continuous uses the default stats::quantile calculation method, which is type = 7, while PsN's calculation method aligns with the type 6 method. That said, the differences I am seeing suggested that different data subsets may be used...

Any insights on vpc::vpc would be useful

Thanks

sbihorel avatar Feb 25 '25 21:02 sbihorel