Skip to content
Prev 12896 / 15274 Next

Performance Analytics: table.CAPM

I get no errors when running your code with the most recent versions
of xts and PerformanceAnalytics on CRAN.  Here's a simplified version
of your example:

library(PerformanceAnalytics)
ind <- as.yearmon(Sys.Date())-(4:1)/12
Ra <- xts(c(0.1,0.11,0.09,0.1), ind)
Rb <- xts(c(0.25,0.2,-0.4,0.01), ind)
CAPM.alpha(Ra, Rb)
table.CAPM(Ra, Rb)

Best,
--
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com
On Wed, Oct 15, 2014 at 4:28 PM, Charles Duranceau <cduranceau at nial.ky> wrote: