vpc icon indicating copy to clipboard operation
vpc copied to clipboard

Should aggregation of simulated data use quantile_cens()?

Open billdenney opened this issue 4 years ago • 0 comments

It seems like simulated data should generally go through the equivalent transformations as observed data. For that reason, I think that it makes sense to use quantile_cens() instead of the regular quantile() function. The benefit would be that simulated data would have the same censoring at the LLOQ or ULOQ as observed.

What do you think?

Relevant code is in calc_vpc_continuous.R:

https://github.com/billdenney/vpc/blob/ccbc2474ba5e47cd48db84201338fd0749ab5a1f/R/calc_vpc_continuous.R#L16-L24

billdenney avatar May 17 '21 23:05 billdenney