Output predicted response values for new observations.
# S3 method for GEInfo
predict(object, Enew, Gnew, family, ...)A fitted "GEInfo" model object for which prediction is desired.
Matrix of dimensions \(n_test x q\) for E variables at which predictions are to be made.
Matrix of dimensions \(n_test x p\)for G variables at which predictions are to be made.
Model type: one of ("gaussian", "binomial", "poisson").
Other arguments.
Return a vector of length \(n_test\), representing the fitted response value. For family= <U+201C>gaussian<U+201D>, the fitted values are returned; for family = <U+201C>binary<U+201D>, the fitted probabilities are returned; for family = <U+201C>poisson<U+201D>, the fitted means are returned.