2539 search results for "map"

Tupper’s self-referential formula

March 24, 2013
By
Tupper’s self-referential formula

Can't remember where I first came across this equation but the Tupper's self referential equation, is a very interesting formula that when graphed in two dimension plane it reproduces the formula. \[ \frac{1}{2} I first thought this would be...

Read more »

Parsing complex text files using regular expressions and vectorization

March 24, 2013
By

When text data is in a nice CSV format, read.csv is enough to parse it into a useable format. But if this is not the case, getting the data into a useable format is not so straightforward. In this post… See more ›

Read more »

Maximum Sharpe Portfolio

March 21, 2013
By
Maximum Sharpe Portfolio

Maximum Sharpe Portfolio or Tangency Portfolio is a portfolio on the efficient frontier at the point where line drawn from the point (0, risk-free rate) is tangent to the efficient frontier. There is a great discussion about Maximum Sharpe Portfolio or Tangency Portfolio at quadprog optimization question. In general case, finding the Maximum Sharpe Portfolio

Read more »

Violin plots and regional income distribution

March 20, 2013
By
Violin plots and regional income distribution

While preparing my slides for statistical graphics, a plot really caught my eye when I was playing around with the data. I started off by plotting the time seriesof GNI per capita by country, and as expected it got quite messy and...

Read more »

GeoCoding,R, and The Rolling Stones – Part 2

March 20, 2013
By
GeoCoding,R, and The Rolling Stones – Part 2

Welcome to Part 2 of the GeoCoding, R, and the Rolling Stones blog. Let’s apply some of the things we learned in Part 1 to a practical real world example. Mapping the Stones – A Real Example The Rolling Stones have toured for many years. You can go to Wikipedia and see information on the

Read more »

GeoCoding,R, and The Rolling Stones – Part 2

March 20, 2013
By
GeoCoding,R, and The Rolling Stones – Part 2

Welcome to Part 2 of the GeoCoding, R, and the Rolling Stones blog. Let’s apply some of the things we learned in Part 1 to a practical real world example. Mapping the Stones – A Real Example The Rolling Stones have toured for many years. You can go to Wikipedia and see information on the

Read more »

GeoCoding, R, and The Rolling Stones – Part 1

March 20, 2013
By
GeoCoding, R, and The Rolling Stones – Part 1

In this article I discuss a general approach for Geocoding a location from within R, processing XML reports, and using R packages to create interactive maps. There are various ways to accomplish this, though using Google’s GeoCoding service is a good place to start. We’ll also talk a bit about the XML package that is

Read more »

GeoCoding, R, and The Rolling Stones – Part 1

March 20, 2013
By
GeoCoding, R, and The Rolling Stones – Part 1

In this article I discuss a general approach for Geocoding a location from within R, processing XML reports, and using R packages to create interactive maps. There are various ways to accomplish this, though using Google’s GeoCoding service is a good place to start. We’ll also talk a bit about the XML package that is

Read more »

Optimal Meeting Point on the Paris Metro

March 20, 2013
By

tl;dr: Play with the app here When you live in Paris, chances are you are (home or work) very close to a metro station, so when you want to meet with some friends, you usually end up picking another metro station as a meeting point. Yet, finding the optimal place to meet can easily become a complex problem considering...

Read more »

Behavioral Economics and Beer… highly correlated

March 19, 2013
By
Behavioral Economics and Beer… highly correlated

Short: I plot the frequency of wikipedia searches of “Behavioral Economics”, and “Beer” – who knew the correlation would be 0.7! Data reference:Data on any wikipedia searches (back to 2007) are available at http://glimmer.rstudio.com/pssguy/wikiSearchRates/. The website allows you to download frequency hits per day as a csv, which is what I've done here....

Read more »