Make predictions from FGLMtrunc fitted model
predict.FGLMtrunc.RdThis function returns truncated estimate of linear predictors, fitted values, and functional parameter \(\beta\)
for a fitted FGLMtrunc object.
Arguments
- object
fitted
FGLMtruncobject- newX.curves
Matrix of new values for functional predictors
X.curves.- newS
Matrix of new values for scalar predictors
S.- type
Type of prediction. For logistic regression (
family = "binomial"),type="link"gives the linear predictors, which is log-odds, andtype="response"gives the predicted probabilities. For linear regression (family = "gaussian"), bothtype="link"andtype="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)