The beauty of R and academic replication is that on the Friday before Memorial Day weekend I can read an academic paper and do some analysis all before breakfast. In this case, the paper is
Hsieh, David A. and Fung, William, The Risk in Hedge Fund Strategies: Theory and Evidence from Trend Followers. The Review of Financial Studies, Vol. 14, No. 2, Summer 2001 .
Available at author’s site at Duke University: PDF file.with data courtesy of the authors available at http://faculty.fuqua.duke.edu/~dah7/DataLibrary/TF-Fac.xls
Let’s get the factors into R and run some very introductory analysis on the Edhec data from PerformanceAnalytics. The factors as defined by the authors are:
Trend Following Risk Factors from Fung and Hsieh, RFS (2001)
PTFSBD: Return of PTFS Bond lookback straddle
PTFSFX: Return of PTFS Currency Lookback Straddle
PTFSCOM:Return of PTFS Commodity Lookback Straddle
PTFSIR: Return of PTFS Short Term Interest Rate Lookback Straddle
PTFSSTK:Return of PTFS Stock Index Lookback Straddle
![]() |
| From TimelyPortfolio |
![]() |
| From TimelyPortfolio |
What a nice way to ease into the weekend. Now for the hard part--thinking about how I might use this.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).