A new release of Pumas is now available. You can find a link to the latest version at our download page. The new version we release is v1.1. This is a feature release that is fully backward compatible with older versions of Pumas. If something no longer works as it did in previous versions, please report the issue here on this forum.
Release Notes for Pumas v1.1.0
Features and improvements
- Adjusted several error messages have been improved to better guides users to correct mistakes in input data
- Add MAP (Maximum a Posteriori) estimation using the
MAP
type. -
infer
now accepts a second positional argumentPumas.Bootstrap()
orPumas.SIR()
to calculate standard errors using either bootstrap or Sampling Importance Resampling (SIR). -
Censored
andTruncated
types can now be used to handle incomplete data such as datasets with observations below the limit of quantification (BLQ) when fitting with theLaplaceI
likelihood approximation. - Make asymptotic variance-covariance matrix calculations multithreaded for faster
infer
,vcov
andstderror
calculations. - Add progress meters to
infer
to help assess the time left in the calculations. - Add a returncode to
SimulatedObservation
s returned fromsimobs
to allow for some simulated subjects to fail due to extreme random effects without losing all other simulated subjects because an error is thrown - When multiple dependent variables are present
inspect
andwresiduals
now returns weighted residuals for all variables with aNormal
distribution and ignores other types of variables. - Expose the
target_accept
keyword forBayesMCMC
inference to allow users to fine-tune the target acceptance rate to their problem - Implement a compact
show
method forSubject
andEvent
for improved printing ofDataFrame
s. - VPC plots now clearly indicate in the title what variable is being stratified on
Bugfixes
- When a parameter was found to be potentially unidentified it would sometimes report the wrong parameters when matrix domains
PDiagDomain
andPSDDomain
were used. - When simulating subjects with
simobs
and a vector of parameters the subjects and parameters were incorrectly combined. -
read_pumas
did not correctly error ifevid
was 1 andamt
was missing - A PumasModel could not be defined and used inside a function
- It was unintentionally possible to use
~
in the@observed
block and right-hand sides=
in the same block could be distributions. - Variables from the
@vars
block were not available in@dynamics
if the PumasModel had no@derived
or@observed
blocks defined - Printing the results of a
fit
would throw an error if a parameter had becomeNaN
-
amt
would not be set tomissing
when constructing aSubject
from aSimulatedSubject
- Evaluating the
@derived
block would sometimes allocate too much memory when no covariates were present in the model - When multiple dose events were present and NCA variables were calculated in the
@derived
or@observed
block theDataFrame
constructor would incorrectly tabulate the NCA variables when called on aSimulatedSubject
-
vpc
would throwLAPACKException(2)
when the selected bandwidth was too small instead of calculating the well-defined unsmoothed VPC. - Dose control parameters would not be correctly promoted to the appropriate types in all cases leading to errors thrown from the automatic differentiation code.
- Using reset and reset and dose events (evid 3 and 4) would sometimes throw an error if the same times after dose were present more than once.
- The
DataFrame
constructor would throw an error if called on the results ofpredict
if the keywordobstimes
was different than the observed times in the subjects. - Fix a corner case where
wresiduals
would fail if a proportional error model had an observation at time 0.
Compatability
- NCA supported up to v1.0.2
- QuantileRegressions v0.1.4 now used in Pumas
- No longer depend on Query for tests