# 4042 search results for "git"

## Converting a list to a data frame

January 30, 2013
By

There are many situations in R where you have a list of vectors that you need to convert to a data.frame. This question has been addressed over at StackOverflow and it turns out there are many different approaches to completing this task. Since I encounter this situation relatively frequently, I wanted my own S3 method for as.data.frame that...

Read more »

## Hilary: the most poisoned baby name in US history

January 29, 2013
By

I’ve always had a special fondness for my name, which — according to Ryan Gosling in “Lars and the Real Girl” — is a scientific fact for most people (Ryan Gosling constitutes scientific proof in my book). Plus, the root … Continue reading →

Read more »

## Public and Public plus Private debt to GDP

January 29, 2013
By

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 »

## Method of Simulated Moments with R

January 29, 2013
By

Second update on my research, details here.

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

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 »

## Applying Tradeblotter’s Nice Work Across Manager Rather than Time

January 28, 2013
By

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 »

## The law of small numbers

January 28, 2013
By
$N$

In insurance, the law of large numbers (named loi des grands nombres initially by Siméon Poisson, see e.g. http://en.wikipedia.org/…) is usually mentioned to legitimate large portfolios, because of pooling and diversification: the larger the pool, the more ‘predictable’ the losses will be (in a given period). Of course, under standard statistical assumption, namely finite expected value, and independence (see http://freakonometrics.blog.free.fr/…....

Read more »

## analyze the survey of consumer finances (scf) with r

January 28, 2013
By

the survey of consumer finances (scf) tracks the wealth of american families.  every three years, more than five thousand households answer a battery of questions about income, net worth, credit card debt, pensions, mortgages, even the lease on th...

Read more »

## My template for controlling publication quality figures

January 28, 2013
By

The following is a template that I usually start with when producing figures for publication. It allows me to control:The overall size of the figure (in inches) (WIDTH, HEIGHT)The layout of figure subplots (using the layout() function) (LO)The resoluti...

Read more »