Monthly Archives: January 2013

Public and Public plus Private debt to GDP

January 29, 2013
By
Public and Public plus Private debt to GDP

Update 2: Put up a second graph showing debt of Spain.Update: I just read the most recent article of Stiglitz. I mostly agree. However, I'm not quite sure what he means when he says thatSpain and Ireland had fiscal surpluses and low debt/GDP ratios bef...

Read more »

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 »