Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

sbionlinfit - Nonlinear least-squares regression using SimBiology models

Syntax

results = sbionlinfit(modelObj, modelMapObject, pkDataObj, Beta0)
results = sbionlinfit(modelObj, modelMapObject, pkDataObj, Beta0, ...)
[results, SimDataI] = sbionlinfit(...)

Arguments

Input Arguments

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

For more information, see PKModelMap object.

pkDataObjPKData object that defines the data to use in fitting, and the roles of the data columns used for estimation.

For more information, see PKData object.

Beta0A vector of initial estimates for the fixed effects. The length of Beta0 must equal at least the length of modelMapObject.Estimated. The final estimates for the fixed effects defined in Beta0 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 — Fitted coefficients

  • R — Residuals

  • J — Jacobian of the model

  • COVB — Estimated covariance matrix for the fitted coefficients

  • mse — Estimate of the error of the variance term

SimDataISimDataI contains simulation results for individuals.

Description

results = sbionlinfit(modelObj, modelMapObject, pkDataObj, Beta0) performs least-squares regression using the SimBiology model, modelObj and returns estimated results in the results structure.

results = sbionlinfit(modelObj, modelMapObject, pkDataObj, Beta0, ...) lets you supply additional arguments accepted by nlinfit. See nlinfit in the Statistics Toolbox User's Guide for information on the accepted properties.

[results, SimDataI] = sbionlinfit(...) returns simulations of the SimBiology model, modelObj, using the estimated values of the parameters.

See Also

SimBiology User's Guide, PKData object, PKModelDesign object, PKModelMap object, Model object, sbionlmefit, nlinfit 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