factorModelPerformanceAttribution: Compute performance attribution

Description Usage Arguments Details Value Author(s) References Examples

Description

Decompose total returns into returns attributed to factors and specific returns. Class of FM.attribution is generated and generic function plot() and summary(),print() can be applied.

Usage

1

Arguments

fit

Class of "TimeSeriesFactorModel", "FundamentalFactorModel" or "statFactorModel".

...

Other controled variables for fit methods.

Details

Total returns can be decomposed into returns attributed to factors and specific returns.
R_t = ∑ b_j * f_jt + u_t,t=1...T
b_j is exposure to factor j and f_jt is factor j. The returns attributed to factor j is b_j * f_jt and specific returns is u_t.

Value

an object of class FM.attribution containing

Author(s)

Yi-An Chen.

References

Grinold,R and Kahn R, Active Portfolio Management, McGraw-Hill.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(managers.df)
fit.ts <- fitTimeSeriesFactorModel(assets.names=colnames(managers.df[,(1:6)]),
                                     factors.names=c("EDHEC.LS.EQ","SP500.TR"),
                                      data=managers.df,fit.method="OLS")
# withoud benchmark
fm.attr <- factorModelPerformanceAttribution(fit.ts)

## End(Not run)

R-Finance/FactorAnalytics documentation built on May 8, 2019, 3:51 a.m.