sbionlmefitsa
Estimate nonlinear mixed effects with stochastic EM algorithm (requires Statistics and Machine Learning Toolbox software)
sbionlmefitsa
will be removed in a future release. Use sbiofitmixed
instead.
Syntax
results
= sbionlmefitsa(modelObj
, pkModelMapObject
, pkDataObject
, InitEstimates
)
results
= sbionlmefitsa(modelObj
, pkModelMapObject
, pkDataObject
, CovModelObj
)
results
= sbionlmefitsa(..., Name,Value
)
results
= sbionlmefitsa(..., optionStruct
)
[results
, SimDataI
, SimDataP
]
= sbionlmefitsa(...)
Description
performs estimations using the Stochastic Approximation Expectation-Maximization (SAEM)
algorithm for fitting population data with the SimBiology® model, results
= sbionlmefitsa(modelObj
, pkModelMapObject
, pkDataObject
, InitEstimates
)modelObj
, and returns the estimated
results in the results
structure.
specifies the relationship between parameters and covariates using
results
= sbionlmefitsa(modelObj
, pkModelMapObject
, pkDataObject
, CovModelObj
)CovModelObj
, a CovariateModel
object.
The CovariateModel
object also provides the parameter
transformation.
performs estimations using the SAEM algorithm, with additional options specified by one
or more results
= sbionlmefitsa(..., Name,Value
)Name,Value
pair arguments.
Following is an alternative to the previous syntax:
specifies results
= sbionlmefitsa(..., optionStruct
)optionStruct
, a structure containing fields and
values, that are the name-value pair arguments accepted by nlmefitsa
.
The defaults for optionStruct
are the same as the defaults
for the name-value pair arguments used by nlmefitsa
, with the
exceptions explained in Input Arguments.
[
returns simulation data of the SimBiology model, results
, SimDataI
, SimDataP
]
= sbionlmefitsa(...)modelObj
, using the estimated values of
the parameters.
Input Arguments
|
SimBiology model object used to fit observed data. |
|
Note If using a |
|
Note For each subset of data belonging to a single group (as defined in the
data column specified by the
|
|
Vector of initial estimates for the fixed effects. The first
|
|
|
|
Structure containing fields and values that are name-value pair arguments
accepted by the If you have Parallel Computing Toolbox™, you can enable parallel computing for faster data fitting by
setting the name-value pair argument parpool; % Open a parpool for parallel computing opt = statset(...,'UseParallel',true); % Enable parallel computing results = sbionlmefitsa(...,'Options',opt); % Perform data fitting Tip SimBiology software includes the |
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
The sbionlmefitsa
function uses the name-value pair arguments
supported by the nlmefitsa
function.
These nlmefitsa
name-value pair arguments are hard-coded in
sbionlmefitsa
, and therefore, you cannot set them:
FEParamsSelect
FEConstDesign
FEGroupDesign
FEObsDesign
REConstDesign
REGroupDesign
REObsDesign
Vectorization
If you provide a CovariateModel
object as input to
sbionlmefitsa
, then these nlmefitsa
name-value pairs are computed from the covariate model, and therefore, you cannot
set them:
FEGroupDesign
ParamTransform
REParamsSelect
You can set all other nlmefitsa
name-value pair arguments.
For details on these arguments, see the nlmefitsa
(Statistics and Machine Learning Toolbox) reference page.
Be aware that the defaults for these nlmefitsa
name-value
pair arguments differ when used by sbionlmefitsa
:
|
Numeric array specifying the design matrix for each group. Default: |
|
Vector of integers specifying how the parameters are distributed. Note Do not use the Default: Vector of ones, which specifies all parameters are log transformed. |
|
Character vector specifying the optimization function used in maximizing the likelihood. Default: |
|
Structure containing multiple fields, including
Default: The default for |
Tip
SimBiology software includes the sbiofitstatusplot
function, which
you can specify in the OutputFcn
field of the
Options
name-value pair input argument. This function
lets you monitor the status of fitting.
Output Arguments
|
Structure containing these fields:
|
|
|
|
|
Version History
Introduced in R2010a
See Also
Model object
| nlmefitsa
(Statistics and Machine Learning Toolbox) | PKData object
| SimData object
| PKModelDesign object
| PKModelMap object
| sbiofitstatusplot
| sbionlinfit
| sbionlmefit