| predict.ffm {facmodCS} | R Documentation |
Predicts asset returns based on a fitted fundamental factor model
Description
S3 predict method for object of class ffm.
Usage
## S3 method for class 'ffm'
predict(object, newdata = NULL, pred.date = NULL, ...)
Arguments
object |
an object of class |
newdata |
data.frame containing the variables |
pred.date |
character; unique date used to base the predictions. Should
be coercible to class |
... |
optional arguments passed to |
Details
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.
Value
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.
Author(s)
Sangeetha Srinivasan
See Also
fitFfm, summary.ffm,
predict.lm, predict.lmrob