# Posts Tagged ‘ R Language ’

## Variability in maximum drawdown

June 4, 2012
By

Maximum drawdown is blazingly variable. Psychology Probably the most salient feature that an investor notices is the amount lost since the peak: that is, the maximum drawdown. Just because drawdown is noticeable doesn’t mean it is best to notice. Statistics The paper “About the statistics of the maximum drawdown in financial time series” explores drawdown … Continue reading...

## Make R analysis Modules just like MS Excel Templates: Derivative Calculator study case

June 4, 2012
By

In this video tutorial, it will show you how to make R analysis Modules just like MS Excel Templates using the Building Derivative Calculator app as study case. Let’s say we wanted to know the derivative of tan(x^2 + 3), commonly, we will use th...

## Inferno-ish R

May 31, 2012
By

CambR was nice enough to invite Markus Gesmann and me to speak at their event on Tuesday. My talk was Inferno-ish R. See also The R Inferno. Epilogue Subscribe to the Portfolio Probe blog by Email

## Jackknifing portfolio decision returns

May 28, 2012
By

A look at return variability for portfolio changes. The problem Suppose we make some change to our portfolio.  At a later date we can see if that change was good or bad for the portfolio return.  Say, for instance, that it helped by 16 basis points.  How do we properly account for variability in that … Continue reading...

## Tweets Analysis about Himpuan Jutaan Belia PutraJaya (Malaysia Youth Day 2012)

May 27, 2012
By

I’m using the Twitter Listening Robot to know what people is talking Najib Razak, Malaysia Prime Minister. Apparently,  23-27 are the Malaysia Youth Day 2012.  There were many funny retweets (more than 50 times) by the public: RT @Faizrawrr: Be...

## Correlations and postive-definiteness

May 22, 2012
By

On the way to another destination, I found some curious behavior with average correlations. The data Daily log returns from almost all of the constituents of the S&P 500 for years 2006 through 2011. The behavior Figure 1 shows the actual mean correlation among stocks for the set of years and the mean correlation with … Continue reading...

## CambR and other upcoming events

May 21, 2012
By

New events CambR (Cambridge UK R user group) 2012 May 29 6:30 PM for 7:00 PM start. Pat Burns “Inferno-ish R” Abstract: While R is wonderful, it is not uniformly wonderful. We highlight a few things generally found to be confusing, and outline the forces that have driven such imperfections. Markus Gesmann “Interactive charts with … Continue reading...

## Exponential decay models

May 17, 2012
By

All models are wrong, some models are more wrong than others. The streetlight model Exponential decay models are quite common.  But why? One reason a model might be popular is that it contains a reasonable approximation to the mechanism that generates the data.  That is seriously unlikely in this case. When it is dark and … Continue reading...

## Text Mining to Word Cloud App with R

May 13, 2012
By

Here is a simple application to transform text into a beautiful word cloud, Text Mining to WordCloud. The purpose is to find out the highest frequency word in a certain text. It is an app built with R language, the source code is attached at the end of...

## Portfolio diversity

May 7, 2012
By

How many baskets are your eggs in? Meucci diversity Attilio Meucci directly addresses the adage: Don’t put all your eggs in one basket. His idea is to think of your portfolio as a set of  subportfolios that are each uncorrelated with the rest.  If your portfolio can be configured to have a lot of roughly … Continue reading...