random
Class: NonLinearModel
Simulate responses for nonlinear regression model
Syntax
ysim = random(mdl)
ysim = random(mdl,Xnew)
ysim = random(mdl,Xnew,'Weights',W)
Description
simulates
responses from the fitted nonlinear model ysim
= random(mdl
)mdl
at
the original design points.
simulates
responses from the fitted nonlinear model ysim
= random(mdl
,Xnew
)mdl
to
the data in Xnew
, adding random noise.
simulates
responses using the observation weights, ysim
= random(mdl
,Xnew
,'Weights',W
)W
.
Input Arguments
|
Nonlinear regression model, constructed by |
|
Points at which
|
|
Vector of real, positive value weights or a function handle.
Given weights, Default: No weights |
Output Arguments
|
Vector of predicted mean values at |
Examples
Alternatives
For predictions without added noise, use predict
.