Skip to content

adding lower bound for pred correction #20

@smouksassi

Description

@smouksassi

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3085712/pdf/12248_2011_Article_9255.pdf
the original paper had the following equations for pred correction on original scale ( not log)
pcYij = lbij +(yij-lbij) *(med(PREDbin) - lbij)/(PREDij-lbij)
when lb = 0
reduces to
pcYij =(yij) *(med(PREDbin) )/(PREDij)

similar to how we allow LLOQ at the observation level we should allow lower bound at observation level

https://github.com/certara/tidyvpc/blob/master/R/vpcstats.R#L729
o$obs[, ypc := (mpred/pred)*y]

on a separate note we might also want to add variance correction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions