Monthly Archives: August 2012

m x n matrix with randomly assigned 0/1

August 28, 2012
By
m x n matrix with randomly assigned 0/1

Today Scott Chamberlain tweeted asking for a better/faster solution to building an m x n matrix with randomly assigned 0/1. He already had a working version: Now, I’m the first to acknowledge that I’ve never got the ‘apply’ family of … Continue reading →

Read more »

Arctic sea-ice at lowest levels since observations began

August 28, 2012
By
Arctic sea-ice at lowest levels since observations began

RealClimate.org used the R language and data from the National Snow and Ice Data Center to create this chart showing the extent of Arctic sea-ice in each year since satellite observations began in 1978, and the current extent of ice coverage (in red). Even though there are several weeks of annual melting yet to come, the area of ice...

Read more »

More on Exploring Correlations in R

August 28, 2012
By
More on Exploring Correlations in R

About a year ago I wrote a post about producing scatterplot matrices in R. These are handy for quickly getting a sense of the correlations that exist in your data. Recently someone asked me to pull out some relevant statistics (correlation coefficient ...

Read more »

R-Studio

August 28, 2012
By
R-Studio

A post over on Dang, another error (show me yours and I’ll show you mine) has a method of working with R which uses an IDE called Eclipse in conjunction with a plugin called StatET. Eclipse is one of a number of IDEs that I’m aware of (Tinn-R being another, but this Sciviews pages has

Read more »

A shrinkage estimator for beta

August 28, 2012
By
A shrinkage estimator for beta

In the post pairs trading issues one of the problems raised was the unstable estimates of the stock’s beta with respect to the market. Here is a suggestion for a possible solution, which is not really a solution but more … Continue reading →

Read more »

COMPSTAT2012

August 28, 2012
By

This week I’m in Cyprus attending the COMPSTAT2012 conference. There’s been the usual interesting collection of talks, and interactions with other researchers. But I was struck by two side comments in talks this morning that I’d like to mention. Stephen Pollock: Don’t imagine your model is the truth Actually, Stephen said something like “economists (or was it econometricians?) have...

Read more »

Are career motivations changing?

August 28, 2012
By
Are career motivations changing?

The German news magazine Der Spiegel published a series of articles around career developments. The stories suggest that career aspirations of young professionals today are somewhat different to those of previous generations in Germany. Apparen...

Read more »

Horizon on ggplot2

August 27, 2012
By
Horizon on ggplot2

SocialDataBlog’s kind reference in post Horizon plots with ggplot (not) motivated me to finish what the post started.  I knew that ggplot2 would be a little more difficult to use for the purpose of a horizon plot, but I felt compelled to provide...

Read more »

Addendum to yesterday’s post on custom CSS and R Markdown

August 27, 2012
By
Addendum to yesterday’s post on custom CSS and R Markdown

Updates from RStudio support: (1) “Thanks for reporting and I was able to reproduce this as well. I’ve filed a bug and we’ll take a look.” (2) Taking a further look, this is actually a bug in the Markdown package and we’ve asked the maintainer (Jeffrey Horner) to look into it. As juejung points out

Read more »

Two R community milestones

August 27, 2012
By

Two significant R community milestones were achieved over the weekend. Firstly, the number of community-contributed R packages on CRAN is now above 4000. (As of this writing, it's 4004.) Figure 10 of The Popularity of Data Analysis Software charts the exponential growth of R packages: at the end of last year the figure stood at 3500, and the number...

Read more »