sbiofitstatusplot
Plot status of nonlinear mixed-effects estimation
Syntax
stop = sbiofitstatusplot(
beta
, status
, state
)
stop = sbiofitstatusplot(beta
, status
, state
, fenames
)
Description
stop = sbiofitstatusplot(
initializes
or updates a plot with the fixed effects, beta
, status
, state
)beta
,
the log likelihood status
.fval
,
and the variance of the random effects, diag
(status
.Psi
).
The function returns an output (stop
) to
satisfy requirements for the 'OutputFcn'
option
of nlmefit
or nlmefitsa
. For sbiofitstatusplot
,
the value of stop
is always false
.
stop = sbiofitstatusplot(
specifies the names for the fixed-effects beta
, status
, state
, fenames
)fenames
.
Use sbiofitstatusplot
to obtain status information about NLME fitting when
using the sbiofitmixed
function. Specify
@sbiofitstatusplot
for the 'OutputFcn'
field
of a statset
option structure and then pass in the structure as an
input argument to sbiofitmixed
.
Alternatively, you can set the 'ProgressPlot'
name-value pair
argument to true
when you run sbiofitmixed
. The
function sbiofitmixed
then calls
sbiofitstatusplot
at each function iteration. For details, see
Progress Plot.
Input Arguments
|
Current fixed effects |
|
Structure containing several fields
|
|
Either |
|
Character vector, string, string vector, or cell array of character vectors specifying the names of fixed effects |
Examples
Obtain status information for NLME fitting:
% Create a statset option with 'OutputFcn'. fitOptions.Options = statset('OutputFcn',@sbiofitstatusplot); % Pass the structure to sbiofitmixed function. results = sbiofitmixed(..., fitOptions);
More About
Version History
Introduced in R2009b
See Also
sbiofitmixed
| nlmefit
(Statistics and Machine Learning Toolbox) | sbionlinfit
| sbionlmefit
| sbionlmefitsa