Releases: nlmixr2/nlmixr2est
v3.0.2
-
Fix bug where models where omega boundary warnings caused problems
in estimation (#490) -
Created a new api for pre-processing ui, allowing adding arbitrary
hooks. As written now, this includes literal fix and zero omega as
well as added the new rxode2 ui processing. -
Fixed compilation to only use -I in most systems for maximum
compatibility
What's Changed
- Rebuild README.md by @billdenney in #487
- match arguments for addProp by @mattfidler in #489
- Add fix for boundaries outside of theta values by @mattfidler in #491
- Add more information to the model preprocessing by @mattfidler in #494
- Create an API for pre-processing model, data, est, control by @mattfidler in #495
Full Changelog: v3.0.1...v3.0.2
v3.0.1
nlmixr2est 3.0.1
New features
-
Now when optimizing only a single parameter with
focei
-family,
will change to usestats::optimize()
for the outer problem (#481) -
When estimating with all fixed population parameters, do a posthoc
estimation. -
Internally removed
assignInMyNamespace()
replacing with
nlmixr2global
, which fixes some edge case bugs where the nlmixr2
environment was not reset properly. -
Treated edge case where all initial parameters are zero and change
scaling from scaled to unscaled (#486) -
Added
mu
4 referencing that will change string expressions to
rxode2
numeric values. This allows derived strings to also be
treated asmu
expressions (#484)
Bug Fixes
- Fix
focei
covariance step when manyomega
values are fixed #482
v3.0.0
nlmixr2est 3.0.0
-
No binary linking to
rxode2
,lbfgsb3c
andn1q1
, which means
that updating these will not makenlmixr2est
crash without
recompiling. -
New
mu
3 referencing will take context from the model to see if the
algebraic expression can be completed from defined model variables;
These variable would have to be unique.
What's Changed
- 451 one rxode2 no longer any sub packages except rxode2ll by @mattfidler in #452
- As observed by
babelmixr2
sometimes the ui is not present; handle this by @mattfidler in #457 - Error in
saem
code generation when all fixed effect parameters are fixed by @mattfidler in #461 - Invalid index warning in nlmixr2 fits by @mattfidler in #463
- It is no longer there. I will add it back. by @mattfidler in #460
- Warnings suppressed when using
nlmixr2
with "rxSolve" estimation method. by @mattfidler in #453 - All models created by nlmixr2 should add the model based interpolation (and any other properties) when building other sorts of models by @mattfidler in #456
- tableControl() incompatible options should error with addDosing items by @mattfidler in #464
- Read relevant
tableControl()
options fromnlmixr2
and overridecontrol=rxControl()
by @mattfidler in #465 - Use lotri nearPD by @mattfidler in #467
- Don't give a warning or error when eta values are NULL or not estimated by @billdenney in #469
- Stop requiring binary linkage by @mattfidler in #466
- Remove abi linkage to lbfgsb3c by @mattfidler in #472
- Add support for
levels()
by @mattfidler in #474 - Move out PopED by @mattfidler in #476
- Minimum session information by @mattfidler in #480
mu
referencing based on derived variables by @mattfidler in #478
Full Changelog: v2.2.2...v3.0.0
v2.2.2
Breaking changes
-
Saem non-mu reference input parameters/covariates were fixed so they
work correctly with fixed parameters (Issue #445) -
Focei changed back to having a lower bound for standard deviations
when not specified. This means that best model fits may change. You
can revert to the old settings by using
foceiControl(sdLowerFact=0.0)
. You can also change the factors to
other values than the default value, that is
foceiControl(sdLowerFact=0.000001)
for instance which would
multiply the initial value by0.000001
when either the lower bound
isn't specified or the lower bound is specified as zero for the
error estimates related to error-based standard deviations. -
In
nlmixr2
, expressions are optimized. Because of that
optimization, numerical rounding differences can cause different
directions in optimization when fixing parameters in the model
vs. fixing the parameters manually.This means that the fixed parameters in a model vs hard-coded fixed
parameters could give different values in the final model.A new option
literalFix
was introduced which change the fixed
population parameters to constants in the model while running the
optimization. This makes the output of fixing within the model and
fixing manually the same (which is what is likely expected). The
default is for this to be turned on (ie.literalFix=TRUE
). You
can get back the old behavior by using the option
literalFix=FALSE
. -
In
saem
, the monte-carlo sampling occurs for all parameters
including non-informative ETAs. A fix ensure that non-informative
etas insaem
are fixed to zero while sampling thephi
values.
This may change results for models with uninformative etas. To
ignore the uninformative etas withsaem
you ca use use the prior
saem
handling withsaemControl(handleUninformativeEtas=FALSE)
.
New features
-
Gracefully degrade when $cov is not in the right form (see #423)
-
Add support for PopED in place solving (used in babelmixr2)
-
If
est=foceiControl()
or other nlmixr2 control with the class
foceiControl
infer the estimation method isfocei
What's Changed
- No lin b by @mattfidler in #417
- 423 assertion on env$cov failed must be of type matrix not character should gracefully degrade and produce a captured warning by @mattfidler in #425
- fix checkmate assertions by @mattfidler in #426
- Add predict estimation method and test it is the same as predict() by @mattfidler in #437
- 427 single solver per pre loaded by @mattfidler in #430
- Warfarin rik by @mattfidler in #438
- Literal fix by @mattfidler in #439
- amt and evid need to be missing for evid imputation by @mattfidler in #441
- 442 test for uninformative etas by @mattfidler in #444
Full Changelog: v2.2.1...v2.2.2
v2.2.1
nlmixr2est 2.2.1
- Align with the possibility that linCmt sensitivities may not be
present (like intel c++)
Bug fix
focei
cache needs to be based on the parameter order as well as
the model information (#415)
What's Changed
- 415 nlmixr2est focei needs to cache based on thetaomega order by @mattfidler in #416
Full Changelog: v2.2.0...v2.2.1
v2.2.0
New Features
-
Algebraic mu referencing has been implemented in
nlme
andsaem
. -
New estimation method "nlm" has been added to estimate population
only likelihoods usingstats::nlm
and possibly return a
standardizednlmixr2
fit. -
New estimation method "nls" has been added to estimate population
only problems. This usesminpack.lm::nlsNM
by default if
present, or thestats::nls
-
New estimation method "optim" has been added to estimate population
only likelihoods. This usesstats::optim
and returns a
standardizednlmixr2
fit. -
New estimation method "nlminb" has been added to estimate population
only likelihoods. This usesstats::nlminb
and returns a
standardizednlmixr2
fit. -
New estimation methods from the
minqa
package: "bobyqa", "uobyqa"
and "newuoa" have been added to estimate population only
likelihoods. These methods returns a standardizednlmixr2
fit. -
New estimation method "lbfgsb3c" to estimate population only
likelihoods. This returns a standardizednlmixr2
fit. -
New estimation method "n1qn1" to estimate population only
likelihoods. This returns a standardizednlmixr2
fit. -
Added new feature for
vpcSim()
where a minimum number of subjects
are simulated from the model when trying to fill in ODEs that were
not solved successfully. By default this is10
. This also
works-around a bug when there is only one subject simulated and the
data.frame
has a slightly different output.
Breaking changes
-
Removed
fit$saemTransformedData
since it isn't actually used in
saem
anymore (but will break anyone's code who is using it) -
Now the internal function
.foceiPreProcessData()
requires the
rxode2 controlrxControl()
because some of the new steady state
lag features need to translate the data differently based on
rxControl()
options.
Bug fixes
-
Printing models with correlated omega values and omega values fixed
to zero no longer fails (#359) -
Add back values for $parHistData (#368)
-
This requires a new
rxode2
which will fix multiple endpoint issues observed (#394) -
Manual back-transformed values in
$parFixed
are now displaying
correctly and are calculated based on the confidence interval in the
control instead of 95% confidence no matter what (#397)
Other changes
- An
as.rxUi()
method was added for fit models (#377)
What's Changed
- Add mu2 processing by @mattfidler in #354
- Fix #359 by @billdenney in #360
- Return fit without table if table step fails by @mattfidler in #364
- Fix 366 by @billdenney in #367
- Only keep $parHistData and calc $parHist and $parHistStacked by @mattfidler in #370
- Clarify keep argument to vpcSim() by @billdenney in #380
- Quieter compile by @billdenney in #381
- 376 make sure and test that fit$eta are non zero by @mattfidler in #383
- With a zero gradient always reset by @mattfidler in #384
- 387 sslag ettrans rxcontrol update by @mattfidler in #388
- 394 error drugmetabolite modeing after zero oder absorption by @mattfidler in #395
- V2.1.7 by @mattfidler in #396
- Fix for #397, needs test still by @mattfidler in #398
- add as.rxUi() method for fit objects by @billdenney in #378
- V2.1.8 by @mattfidler in #401
- 402 nlm by @mattfidler in #403
- 404 nls by @mattfidler in #405
- 406 optim by @mattfidler in #407
- Fix lbfgsb3c documentation by @mattfidler in #408
- Udf by @mattfidler in #409
- 411 cran requests by @mattfidler in #413
Full Changelog: v2.1.8...v2.2.0
v2.1.8
nlmixr2est 2.1.8
- Version bump and a minor documentation update (same as nlmixr2est
2.1.7). This version bump is to simply allow correct binary linkage
to rxode2 2.0.14. Otherwisenlmixr2
models will crash R.
nlmixr2est 2.1.7
-
As requested by CRAN, remove
Rvmmin
-
Values in
$parFixed
for BSV without exponential transformation are now
correctly shown (#366)
v2.1.7
v2.1.6
Breaking changes
- Since
rxode2
now allows simulation withomega
having diagonal
zero elements,$omega
and$omegaR
now reflects this information
including the zero omega elements in the output. On the other hand,
the other eta-information and standard error information for zero
etas are still excluded in$phiR
,$phiSE
,$eta
etc.
Bug fixes
-
vpcSim()
works when an eta value is fixed to 0 (#341) -
augPred()
now consistently uses the simulation model (instead of
the inner model used forCWRES
calculation).
What's Changed
- Add mu ref fix by @mattfidler in #338
- Make addCwres() error clearer for model with no etas by @billdenney in #340
- Update documentation to link parts together (and some minor code formatting changes) by @billdenney in #345
- vpcSim works with etas set to 0 by @billdenney in #342
- Warn on time-varying covariate changes by @mattfidler in #349
- Adds documentation for the nlmixr2 object by @john-harrold in #351
- Aug pred fix by @mattfidler in #352
New Contributors
- @john-harrold made their first contribution in #351
Full Changelog: v2.1.5...v2.1.6
v2.1.5
-
Add
$fitMergeFull
,$fitMergInner
,$fitMergeLeft
,
$fitMergeRight
as a complement to$dataMergeFull
,
$dataMergInner
,$dataMergeLeft
,$dataMergeRight
. The fit
variants prefer columns in the fit dataset instead of the original
dataset. This is useful for goodness of fit plots with censoring
since theDV
in the fit simulates values under the ipred/residual
assumption and will give more appropriate goodness of fits,
otherwise these values are the limit of whatever censoring is
applied -
Moved the mu reference fix for the split mu referenced model here
(from babelmixr2)
What's Changed
- Add simulation method by @mattfidler in #333
- 335 for $datamerge family prefer fit object instead of original data by @mattfidler in #336
Full Changelog: v2.1.4...v2.1.5