Blog Archives

Visually Comparing Return Distributions

January 18, 2013
By
Visually Comparing Return Distributions

Here is a spot of code to create a series of small multiples for comparing return distributions. You may have spotted this in a presentation I posted about earlier, but I’ve been using it here and there and am finally satisfied that it is a generally useful view, so I functionalized it. When visually comparing

Read more »

R/Finance 2013 Call for Papers

January 5, 2013
By
R/Finance 2013 Call for Papers

It’s that time of year again – we’ve just posted our Call for Papers for the R/Finance 2013 conference, which focuses on applied finance using R. This is our fifth annual conference, again organized by a group of R package authors and community contributors and hosted by the International Center for Futures and Derivatives (ICFD)

Read more »

xts and GSOC 2012

November 23, 2012
By
xts and GSOC 2012

Josh Ulrich and Jeff Ryan mentored a Google Summer of Code (GSOC) project this summer focused on experimental functionality for xts in collaboration with R. Michael Weylandt, a student in operations research and financial engineering from Princeton. You might recognize Michael from his presentation at R/Finance this year, where he gave a talk entitled “A

Read more »

FinancialInstrument Moves to CRAN

September 19, 2012
By
FinancialInstrument Moves to CRAN

I thought I would break up the posts about GSOC (no, I’m not done yet – there are a few more to do) with a quick note about FinancialInstrument. The FinancialInstrument package provides a construct for defining and storing meta-data for tradable contracts (referred to as instruments, e.g., stocks, futures, options, etc.). The package can

Read more »

Conversion of Meucci’s MatLab Code

September 7, 2012
By
Conversion of Meucci’s MatLab Code

You might remember a second proposal I put forward for this summer’s Google Summer of Code (GSoC). This project was ambitious, looking to convert a subset of Attillio Meucci’s MatLab code to R. Thankfully, Brian Peterson took the lead mentor position for this particular project. Coincidently, the day before GSoC started we received a very

Read more »

New Attribution Functions for PortfolioAnalytics

September 1, 2012
By
New Attribution Functions for PortfolioAnalytics

Another Google Summer of Code (GSoC) project this summer focused on creating functions for doing returns-based performance attribution. I’ve always been a little puzzled about why this functionality wasn’t covered already, but I think that most analysts do this kind of work in Excel. That, of course, has its own perils. But beyond the workflow

Read more »

…Now With More Bacon (2008)!

August 29, 2012
By
…Now With More Bacon (2008)!

I’m sure that Carl Bacon sighs deeply when he reads such headlines, but it is clearly appropriate in this case. Perhaps you remember that I proposed a Google Summer of Code project for 2012 around a considerable code contribution to PerformanceAnalytics from Diethelm Wuertz at ETHZ. That code was focused on adding a large number

Read more »

Framing investing as a decision-making process

June 23, 2012
By
Framing investing as a decision-making process

Brian Peterson and I had a chance to visit the University of Washington a couple of weeks ago at the behest of Doug Martin, where we gave a seminar covering various R packages we’ve written. Here are the slides we used. We also had quite a bit of time that we spent with Doug, Eric

Read more »

Download and parse EDHEC hedge fund indexes

June 4, 2012
By
Download and parse EDHEC hedge fund indexes

In our pre-conference workshop, Brian Peterson and I worked with the EDHEC hedge fund indexes as a way to demonstrate how to use PortfolioAnalytics within the context of long-term allocation problems. Although they are not investible, these indexes are probably more representative than most given that they are, in fact, meta-indexes. Other indexes might be

Read more »

Slides for R/Finance 2012

May 23, 2012
By
Slides for R/Finance 2012

Another succeessful* year of R/Finance is behind us. It was certainly more: a larger crowd, a longer session, more seminars, more presentations, more sponsors – perhaps even to the point where we’ve reaching a certain capacity. What began as an interesting idea among a few friends has more than credible momentum – it’s now more

Read more »