predict.GEInfo {GEInfo} | R Documentation |
Make Predictions for a fitted model
Description
Output predicted response values for new observations.
Usage
## S3 method for class 'GEInfo'
predict(object, Enew, Gnew, family, ...)
Arguments
object |
A fitted "GEInfo" model object for which prediction is desired. |
Enew |
Matrix of dimensions |
Gnew |
Matrix of dimensions |
family |
Model type: one of ("gaussian", "binomial", "poisson"). |
... |
Other arguments. |
Value
Return a vector of length n_test
, representing the fitted response value. For family= “gaussian”, the fitted values are returned;
for family = “binary”, the fitted probabilities are returned;
for family = “poisson”, the fitted means are returned.
[Package GEInfo version 1.0 Index]