751 search results for "finance"

Analyzing Federal Bailout Recipients in R

January 19, 2012
By
Analyzing Federal Bailout Recipients in R

I was searching for open data recently, and stumbled on Socrata. Socrata has a lot of interesting data sets, and while I was browsing around, I found a data set on federal bailout recipients. Here is the data set. However, data sets on Socrata are not always the most recent versions, so I followed a link to...

Read more »

Time Series Matching strategy backtest

January 17, 2012
By
Time Series Matching strategy backtest

This is a quick post to address comments raised in the Time Series Matching post. I will show a very simple example of backtesting a Time Series Matching strategy using a distance weighted prediction. I have to warn you, the strategy’s performance is worse then the Buy and Hold. I used the code from Time

Read more »

Toying with Google Apps Script

January 11, 2012
By
Toying with Google Apps Script

Google offers an access to its services with Apps Scripts (JavaScript). That gives you a possibility to connect your spreadsheet to a fascinating variety of tools like geocoder, stock info, language translator, or email.My java-scri...

Read more »

Sensitivity of risk parity to variance differences

January 9, 2012
By
Sensitivity of risk parity to variance differences

Equal risk contribution of assets determines the asset weights given the variance matrix.  How sensitive are those weights to the variance estimate? Previously The post “Risk parity” gave an overview of the idea. In particular it distinguished the cases: the assets have equal risk contribution groups of assets have equal risk contribution A key difference … Continue reading...

Read more »

The top 7 portfolio optimization problems

January 5, 2012
By
The top 7 portfolio optimization problems

Stumbling blocks on the trek from theory to practical optimization in fund management. Problem 1: portfolio optimization is too hard If you are using a spreadsheet, then this is indeed a problem. Spreadsheets are dangerous when given a complex task.  Portfolio optimization qualifies as complex in this context (complex in data requirements). If you are … Continue reading...

Read more »

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 »

You’ve got the whole world in your portfolio

December 29, 2011
By
You’ve got the whole world in your portfolio

A famous finance professor once told us that good diversification meant holding everything in the world. Fine, but in what proportion? Suppose you could invest in every country in the world. How much would you invest in each? In a market-capitalization weighted index, you'd invest in each country in proportion to the market value of its investments (its "market capitalization")....

Read more »

R-specific review of blog year 2011

December 28, 2011
By
R-specific review of blog year 2011

Most popular posts Two of the ten most popular posts during the year were completely about R: The R Inferno revised (number 6) Solve your R problems (number 9) R played a role in the other eight top ten, and many of the rest of the posts as well. R The R Inferno was revised … Continue reading...

Read more »

Modelling returns using PCA : Evidence from Indian equity market

December 26, 2011
By

As my finance term paper, I investigated an interesting question where I tried to identify macroeconomic variables that explain the returns on equities. Much of the debate has already taken place on this topic which has given rise to two competing theo...

Read more »

Portfolio Optimization in R, Part 4

December 23, 2011
By
Portfolio Optimization in R, Part 4

This post will conclude the portfolio optimization series.  In this post, we will construct a trading strategy based on portfolio optimization and test the results against the CAPM market portfolio as well as another strategy.It is worth reiterati...

Read more »