UUPharmacometrics / xpose4

Model building aid for population analysis using NONMEM
http://uupharmacometrics.github.io/xpose4/
GNU Lesser General Public License v3.0
33 stars 11 forks source link

xpose.VPC semi log plot for data with negative pi.ci #9

Closed YGAZ closed 5 years ago

YGAZ commented 5 years ago

I am trying to do VPC plot with semilog y axis using xpose.VPC function but the lower bound of pi.ci is below zero. Can you please tell me how to fix this problem? Thanks! Here is my code:

xpose.VPC(vpc.info=vpc_results.csv, vpctab=vpctab, logy = T)

And I received the following error message:

The PI.ci on the y-axis goes below zero.
This means that taking the log of this prediction
interval gives non-real numbers.
The plot will not be created.
andrewhooker commented 5 years ago

Hi

You need to simulate with a model that does not create negative values if you want to make plots on the log-scale.

Best regards, Andrew On 1 Mar 2019, 08:13 +0100, YGAZ notifications@github.com, wrote:

I am trying to do VPC plot with semilog y axis using xpose.VPC function but the lower bound of pi.ci is below zero. Can you please tell me how to fix this problem? Thanks! Here is my code: xpose.VPC(vpc.info=vpc_results.csv, vpctab=vpctab, logy = T) And I received the following error message: The PI.ci on the y-axis goes below zero. This means that taking the log of this prediction interval gives non-real numbers. The plot will not be created. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.