Learn R Programming

⚠️There's a newer version (3.3) of this package.Take me there.

saemix (version 2.4)

Stochastic Approximation Expectation Maximization (SAEM) Algorithm

Description

The SAEMIX package implements the Stochastic Approximation EM algorithm for parameter estimation in (non)linear mixed effects models. The SAEM algorithm: - computes the maximum likelihood estimator of the population parameters, without any approximation of the model (linearisation, quadrature approximation,...), using the Stochastic Approximation Expectation Maximization (SAEM) algorithm, - provides standard errors for the maximum likelihood estimator - estimates the conditional modes, the conditional means and the conditional standard deviations of the individual parameters, using the Hastings-Metropolis algorithm. Several applications of SAEM in agronomy, animal breeding and PKPD analysis have been published by members of the Monolix group. Documentation about 'saemix' is provided by a comprehensive user guide in the inst folder, and a reference concerning the methods is the paper by Comets, Lavenu and Lavielle (2017, ). See 'citation("saemix")' for details.

Copy Link

Version

Install

install.packages('saemix')

Monthly Downloads

556

Version

2.4

License

GPL (>= 2)

Maintainer

Emmanuelle Comets

Last Published

February 23rd, 2021

Functions in saemix (2.4)

default.saemix.plots

Wrapper functions to produce certain sets of default plots
coef.saemix

Extract coefficients from a saemix fit
kurtosis

Kurtosis
cow.saemix

Evolution of the weight of 560 cows, in SAEM format
PD1.saemix

Data simulated according to an Emax response model, in SAEM format
SaemixModel-class

Class "SaemixModel"
conddist.saemix

Estimate conditional mean and variance of individual parameters using the MCMC algorithm
SaemixRes-class

Class "SaemixRes"
SaemixObject-class

Class "SaemixObject"
createSaemixObject

Create saemix objects with only data filled in
map.saemix

Estimates of the individual parameters (conditional mode)
SaemixData-class

Class "SaemixData"
logLik

Extract likelihood from a saemixObject resulting from a call to saemix
oxboys.saemix

Heights of Boys in Oxford
llis.saemix

Log-likelihood using Importance Sampling
mydiag

Matrix diagonal
plot-methods

Methods for Function plot
predict-methods

Methods for Function predict
llgq.saemix

Log-likelihood using Gaussian Quadrature
saemix.plot.data

Functions implementing each type of plot in SAEM
saemix.internal

Internal saemix objects
fim.saemix

Computes the Fisher Information Matrix by linearisation
subset.SaemixData

Data subsetting
[

Get/set methods for SaemixData object
plot,SaemixModel-method

Plot model predictions using an SaemixModel object
fitted.saemix

Extract Model Predictions
resid.saemix

Extract Model Residuals
plot,SaemixObject-method

General plot function from SAEM
initialize-methods

Methods for Function initialize
saemix

Stochastic Approximation Expectation Maximization (SAEM) algorithm
saemixData

Function to create a SaemixData object
plot,SaemixData-method

Plot of longitudinal data
saemixModel

Function to create a SaemixModel object
print-methods

Methods for Function print
summary-methods

Methods for Function summary
showall-methods

Methods for Function showall
simul.saemix

Perform simulations under the model
saemix.plot.setoptions

Function setting the default options for the plots in SAEM
transformCatCov

Transform covariates
[,SaemixModel-method

Get/set methods for SaemixModel object
saemix.plot.select

Plots of the results obtained by SAEM
psi-methods

Functions to extract the individual estimates of the parameters and random effects
saemixpredict.newdata

Predictions for a new dataset
transformContCov

Transform covariates
skewness

Skewness
read-methods

Methods for Function read
yield.saemix

Wheat yield in crops treated with fertiliser, in SAEM format
show-methods

Methods for Function show
saemix.predict

Compute model predictions after an saemix fit
vcov

Extracts the Variance-Covariance Matrix for a Fitted Model Object
[,SaemixRes-method

Get/set methods for SaemixRes object
saemixControl

List of options for running the algorithm SAEM
validate.names

Name validation (## )Helper function not intended to be called by the user)
replaceData

Replace the data element in a SaemixObject object
[,SaemixObject-method

Get/set methods for SaemixObject object
theo.saemix

Pharmacokinetics of theophylline
testnpde

Tests for normalised prediction distribution errors