Monthly Archives: January 2013

Follow the ants to richness

January 29, 2013
By
Follow the ants to richness

A friend of mine told me the secret of making money at the stock market. "It's easy", he said.All I would have to do is to buy a big jar of ants. Then I should observe the ants movement on my kitchen table, while following the stock market. I shall keep the ants which walk in line with...

Read more »

Method of Simulated Moments with R

January 29, 2013
By

Second update on my research, details here.

Read more »

Efficiency in Joining Two Data Frames

January 28, 2013
By
Efficiency in Joining Two Data Frames

In R, there are multiple ways to merge 2 data frames. However, there could be a huge disparity in terms of efficiency. Therefore, it is worthwhile to test the performance among different methods and choose the correct approach in the real-world work. For smaller data frames with 1,000 rows, all six methods shown below seem

Read more »

Chances of making an NFL field goal

January 28, 2013
By
Chances of making an NFL field goal

If the scores are tied in this weekend's Super Bowl and the game rests on the outcome of a field goal attempt, the chart below will tell you the chances of the goal being made. All you need to know is the distance of the kick: What this says that if the kick is longer than 50 yards, there's...

Read more »

How slow is R really?

January 28, 2013
By

One thing you always hear about R is how slow it is, especially when the code is not well vectorized or includes loops. But R is an interpreted language and its strong suit really isn't speed but rather the comparative advantage is the 4,284 packages o...

Read more »

Football geeks: your 10,705 field goals are ready

January 28, 2013
By
Football geeks: your 10,705 field goals are ready

We looked at NFL punts before on Decision Science News. That's old news. Field goals are the new hotness, and Super Bowl Sunday is coming up, so let's look at a kicker's chances.We've taken the same data set and looked at a kicker's chances of getting the ball through the uprights depending on the yard line the kick is...

Read more »

Using R: writing a table with odd lines (GFF track headers)

January 28, 2013
By
Using R: writing a table with odd lines (GFF track headers)

The other day, I wanted to add track lines to a GFF file, so that I could view different features as separate custom tracks in a genome browser. The need to shuffle genome coordinates between different file formats seems to occur all the time when you deal with some kind of bioinformatic data. It’s usually

Read more »

Applying Tradeblotter’s Nice Work Across Manager Rather than Time

January 28, 2013
By
Applying Tradeblotter’s Nice Work Across Manager Rather than Time

Ever since I saw the very helpful distribution page first presented in Download and parse EDHEC hedge fund indexes, I have used it liberally.  Now that it is has been functionalized (Visually Comparing Return Distributions), I thought I would amen...

Read more »

Getting Started with F1 Betting Data

January 28, 2013
By
Getting Started with F1 Betting Data

As part of my “learn about Formula One Stats” journey, one of the things I wanted to explore was how F1 betting odds change over the course of a race weekend, along with how well they predict race weekend outcomes. Courtesy of @flutterF1, I managed to get a peek of some betting data from one

Read more »

The "golden age" of a football player

January 28, 2013
By
The "golden age" of a football player

It's been some time since my last post on football. And we're talking about european soccer here. So I finally managed to write some functions which allow me to extract player stats from www.transfermarkt.de. The site tracks lots of stats in the world of soccer. For each player, there is information about the dominant foot, height, age, the estimated...

Read more »