Predict response of generalized linear regression model
ypred = predict(mdl,Xnew)
[ypred,yci]
= predict(mdl,Xnew)
[ypred,yci]
= predict(mdl,Xnew,Name,Value)
returns
the predicted response of the ypred
= predict(mdl
,Xnew
)mdl
generalized linear
regression model to the points in Xnew
.
[
returns
confidence intervals for the true mean responses.ypred
,yci
]
= predict(mdl
,Xnew
)
[
predicts
responses with additional options specified by one or more ypred
,yci
]
= predict(mdl
,Xnew
,Name,Value
)Name,Value
pair
arguments.

Generalized linear model, specified as a full 

Points at which

Specify optional
commaseparated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.

Positive scalar from Default: 

Value of the binomial n parameter for each
row in the training data. Default: 

Value of the offset for each row in
Default: 

Logical value specifying whether the confidence bounds are for
all predictor values simultaneously ( For details, see Default: 

Vector of predicted mean values at 

Confidence intervals, a twocolumn matrix with each row providing one interval. The meaning of the confidence interval depends on the settings of the namevalue pairs. 
feval
returns the same predictions, but uses separate input arrays for
each predictor, instead of one input array containing all predictors.
random
returns predictions with added noise.
CompactGeneralizedLinearModel
 GeneralizedLinearModel
 fitglm
 random