Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

sbionlmefit - Estimate nonlinear mixed effects using SimBiology models

Syntax

results = sbionlmefit(modelObj, modelMapObject, pkDataObject, Beta0)
results = sbionlmefit(modelObj, modelMapObject, pkDataObject, Beta0, ...)
... = sbionlmefit(..., optionstruc)
[results, SimDataI, SimDataP] = sbionlmefit(...)

Arguments

Input Arguments

modelObjectSimBiology model object used to fit observed data.
modelMapObjectPKModelMap object that defines the roles of the model components used for estimation.

For more information, see PKModelMap object.

pkDataObjectPKData object that defines the data to use in fitting and the roles of the columns used for estimation. pkDataObject must define target data for at least two groups.

For more information, see PKData object.

Beta0A vector of initial estimates for the fixed effects. The length of Beta0 must equal modelMapObject.Estimated if you are not defining any additional covariates. The final estimates for the fixed and random effects for these parameters are log-transformed in the results.

For more information on specifying initial estimates see Setting Initial Estimates in the SimBiology User's Guide.

Output Arguments

resultsA structure with the following fields:
  • beta — Log-transformed estimates for the fixed effects

  • psi — Estimated covariance matrix of the random effects

  • stats — Structure with statistics such as AIC, BIC.

    For a complete list, refer to nlmefit in the Statistics Toolbox User's Guide.

  • b — Log-transformed estimates of the random effects for each group in pkDataObject.

SimDataISimDataI contains the data from simulating the model using the estimated parameter values, for individuals.
SimDataPSimDataP contains the data from simulating the model using the estimated parameter values, for the population.

Description

results = sbionlmefit(modelObj, modelMapObject, pkDataObject, Beta0) performs nonlinear mixed effects estimation using the SimBiology model, modelObj and returns estimated results in the results structure.

results = sbionlmefit(modelObj, modelMapObject, pkDataObject, Beta0, ...) lets you supply additional arguments accepted by nlmefit. Use the FEGroupDesign property to specify the design matrix for each of the groups. See Specifying the Covariate Model in the SimBiology User's Guide documentation.

sbionlmefit does not support the following arguments:

... = sbionlmefit(..., optionstruc) where the optionstruc is a struct that can contain fields and values where the field names are the parameter-names accepted by nlmefit and the field values are the associated parameter-values. SimBiology software contains a function (sbiofitstatusplot) that you can specify in the options structure. This function lets you monitor the status of fitting.

See nlmefit in the Statistics Toolbox User's Guide documentation for information on the accepted properties.

[results, SimDataI, SimDataP] = sbionlmefit(...) returns simulation data of the SimBiology model, modelObj, using the estimated values of the parameters.

See Also

Fitting Pharmacokinetic Model Parameters at the Command Line in the SimBiology User's Guide, PKData object, PKModelDesign object, PKModelMap object, Model object, sbionlinfit, sbiofitstatusplotnlmefit in the Statistics Toolbox User's Guide

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS