Predict method for fcr
# S3 method for fcr
predict(object, newdata, type = "link", ...)
object of class fcr.
data frame including all predictors used in the model fitting procedure. missing values for the responses are OK. Missing covariate values will result in pairwise deletion with a warning message.
defaults to link (i.e. response). See predict.gam
for additional information.
additional arguments to be passed to predict.gam
An object containing two elements
Predictions corresponding to dynamic predictions (i.e. subject ids not included in the original fitting).
Note that these predictions are slower and do not incorporate the estimated covariance between random effects and fixed effects in making
predictions. This is different than the in sample predictions which account for this estimated covariance. See predict.gam
for more information.
fitted.values
y.pred fitted \(\hat{y}\)
se.fit standard errors used to create confidence intervals for \(\hat{y}\), \(\sqrt{var(y)}\)
se.fit.p standard errors used for creating prediction intervals for \(\hat{y}\), \(\sqrt{var(y) + \hat{\sigma^2}}\)
random subject specific random effects \(b_i\)
scores matrix of BLUPs for subjects' eigenscores
data newdata supplied to the function
Predictions for subject ids included in the original fitting. This returns all output from the relevant
predict.gam
/predict.bam
call.
# NOT RUN {
## see examples in fcr
# }
Run the code above in your browser using DataLab