FGLMtrunc fitted modelThis function returns truncated estimate of linear predictors, fitted values, and functional parameter \(\beta\)
for a fitted FGLMtrunc object.
# S3 method for FGLMtrunc
predict(
object,
newX.curves,
newS = NULL,
type = c("link", "response", "coefficients"),
...
)Predictions depends on chosen type.
fitted FGLMtrunc object
Matrix of new values for functional predictors X.curves.
Matrix of new values for scalar predictors S.
Type of prediction. For logistic regression (family = "binomial"), type="link" gives the linear
predictors, which is log-odds, and type="response" gives the predicted probabilities.
For linear regression (family = "gaussian"), both type="link" and type="response" give fitted values.
For both linear regression and logistic regression, type="coefficients" gives truncated estimate of functional parameter \(\beta\).
additional predict arguments (Not applicable for FGLMtrunc)