Monthly Archives: January 2012

Were markets exceptionally volatile in 2011?

January 2, 2012
By
Were markets exceptionally volatile in 2011?

2011 was a volatile year, no doubt about that, but was it exceptionally so from a historic point of view? To quantify the volatility, I used the Dow Jones Industrial average, which goes back to 1928 on Yahoo Finance: A volatile year no doubt, but once again confirming the fact that, in markets behaviour at

Read more »

Lesson 1: Overview of R Language & CloudStat School

January 2, 2012
By
Lesson 1: Overview of R Language & CloudStat School

This is the first lesson of CloudStat School, Lesson 1: Overview of R Language & CloudStat School. The objective of this lesson is introducing R Language and how you can be a R programmer or a data analyst through CloudStat School. At the end of this l...

Read more »

Voting Networks in the Danish Parliament

January 2, 2012
By
Voting Networks in the Danish Parliament

One of my Christmas presents was the book Beautiful Visualization. Chapter 8 by Andrew Odewahn is a very nice piece on visualizing the U.S Senate social graph. Odewahn basically builds an affinity network, where ties represent whether two senator have ...

Read more »

R resources

January 2, 2012
By

Earlier we spoke about PITCHfx resources, and now we will learn about R resources. Well, what is R? Straight from wikipedia:R is a programming language and software environment for statistical computing and graphics. The R lang...

Read more »

Monetary Policy & Credit Easing pt. 8: Econometrics Tests in R

January 2, 2012
By

Hello, folks its time to cover some important econometrics tests you can do in R.The Akaike information criterion is a measure of the relative goodness of fit of a statistical model.  If you have 10 models and order them by AIC, the...

Read more »

Example

January 2, 2012
By
Example

Here is a little example of what I do. While learning R isn't easy, it can be very powerful and efficient once you get your feet wet. I intend for this example to whet  your appetite. This should take you less than 20 minutes. By the end, you will...

Read more »

Portfolio Optimization in R, Part 4 Redeux

January 2, 2012
By
Portfolio Optimization in R, Part 4 Redeux

So where did we mess up?  In the calculation of returns for the market cap weighted portfolio and the portfolio optimization portfolio, we simply took the starting weights (W0) and multiplied them by the relevant series of returns.resEqual = as.matrix(returns) %*% t(ret)andsubRes = as.matrix(subRes) %*% t(ret)To correct this, we have 2 options. Recalculate the weight at each time point assuming a starting weight. ...

Read more »

Portfolio Optimization in R, Part 4 Redeux

January 2, 2012
By
Portfolio Optimization in R, Part 4 Redeux

So where did we mess up? In the calculation of returns for the market cap weighted portfolio andthe portfolio optimization portfolio, we simply took the starting weights (W0)and multiplied them by the relevant series of returns.resEqual = as.matri...

Read more »

Plotting earthquake data

January 2, 2012
By
Plotting earthquake data

Since 4th September 2010 we have had over 2,800 quakes (considering only magnitude 3+) in Christchurch. Quakes come in swarms, with one or few strong shocks, followed by numerous smaller ones and then the ocasional shock, creating an interesting data … Continue reading →

Read more »

Market predictions for years 2011 and 2012

January 2, 2012
By
Market predictions for years 2011 and 2012

A review of market predictions and results for 2011, and a calibration for 2012 predictions (of 19 equity indices plus oil). Previously One year ago the post “Revised market prediction distributions” presented plots showing the variability of various markets assuming no market-moving forces. The follow-up post “Some market predictions enhanced some of those plots with … Continue reading...

Read more »