Skip to content

saemix 3.0

Latest
Compare
Choose a tag to compare
@ecomets ecomets released this 08 Feb 16:39
· 4 commits to main since this release
030ffeb

Version 3.0 - February 2022

o Extension to noncontinuous data models

  • New argument in saemixModel to differentiate between continuous (modelType = "structural") and noncontinuous (modelType = "likelihood")
  • New examples have been included in the package to showcase discrete response models (see the userguide for more information on lung.saemix, toenail.saemix, knee.saemix, rapi.saemix)

o Verbosity

  • displayProgress is now set to FALSE by default, which suppresses the convergence plots previously shown during the fit
  • running saemix, as well as obtaining diagnostic plots, has been made much more silent by suppressing most messages and warnings unless the user explicitely requests a verbose output (usually by passing a verbose=TRUE argument to functions such as plot)

o Plot functions for models

  • the predictions of a model over a range of X-values can be plotted for the starting values of the parameters or for a set of selected values
  • an SaemixModel object can also be combined with an SaemixData object to plot the predictions corresponding to the design in the data object
  • both these functions can be used to check the starting values before a fit

o Updated user guide (PDF)

o Covariate model building

  • new statistical criterion taking into account the fixed or random nature of estimated parameters in the weighting of the BIC (element BIC.covariate in the results component of a fitted object) [Delattre et al. 2014]
  • compare.saemix function to compare several saemix fitted objects
  • automated covariate selection via backward, forward and stepwise algorithms

o Bugfixes

  • the number of iterations with simulated annealing set by default has been corrected. It should have been equal to K1/2 where K1 is the first element of the vector nb.saemix in the list of options, but in the previous version it was incorrectly set to K1. This has now been corrected.
  • the definition of ypred/ppred had been mixed up in 2.4, in 3.0 we clarified the two types of population predictions as ppred=f(E(psi)), ie the predictions obtained for the population parameters (taking into account individual covariates) and ypred=E(f(psi)), ie the expectation of the predictions over the population. Both types of population predictions should be close in most applications but please update your codes depending on which definition you prefer (note: WRES are still computed using ypred in saemix for consistency with the use of the empirical variance-covariance matrix in their definition)

o Changes

  • function simul.saemix has been renamed simulate.saemix

o Dependencies

  • saemix now depends on npde (3.2), ggplot2, grid and gridExtra