S3 predict method for object of class ffm.
# S3 method for ffm
predict(object, newdata = NULL, pred.date = NULL, ...)predict.ffm produces a N x T matrix of predicted asset returns, where
T is the number of time periods and N is the number of assets. T=1 if
pred.date is specified.
an object of class ffm produced by fitFfm.
data.frame containing the variables asset.var,
date.var and the same exact exposure.vars used in the fitted
ffm object. If omitted, the predictions are based on the data used
for the fit.
character; unique date used to base the predictions. Should
be coercible to class Date and match one of the dates in the data used
in the fiited object.
optional arguments passed to predict.lm or
predict.lmrob.
Sangeetha Srinivasan
The estimated factor returns and potentially new factor exposures
are used to predict the asset returns during all dates from the fitted
ffm object. For predictions based on estimated factor returns from a
specific period use the pred.date argument.
fitFfm, summary.ffm,
predict.lm, predict.lmrob