Re: [NMusers] Re: 0PRED EXIT CODE = 1

2024-09-18 Thread Leonid Gibiansky
This is a generic error message, nothing informative except indicates that there are some numerical problems. You can try to change ADVAN (6 to 13, if this is differential equations model) or TOL on $SUBR record, SIGL and NSIG on $EST, change initial conditions to the values of the previous m

Re: [NMusers] Difference between FOCEI and SAEM

2024-08-16 Thread Leonid Gibiansky
I would concentrate on improving the model: FOCEI should be fine (unless you would like to use random effect on the lag time: then may not work well). Some options to improve absorption part are the time-variable KA (implemented using MTIME option) or sequential zero-order then first order abso

Re: [NMusers] Obtaining RSE%

2024-07-27 Thread Leonid Gibiansky
It can be done if you add extra $cov statement after each estimation method record Thank you Leonid On Sat, Jul 27, 2024, 12:47 PM wrote: > Dear Santosh, > > > > There is a good reason for this. Wald (1943) has shown that the inverse > of the Hessian (R matrix) evaluated at the maximum likelih

Re: [NMusers] An error when running a plasma/urine model in SS. Would you please help?

2024-07-15 Thread Leonid Gibiansky
ere is no steady state in urine. Urine is always accumulating and empty out. You can set ss to the central compartment. After setting ss to the central compartment, you need to empty and reset urine compartment using evid. On Thu, Jul 11, 2024, 2:10 AM Leonid Gibiansky mailt

Re: [NMusers] An error when running a plasma/urine model in SS. Would you please help?

2024-07-10 Thread Leonid Gibiansky
Could you show the code and the data sample? It is possible that urine compartment does not have SS, as it does not have elimination. It needs to be emptied time to time, and it could be difficult to code SS of this system. To check, you may look on the urine compartment concentrations with ad

Re: [NMusers] %RSE for IIV when expressed as %CV instead of variance

2024-05-11 Thread Leonid Gibiansky
For CV, look for "geometric CV" here: https://en.wikipedia.org/wiki/Coefficient_of_variation (Sln^2 in Nonmem OMEGA). Or you can use simpler (but approximate) expression CV%=100*SQRT(OMEGA). For RSE, not sure. Nonmem reports OMEGA SE that can be used to compute OMEGA CI (confidence intervals)

Re: [NMusers] LSODA error code -5

2024-04-15 Thread Leonid Gibiansky
Hi Yun, LSODA messages are not very informative or specific. They just tell that the model has numerical problems. You may try to start with the new initial conditions (e.g., divide all CL and V initial parameter values by 0.9) and/or change TOL value to the lower value (8 or 9?). Thank you,

Re: [NMusers] ERROR -M2 vpc run

2024-03-23 Thread Leonid Gibiansky
e the following: AN ERROR WAS FOUND IN THE CONTROL STATEMENTS. 585 LAPLACIAN METHOD IS REQUIRED WHEN YLO, YUP, CTLO, OR CTUP IS USED. fsubs did not get created by NM-TRAN. No NONMEM execution. " On 3/23/2024 11:40 PM, Leonid Gibiansky wrote: Hi Mohd, Something else is going on, your code ru

Re: [NMusers] ERROR -M2 vpc run

2024-03-23 Thread Leonid Gibiansky
Hi Mohd, Something else is going on, your code runs fine on my side except you need to define LLOQ, and also correct an error in SD: SD = SQRT(1 + THETA(4)*F**2) ; not **F Why you call it VPC, are you running it via PSN or similar interface? Then the problem can be there, in transformation of

Re: [NMusers] Warning obtained while running SAEM

2024-03-05 Thread Leonid Gibiansky
= VAR1 + 2*COV(ERR1,ERR2), where COV(ERR1,ERR2) = THETA1*IPRED*THETA2 which means CORR(ERR1,ERR2)=1. Ken *From:* Luann Phillips *Sent:* Tuesday, March 5, 2024 5:38 PM *To:* kgkowalsk...@gmail.com; 'Leonid Gibiansky' ; 'T. Preijers' ; nmusers@globomaxnm.com *Subject:* R

Re: [NMusers] Warning obtained while running SAEM

2024-03-05 Thread Leonid Gibiansky
Hi Tim and Ken, I do not think this is an error to code W = THETA(1) * IPRED + THETA(2). This does not correspond to the variance of VAR1=(THETA(1)*IPRED)^2+THETA(2)^2 but this is just a different dependence of variance VAR2=(THETA(1)*IPRED+THETA(2))^2 = VAR1+2*THETA(1)*IPRED*THETA(2) o

Re: [NMusers] Warning obtained while running SAEM

2024-03-05 Thread Leonid Gibiansky
Most likely, the parameter was reduced to the internal bound. Nonmem places the low bound equal to 1/100 (or 1/1000) of the initial value even if it is set to zero in the code. You may rerun with lower value of THETA(2) or put NOSIGMABOUND to the estimation record Leonid THETABOUNDTEST, OMEGA

Re: [NMusers] NONMEM Error on SAEM but not FOCEI

2024-01-26 Thread Leonid Gibiansky
type = "typo", something similar is in the control stream where Q is defined Leonid On 1/26/2024 10:16 AM, Leonid Gibiansky wrote: most likely, some type in the code. Can you provide the control stream? On 1/26/2024 10:01 AM, Elashkar, Omar I. wrote: ERROR IN TRANS4 ROUTINE

Re: [NMusers] NONMEM Error on SAEM but not FOCEI

2024-01-26 Thread Leonid Gibiansky
most likely, some type in the code. Can you provide the control stream? On 1/26/2024 10:01 AM, Elashkar, Omar I. wrote: ERROR IN TRANS4 ROUTINE

Re: [NMusers] Simulate with ETAs from .phi and residual variability

2023-10-08 Thread Leonid Gibiansky
The only way I know to simulate with residual variability is to use $SIM SIMONLY If ETAs need to be fixed, they have to be in the data file $INPUT ,PKETA1, CL=THETA(1)*EXP(PKETA1+0*ETA(1)) -- another option is to use mrgsolve or similar R packages (after reading in estimated ETA values). --

Re: [NMusers] Specify full OMEGA matrix for simulation

2023-07-06 Thread Leonid Gibiansky
Looks like a bug. Workaround is to use a very small diagonal value (1E-30) Leonid On 7/6/2023 6:01 AM, Philip Harder Delff wrote: Hi all, I am trying to specify a full OMEGA matrix for simulation purpose. I get issues because some diagonals are zero and some are positive. If I write $OMEGA B

Re: [NMusers] BQL simulations

2023-06-19 Thread Leonid Gibiansky
For simulation, you can remove bql part, and simulate from the model. Simulated values below lloq can be treated as bqls, if you e.g. want to compare fraction of bqls in observed and simulated sets. Leonid On Mon, Jun 19, 2023, 3:57 AM Hiba Sliem wrote: > Hello everyone > > I have a simple ques

Re: [NMusers] Problem with estimating sigma when using M3 method

2023-05-31 Thread Leonid Gibiansky
k you again regards -----Original Message- From: Leonid Gibiansky Sent: Tuesday, 30 May 2023 04:17 To: Hiba Sliem Cc: nmusers Subject: Re: [NMusers] Problem with estimating sigma when using M3 method The code is incorrect, $ERROR should be $ERROR LOQ=0.1 IPRED = F W1 = THETA(8

Re: [NMusers] Problem with estimating sigma when using M3 method

2023-05-29 Thread Leonid Gibiansky
Original Message- From: Philip Harder Delff Sent: Friday, 26 May 2023 21:42 To: Leonid Gibiansky Cc: Hiba Sliem ; nmusers Subject: Re: [NMusers] Problem with estimating sigma when using M3 method [You don't often get email from phi...@delff.dk. Learn why this is important at https://ak

Re: [NMusers] Problem with estimating sigma when using M3 method

2023-05-26 Thread Leonid Gibiansky
nt periods, is it possible the issue comes from my dataset? Regards -Original Message----- From: Leonid Gibiansky Sent: Friday, 26 May 2023 14:51 To: Hiba Sliem ; nmusers@globomaxnm.com Subject: Re: [NMusers] Problem with estimating sigma when using M3 method [You don't often get ema

Re: [NMusers] Problem with estimating sigma when using M3 method

2023-05-26 Thread Leonid Gibiansky
you should fix $SIGMA 1 FIX as you are already estimating the SD using THETA(8). Leonid On 5/26/2023 4:57 AM, Hiba Sliem wrote: Hello I’m fairly new to nonmem, I’m currently trying to model a phase 1 study with BLQ values, while the run was successful with no error message, my residual err

Re: [NMusers] Modeling for non-Normal distributions of individual parameters

2023-01-03 Thread Leonid Gibiansky
Hi Bob, Thanks for the instructions, it is very helpful. From the practical standpoint, using gamma as you described is somewhat complicated while using square-normal is trivial. Would it be a fair summary to say that: -if the results of log-normal and square are similar (or if log-normal is

Re: [NMusers] Off diagonals in $TABLE

2022-12-20 Thread Leonid Gibiansky
This should do it: OM12 = OMEGA(1,2) $TAB OM12 On 12/20/2022 1:55 PM, Paul Hutson wrote: Is it possible to include the off-diagonal correlation of ETAs in the $TABLE output? If so, how is it done?  ETAR12 is not recognized. I’d like to import into R for summary stats. Thank you! Paul Paul R

Re: [NMusers] Simulate with parameter uncertainty

2022-12-17 Thread Leonid Gibiansky
Is it is only CL (then you can just use SE and normal distribution) or you need predictions and use whole parameter matrix (then you need to use PRIORS): make sure to set TRUE=PRIOR on the simulation step). Leonid Roughly (See guide for IVAR value): $PRIOR TNPRI (PROBLEM 2) IVAR=2 PLEV=0.999

Re: [NMusers] Condition number

2022-11-29 Thread Leonid Gibiansky
from the manual: Iteration -13 indicates that this line contains the condition number , lowest, highest, Eigen values of the correlation matrix of the variances of the final parameters. On 11/29/2022 7:59 PM, Ken Kowalski wrote: Hi Matt, I’m pretty sure Stu Beal told me many years

Re: [EXTERNAL] [NMusers] Continuation of "What does "Second Error signal from LINV1PD: 129"

2022-09-16 Thread Leonid Gibiansky
t.ba...@iconplc.com <mailto:robert.ba...@iconplc.com> www.iconplc.com <http://www.iconplc.com> -Original Message- From: owner-nmus...@globomaxnm.com <mailto:owner-nmus...@globomaxnm.com> On Behalf Of Leonid Gibiansky Sent: Friday, September 16, 2022 12:57 PM To: nmuse

[NMusers] Continuation of "What does "Second Error signal from LINV1PD: 129"

2022-09-16 Thread Leonid Gibiansky
Hi Nick and Bob, There was a thread in 2010 about LINV1PD: 129 error, see below. Is it possible to get ID(s) of the subject(s) with the problem or extract any other useful information to debug the issue? I am using ADVAN5 with LAPLACIAN option (with PROTECT), are there any tricks that would he

Re: [NMusers] flip-flop without absorption information?

2022-09-13 Thread Leonid Gibiansky
With flip-flop, we always can get 2 solutions (assuming 1-cmpt model with absorption; 2-cpt case is similar but expressions may differ): ka1-CL-V1 and ka2-CL-V2 such that ka1=CL/V2 and ka2=CL/V1 Note that CL is the same, so info on CL will not help to distinguish these cases. One cannot jus

Re: [NMusers] Problems when implementing M3 for BLQs

2022-08-17 Thread Leonid Gibiansky
Hi Roeland, ERROR_TERM in Y and in DUM should differ: one should include EPS() while the other should use only SD. F_FLAG should be set to zero outside M3 block. What is DRUG.EQ.1, is it parent? there should be a separate M3 part for metabolite. It would be easier to debug if you would provi

[NMusers] Final count for unofficial survey: COVID at PAGE

2022-08-01 Thread Leonid Gibiansky
/1faVr5vwt9KNyxdxJw9IXB6VZkeRFxg_QHad8-o1wfKw/edit?usp=sharing Leonid On 7/24/2022 2:36 PM, Leonid Gibiansky wrote: Hi All, I planned to put a summary in a week, but I see that the stream of responses dwindle, so we can have some summaries now (BTW, if you know colleagues who do not use nmusers but attended

[NMusers] Update for unofficial survey: COVID at PAGE

2022-07-24 Thread Leonid Gibiansky
Hi All, I planned to put a summary in a week, but I see that the stream of responses dwindle, so we can have some summaries now (BTW, if you know colleagues who do not use nmusers but attended PAGE and would be willing to participate in a survey, could you forward this email to them). Summary

[NMusers] unofficial survey: COVID at PAGE

2022-07-17 Thread Leonid Gibiansky
Hi All, I got back from PAGE with COVID, and I know several people who got the same. I suspect that there are many people who got it, but it would be interesting to put a number on it. Attached is the google doc that everyone can edit. Could you put an X to the appropriate column(s): Not test

Re: [NMusers] Time-varying input/flexibility to change input rate on the fly

2021-08-06 Thread Leonid Gibiansky
one can do it by hands, like set F1=1 and then use DA1/dt = -KA*A(1) DA2/dt = FF1(any function of time)*A(1) .. will it do the trick? Leonid On 8/6/2021 4:20 PM, Robin Michelet wrote: Hi Bill, Thank you for your quick answer. As far as I understand Nonmem's inner workings, bio availability

Re: [NMusers] Help with ODEs for a time varying clearance

2021-07-22 Thread Leonid Gibiansky
stant Research Pharmacy Department Institute of Pharmacy and Food, University of Havana Cuba El 22/07/2021 16:04, "Leonid Gibiansky" <mailto:lgibian...@quantpharm.com>> escribió: Definition of CL should be moved inside the DES block; other than that, looks fine: ;

Re: [NMusers] Help with ODEs for a time varying clearance

2021-07-22 Thread Leonid Gibiansky
Definition of CL should be moved inside the DES block; other than that, looks fine: ; DES -- $DES CL2_TIME = CL2*EXP(-KDES*T) CL_TOTAL = CL2_TIME + CL1 ; total clearance ... Thanks Leonid On 7/22/2021 3:30 PM, Niurys.CS wrote: Dear nmusers, I'm working on the pharmacokinetics of an an

Re: [NMusers] computation of exponential error model for RUV

2021-07-19 Thread Leonid Gibiansky
yes, it does at estimation, not sure about simulations step. If you need true exponential error, log-transform of DV and model predictions is needed Leonid On 7/19/2021 11:34 AM, Guidi Monia wrote: Dear colleagues, We would like to compare the NONMEM predictions with those obtained by a Ba

Re: [NMusers] Assessment of elimination half life of mAb

2021-04-29 Thread Leonid Gibiansky
, 2021 6:17 PM To: Bonate, Peter ; Leonid Gibiansky ; Niurys.CS Cc: nmusers@globomaxnm.com Subject: RE: [NMusers] Assessment of elimination half life of mAb Hi Pete, I agree that it is hard to communicate. I like the general idea of C90 you propose. I tend to choose something in between your

Re: [NMusers] Assessment of elimination half life of mAb

2021-04-29 Thread Leonid Gibiansky
go into this topic in any depth. Best, Niurys El 28/04/2021 19:34, "Leonid Gibiansky" <mailto:lgibian...@quantpharm.com>> escribió: There is no such thing as half-life of elimination for the nonlinear drug. But one can compute something like half-life: 1. Half

Re: [NMusers] Assessment of elimination half life of mAb

2021-04-28 Thread Leonid Gibiansky
There is no such thing as half-life of elimination for the nonlinear drug. But one can compute something like half-life: 1. Half-life of the linear part (defined by CL, V1, V2, Q): this defines the half-life at high doses/high concentrations when nonlinear elimination is saturated. 2. Washo

Re: [NMusers] Two way crossover

2021-02-12 Thread Leonid Gibiansky
it is hard to check without seeing the data. Could you post sample data for 1 subject? Leonid On 2/11/2021 11:51 PM, Andre Jackson wrote: I have the following code for the zero order followed by 1^st order delayed absorption of a drug with complex absorption.  This code is for a two way crosso

Re: [NMusers] Variability in Dosing Rate (and amount)

2020-12-15 Thread Leonid Gibiansky
not sure the code is correct for 3 days case As written, it assumes that FDAY1=0.5, FDAYS2=1/4, FDAYS3=1/4 (on average) Possible way to code this type of fractions is FF2=THETA()*EXP(ETA()) FF3=THETA()*EXP(ETA()) F1= 1/(1+FF2+FF3) F2= FF2/(1+FF2+FF3) F3= FF3/(1+FF2+FF3) Leonid On 12/15/202

Re: [NMusers] OFV from different algorithms

2020-09-24 Thread Leonid Gibiansky
wrote: Hi Leonid, Thanks for the tips. When you talk about Methods, are you referring to different ADVANs? e.g. FOCEI ADVAN6 vs. IMP ADVAN6. Mark On Wed, Sep 23, 2020 at 5:52 PM Leonid Gibiansky wrote: Within one method, FOCEI or IMP models can be compared by OF, but not between methods

Re: [NMusers] OFV from different algorithms

2020-09-23 Thread Leonid Gibiansky
Within one method, FOCEI or IMP models can be compared by OF, but not between methods. FOCEI and IMP OF are similar by the order of magnitude, but should not be used for comparison between methods. SAEM OF should not be used for model comparison at all. Among two models that differ by SAEM OF,

Re: [NMusers] Random effect on ALAG between dose events

2020-08-12 Thread Leonid Gibiansky
No, there is no other solution except IOV. One option to lessen the impart of the discrepancy is to have inflated residual error in the some interval post-dose ;TAD: time after dose SD=THETA() IF(TAD.LE.XX) SD=SD*THETA() $ERROR Y=TY*(1+SD*EPS(1)) $SIGMA 1 FIX Then observations close to the do

Re: [NMusers] Variability on infusion duration

2020-08-05 Thread Leonid Gibiansky
may be D1=DUR*EXP(ETA(1)) IF(D1.GT.DocumentedInfusionDuration) D1=DocumentedInfusionDuration On 8/5/2020 12:18 PM, Patricia Kleiner wrote: Dear all, I am developing a PK model for a drug administered as a long-term infusion of 48 hours using an elastomeric pump. End of infusion was documented

Re: [NMusers] Negative concentration from simulation

2020-06-02 Thread Leonid Gibiansky
Hi Nick, The question was not how to report measurements, but how to deal with the simulation from the model, that was likely developed on the data set where BQLs were either ignored or treated as BQLs (e.g., set to 0, set to BQL/2, treated with M3: in the best case, the exact method can be fo

Re: [NMusers] Negative concentration from simulation

2020-06-02 Thread Leonid Gibiansky
you can treat it as any other value below quantification limit, and either comment it out (if you do this with other BQLs) or use it (same as other BQLs) Leonid On 6/2/2020 2:13 PM, Nyein Hsu Maung wrote: Dear NONMEM users, I tried to simulate a new dataset by using a previously published po

Re: [NMusers] Time-varying bioavailability and reproducibility in NONMEM analysis

2020-02-12 Thread Leonid Gibiansky
he data_set function in mrgsolve ds_sim_told %>%   rename(CID = ID, TIME = time, EVID = evid, AMT = amt, CMT = cmt) %>%   write_csv("ds_sim_told.csv", na = ".") #data for NONMEM *De :*Kyle Baron [mailto:ky...@metrumrg.com] *Envoyé :* mardi 11 février 2020 17:59

Re: [NMusers] Time-varying bioavailability and reproducibility in NONMEM analysis

2020-02-11 Thread Leonid Gibiansky
ner-nmus...@globomaxnm.com] De la part de Leonid Gibiansky Envoyé : mardi 11 février 2020 15:19 À : nmusers@globomaxnm.com Objet : Re: [NMusers] Time-varying bioavailability and reproducibility in NONMEM analysis could you show equations? Bioavailability is treated differently in Nonmem and R, so code should re

Re: [NMusers] Time-varying bioavailability and reproducibility in NONMEM analysis

2020-02-11 Thread Leonid Gibiansky
could you show equations? Bioavailability is treated differently in Nonmem and R, so code should reflect it. Thanks Leonid On 2/11/2020 3:52 AM, Le Louedec Felicien wrote: Dear NONMEM users, I’m struggling for a couple of weeks against contradictory results between NONMEM and R analysis of t

Re: [NMusers] Final Parameter is same as initial parameter - integrated PK-PD models with two PD parameters

2019-12-08 Thread Leonid Gibiansky
ERR3 and ERR4 are mixed up, should be in order (in the ERROR block). Can it be the reason? Leonid On 12/8/2019 2:24 PM, Singla, Sumeet K wrote: Hello everyone! This is giving me great deal of headache. If you can please help me with this, my subsequent models will start working too. Please ta

Re: [NMusers] AMD vs Intel

2019-11-19 Thread Leonid Gibiansky
Uppsala University Box 591 75124 Uppsala Phone: +46 18 4714308 www.farmbio.uu.se/research/researchgroups/pharmacometrics/ On 2019-11-18 23:54, Leonid Gibiansky wrote: Hi Jeroin, Thanks for your input, very interesting. As far as the goal is concerned, I am mostly interested to find options that

Re: [NMusers] AMD vs Intel

2019-11-18 Thread Leonid Gibiansky
ne to gain speed, but the optimal settings might be very different for the next and overrule any platform differences. Hope this helps, Jeroen http://pd-value.com jer...@pd-value.com @PD_value +31 6 23118438 -- More value out of your data! On 18/11/19 6:34 pm, Leonid Gibiansky wrote: Than

Re: [NMusers] AMD vs Intel

2019-11-18 Thread Leonid Gibiansky
, N3.158 Northbrook, IL 60062 peter.bon...@astellas.com (224) 205-5855 Details are irrelevant in terms of decision making - Joe Biden. -Original Message- From: owner-nmus...@globomaxnm.com On Behalf Of Leonid Gibiansky Sent: Monday, November 18, 2019 11:05 AM To: nmusers Subject

[NMusers] AMD vs Intel

2019-11-18 Thread Leonid Gibiansky
Dear All, I am testing the new Epyc processors from AMD (comparing with Intel Xeon), and getting different results. Just wondering whether anybody faced the problem of differences between AMD and Intel processors and knows how to solve it. I am using Intel compiler but ready to switch to gfor

Re: [NMusers] cumulative AUC

2019-11-08 Thread Leonid Gibiansky
actually CMT=-4 turns compartment 4 off. It need to be turned on again, see by the record with CMT=4 (positive), see Plasma urine example in Nonmem help Leonid On 11/8/2019 1:47 PM, Leonid Gibiansky wrote: Negative CMT (in the data set) resets compartment amounts (CMT=-4 in this case) EVID

Re: [NMusers] cumulative AUC

2019-11-08 Thread Leonid Gibiansky
Negative CMT (in the data set) resets compartment amounts (CMT=-4 in this case) EVID = 4 resets all system, including A(4) (if washout time was long and all compartments can be set to 0) Also, it is easy to do post-processing, subtracting Cycle 1 AUC from Cycle 1-2 AUC to get Cycle 2 AUC, etc.

Re: [NMusers] RE: Stepwise covariate modeling

2019-10-29 Thread Leonid Gibiansky
I think we are making it more difficult than needed, especially for the people who just started using the NLME. It does not hurt to include statistically significant covariate in the model even if the actual effect is small and does no manifest itself on the standard diagnostic plots. It make

Re: [NMusers] Algebraic equations and IOV

2019-10-24 Thread Leonid Gibiansky
We have to be careful with data structure. When Nonmem advances from time T1=0 to time T2=24 (whether with DES or exact solution), covariate values (OCC in this case) at time T2=24 are used. So for the data file presented, 0 to 24 hours will be treated as OCC=2 > will then use CL1=THETA*EXP(ET

Re: [NMusers] Is there an easy way to get PRED from NONMEM when objective function instead of error model is specified?

2019-09-28 Thread Leonid Gibiansky
To get PRED, nonmem runs the model with all ETAs fixed to zero. COMACT variable is equal to 1 at this step. So if IPRED is the concentration predictions, then the line: IF(COMACT.EQ.1) PREDI=IPRED will give you concentration predictions when all ETAs are equal to zero (that is PRED). This i

Re: [NMusers] NONMEM Unexpected result with the $LEVEL statement

2019-08-13 Thread Leonid Gibiansky
You need to use FNLETA=0 option. Thanks Leonid On 8/13/2019 4:39 PM, Dumortier, Thomas wrote: Hello I would like to model inter-study variability on the of the inter-subject variability  with NONMEM 74 A subject belongs to a study, therefore those two random effects are nested Following th

Re: [NMusers] $ERROR block for feedback mechanism

2019-08-01 Thread Leonid Gibiansky
Alternatively, if OMEGA block is placed before the $PK block, A() variables can be used in the PK block, so F1=function(A4) can be defined there. Results will be different, as this procedure will use A(4) at dose time to reduce the dose while the $DES block version will use current A(4) to redu

Re: [NMusers] ERROR NUMBER OF BASIC PK PARAMETERS EXCEEDS VALUE OF NPARAM IN $MODEL

2019-07-30 Thread Leonid Gibiansky
Not sure why would we need NPARAM there, is it necessary? I think one can skip it. On the different topic, expression for IWRES is not correct: IWRES=IRES/(IPRED * EPS(1) + EPS(2)) This is the version that should be used: IWRES=IRES/SQRT(IPRED**2 * SIGMA(1,1) + SIGMA(2,2)) Also it is more tr

Re: [NMusers] Help with a PK code

2019-04-23 Thread Leonid Gibiansky
The code will work as written (if you add ENDIF after TVVM = THETA (6), and define all parameters CL, V1, Q, V2, KINT, ...) but mechanistically, this is not a good idea to have two models for two dose levels. You may want to try QSS model with non-constant Rtot (MM model is usually good when R

Re: [NMusers] Simulation error

2019-04-22 Thread Leonid Gibiansky
Nonmem needs to allocate memory for all variables stored in the MSF file. For that, it counts THETAs and ETAs and SIGMAs in the control stream. If some of them are not listed (often we do not need all parameters of the model for a specific simulation), one needs to tell the program how much mem

Re: [NMusers] SAEM with MAXEVAL= 0 possible? or any work around?

2019-03-04 Thread Leonid Gibiansky
Hi Andrew, SAEM equivalent of MAXEVAL=0 would be EONLY=1 Results should not depend on the method so you should be safe just using FOCEI for model evalaution. Also, what was the problem with "non-convergence of the base model", was it just error code 134? If the model is stable (solution does n

Re: [NMusers] Strange PRED prediction in SAEM with M3 BQL handling

2019-02-22 Thread Leonid Gibiansky
One can get PRED at BQLs using COMACT option, see manual: "COMACT=1 is a pass with final thetas and zero-valued etas". Things computed at this stage are based on THETAS with zero ETAs and thus provide PRED values. E.g., IPRED = ... IF(COMACT==1) PRED1=IPRED creates the PRED1 variable that is

Re: [NMusers] OFV or Diagnostic Plot ?? Which one rules...

2019-02-13 Thread Leonid Gibiansky
Sumeet, DV vs IPRED is only one, and the least helpful plot. You may want to look on DV vs PRED, both in original scale and on log log scale, CWRES vs time, PRED, distributions and correlation of random effects, etc. and only then one can decide which of the models is better. Based on the descri

Re: [NMusers] Why should we avoid using micro rate constants?

2019-02-03 Thread Leonid Gibiansky
It could be just coding error, could you show the control stream? Thanks Leonid > On Feb 3, 2019, at 12:44 PM, Singla, Sumeet K wrote: > > Hello everyone! > > I have a question. I was trying to build a 2-compartment PK model for > marijuana use in occasional and chronic smokers. Initially, I

Re: [NMusers] Potential bug in NM 7.3 and 7.4.2

2018-11-21 Thread Leonid Gibiansky
cific number of characters. I always thought the limit was 300, but apparently it may be less. Again, thanks to all for thinking through this. -----Original Message- From: Leonid Gibiansky Sent: Dienstag, 20. November 2018 20:13 To: Lindauer, Andreas (Barcelona) ; nmusers@globomaxnm.com Cc

Re: [NMusers] Potential bug in NM 7.3 and 7.4.2

2018-11-20 Thread Leonid Gibiansky
with dummy data that can be shared. Regards, Andreas. -Original Message- From: Ekaterina Gibiansky Sent: Dienstag, 20. November 2018 16:29 To: Leonid Gibiansky ; Lindauer, Andreas (Barcelona) ; nmusers@globomaxnm.com Subject: Re: [NMusers] Potential bug in NM 7.3 and 7.4.2 And one more questio

Re: [NMusers] Potential bug in NM 7.3 and 7.4.2

2018-11-20 Thread Leonid Gibiansky
Never seen it. This will not solve the problem, but just for diagnostics, have you found out what is "damaged" in the created data files: is the number of subjects (and number of data records) the same in both versions (reported in the output file)? Among columns used in the base model (ID, T

Re: [NMusers] $ERROR block TMDD

2018-11-16 Thread Leonid Gibiansky
You should not expect dramatic differences between the model with central binding and peripheral binding. So if the model failed (completely failed ? or just not good enough?), this is for some other reasons. You may want to start with the simple linear model, find parameters, then add Michaeli

Re: [NMusers] NONMEM 2 Compartment Zero Order Absorption

2018-10-01 Thread Leonid Gibiansky
you need to use ADVAN3, or with ADAN 4 put the dose to CMT=2, define D2 (not D1) and assign and FIX KA Leonid On 10/1/2018 11:12 AM, Bishoy Hanna wrote: Hello all, I am currently trying to model data for a compound that is orally administered. A two compartment model with FIRST order oral ab

Re: [NMusers] IMPMAP behavior question

2018-08-23 Thread Leonid Gibiansky
mittal, in any form, is prohibited except by or on behalf of the intended recipient(s). If you have received this transmittal in error, please notify me immediately by reply email and destroy all copies of the transmittal. ____ From: Leonid Gibiansky Sent: Thursday,

Re: [NMusers] IMPMAP behavior question

2018-08-23 Thread Leonid Gibiansky
Mark, IMPMAP procedure produces run.cnv file. There you can find mean and SD of OF (over the last few iterations that were considered for convergence stop). I use these numbers for covariate assessment as iteration-to-iteration numbers oscillate and cannot be reliably compared. Concerning th

[NMusers] East Coast Workshop: Modeling Biologics with Target-Mediated Disposition, September 14th 2018

2018-07-10 Thread Leonid Gibiansky
QuantPharm is collaborating with ICON to present a workshop on “Modeling Biologics with Target-Mediated Disposition” It will be presented on the East Coast, near Baltimore-Washington International Airport, at 6751 Columbia Gateway Drive, Columbia MD 21046 14th September 2018 The worksh

Re: [NMusers] Cmax/Tmax in the DES block

2018-05-05 Thread Leonid Gibiansky
t.ba...@iconplc.com <mailto:robert.ba...@iconplc.com> www.iconplc.com <http://www.iconplc.com/> *From:*owner-nmus...@globomaxnm.com [mailto:owner-nmus...@globomaxnm.com] *On Behalf Of *Leonid Gibiansky *Sent:* Friday, May 04, 2018 10:16 AM *To:* Kyle Baron; Paolo Denti *Cc:* Bob Leary; nmuser

Re: [NMusers] Cmax/Tmax in the DES block

2018-05-04 Thread Leonid Gibiansky
discontinuity issues. Kevin *From:*owner-nmus...@globomaxnm.com [mailto:owner-nmus...@globomaxnm.com] *On Behalf Of *Kyle Baron *Sent:* Friday, May 4, 2018 1:21 PM *To:* Leonid Gibiansky *Cc:* Paolo Denti ; Bob Leary ; nmusers@globomaxnm.com *Subject:* Re: [NMusers] Cmax/Tmax in the DES block

Re: [NMusers] Cmax/Tmax in the DES block

2018-05-04 Thread Leonid Gibiansky
uot; when NONMEM has overshot the solution and then it would take a step back? Just an idea on something to check. But I guess the NONMEM developers may have a quick answer to this one (hint hint). Paolo On 2018/05/04 17:32, Leonid Gibiansky wrote: The procedure d

Re: [NMusers] Cmax/Tmax in the DES block

2018-05-04 Thread Leonid Gibiansky
to have a grid generator within NMTRAN that lets you just specify beginning and end points and number of points in the grid. I would point out that Phoenix NLME PML has always had this capability. Bob Leary -Original Message- From: owner-nmus...@globomaxnm.com On Behalf Of Leonid Gibiansky

[NMusers] Cmax/Tmax in the DES block

2018-05-03 Thread Leonid Gibiansky
Interesting experience concerning computation of Cmax and Tmax (and probably other stats) in the DES block. We used to use this way: http://cognigencorp.com/nonmem/current/2007-December/4125.html Specifically, reserved the place in the memory: $ABB COMRES=2 Set these values to zero for each n

Re: [NMusers] ETAs & SIGMA in external validation

2018-04-06 Thread Leonid Gibiansky
It would be better to use $EST METHOD=1 INTERACTION MAXEVAL=0 (at least if the original model was fit with INTERACTION option and residual error model is not additive). One option is to use Para = THETA * EXP(ETA) You would be changing the model, but the model is not too good any way if you

Re: [NMusers] Time-Varying Bioavailability on Zero-Order Infusion

2018-03-13 Thread Leonid Gibiansky
t of NONMEM that I didn't know related to controlling infusion rates in the $DES block. (Feature request to Bob and Alison: Maybe in NONMEM 7.5, the user could set R1 = -1 in $PK and have continuous control of R1 in $DES-- generalized to include all compartments.) Thanks, Bill -Original

Re: [NMusers] Time-Varying Bioavailability on Zero-Order Infusion

2018-03-13 Thread Leonid Gibiansky
Hi Bill, I think the proposed original solution is the only one if you would like to implement it exactly. May be it can be approximated somehow? What is the real reason for this questions? What is the biology behind the time-variant IV bioavailability? Or what is the model mis-fit that you a

Re: [NMusers] unidentified cause of "F OR DERIVATIVE RETURNED BY PRED IS INFINITE (INF) OR NOT A NUMBER (NAN)"

2018-02-02 Thread Leonid Gibiansky
I think this is overkill to have 10 occasions, and this could be a problem. Try to start first with 2 occasions (e.g, first 5 doses and the rest). If this works it means that it is just a numerical problem. Also, just to check, try Y=LOG(F+0.0001)+EPS_EXP to remove the possibility of F=0. Than

Re: [NMusers] CMT Remapping

2018-01-23 Thread Leonid Gibiansky
Hi Bill, I do not think this is possible, but you are making things more complicated than needed. You can slice the data set as needed using IGNORE/ACCEPT options. For analytical ADVAN models, you often do not need CMT item, and if needed, you can introduce extra columns CMT1, CMT2, CMT3, and

Re: [NMusers] Numerical integreaion and change in clearance over time

2017-12-19 Thread Leonid Gibiansky
One option is to run all analyses in analytical ADVANs and then re-run the final model in differential equations. If the results are close, it could be used as a justification of the final model. If not, differential equations solution should be preferred, I guess. In our experience, analytical

[NMusers] West Coast Workshop: Modeling Biologics with Target-Mediated Disposition

2017-12-19 Thread Leonid Gibiansky
QuantPharm is collaborating with ICON to present a workshop on “Modeling Biologics with Target-Mediated Disposition” It will be presented on the West Coast, at San Francisco Airport DoubleTree by Hilton, 835 Airport Boulevard, Burlingame, CA on 16th February 2018 The workshop is intended for

Re: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Leonid Gibiansky
from the manual: "When the IGNORE option is used to filter records from the input file, the .EQ., =, .NE., and /= symbols perform literal string comparisons. To provide a numerical equality comparison, use .EQN. for numerical equals, and .NEN. for numerical not equals." May be there is a spa

[NMusers] Intel AVX and AVX2 set of instructions for compiling Nonmem

2017-07-30 Thread Leonid Gibiansky
Dear All, Could you share if you have any experience with Intel AVX (Advanced Vector Extensions) and AVX2 set of instructions for Intel compiler on recent processors: does it work with Nonmem, does it allow to speed up the fitting, and by how much. Compiler versions/options and processor vers

Re: [NMusers] Modelling IV and IP simultaneously

2017-04-24 Thread Leonid Gibiansky
CMT is important for dosing: it directs the dose to the appropriate compartment (equation number). It is a common misconception that CMT has to be related to observations. It is relevant for observations only if F notation is used (and therefore it is better to avoid using this notation). Fo

Re: [NMusers] RE: question about random seed for simulation

2017-03-09 Thread Leonid Gibiansky
One simple option is to stack simulation data files together, with EVID=4 for the first (or the only) dose of the second file. Leonid On 3/9/2017 6:11 PM, Faelens, Ruben (Belgium) wrote: Hi Penny, Nonmem indeed calculates each subject one after the other. The random values will therefore c

Re: FW: [NMusers] Parameter uncertainty

2017-02-15 Thread Leonid Gibiansky
One of the tools available for simulations is Metrum R package metrumrg install.packages("metrumrg", repos="http://R-Forge.R-project.org";) Example of applications can be found here: http://www.page-meeting.org/page/page2006/P2006III_11.pdf Since the time it was written (2005-2006), Nonmem en

Re: [NMusers] Objective function

2017-01-16 Thread Leonid Gibiansky
STANT: 5801.3214723745577 OBJECTIVE FUNCTION VALUE WITH CONSTANT: 6856.2629084935215 REPORTED OBJECTIVE FUNCTION DOES NOT CONTAIN CONSTANT Best wishes, Nick On 17-Jan-17 07:18, Leonid Gibiansky wrote: Note however that (from Nonmem 7.3 guide): - The objective function SAEMOBJ that is disp

Re: [NMusers] Objective function

2017-01-16 Thread Leonid Gibiansky
Note however that (from Nonmem 7.3 guide): - The objective function SAEMOBJ that is displayed during SAEM analysis is not valid for assessing minimization or for hypothesis testing. It is highly stochastic, and does not represent a marginal likelihood that is integrated over all possible e

Re: [NMusers] A problem with numerical integration difficulties for a complex model

2017-01-05 Thread Leonid Gibiansky
I think it would help if you provide the code and the reference and the sample data set: some published papers contain typos, so it is hard to give a general advice based on limited information Thanks Leonid On 1/5/2017 10:44 AM, Zhu, Penny wrote: Dear Ankekatrin, Jeroen and Sam Many thanks

Re: [NMusers] residual variability

2016-09-29 Thread Leonid Gibiansky
the modeling Thanks, Abdullah *From:* Leonid Gibiansky *Sent:* Tuesday, September 27, 2016 5:49:00 PM *To:* Sultan,Abdullah S; nmusers@globomaxnm.com *Subject:* Re: [NMusers] residual variability Abdullah, Do you have

Re: [NMusers] residual variability

2016-09-27 Thread Leonid Gibiansky
Abdullah, Do you have random effect on the lag time? Models with random effects on the lag time are very difficult to work with, try to remove the lag and use the transit compartment(s) to describe the delay. Make sure you have INTERACTION option on the estimation step, use METHOD=1. Sometimes

Re: AW: [NMusers] IMP and parallelisation

2016-09-20 Thread Leonid Gibiansky
not solve the issue. We will further evaluate if the information from all nodes is used for the population update. Any further hints are highly welcome Best Dirk -Ursprüngliche Nachricht- Von: Leonid Gibiansky [mailto:lgibian...@quantpharm.com] Gesendet: Montag, 19. September 2016 22:2

  1   2   3   4   >