Monthly Archives: December 2012

Learn R by trying R

December 6, 2012
By
Learn R by trying R

By Revolution Analytics training manager James Peruvankal If you are new to R, and want to get an introduction to the R language, in the classic “learning by doing way”, Code school and O’Reilly have put together the Try R interactive tutorial. This tutorial is a painless introduction to the R programming language. During the course you'll become familiar...

Read more »

A Cheap Criticism of p-Values

December 6, 2012
By

One of these days I am going to finish my series on problems with how NHST is issued in the social sciences. Until then, I came up with a cheap criticism of p-values today. To make sense of my complaint, you’ll want to head over to Andy Gelman’s blog and read the comments on his

Read more »

R Package for Hierarchical Bayesian species distribution models now available

December 6, 2012
By

 hSDM: hierarchical Bayesian species distribution models Ghislain Vieilledent, Andrew M. Latimer, Alan E. Gelfand, Cory Merow, Adam M. Wilson, Frederic Mortier and John A. Silander Jr hSDM is an R package for estimating parameters of hierarchic...

Read more »

Again with variability of long-short decile tests

December 6, 2012
By
Again with variability of long-short decile tests

A simpler approach to producing the variability. Previously The post “Variability in long-short decile strategy tests” proposed a way of assessing the variability of strategy tests in which a long-short portfolio is created by equally weighting the top and bottom deciles. Improved idea Joe Mezrich suggests maintaining equal weights but bootstrapping the assets within the … Continue reading...

Read more »

Flexibly outlining a set of points with alphahull

December 6, 2012
By
Flexibly outlining a set of points with alphahull

We’ve previously covered the convex hull here at is.R(), and in that post I admitted that I was somewhat hard-pressed to come up with a common use-case — at least for Political Science applications. Well, today’s Gist illustrates the...

Read more »

Reconstruct Gene Networks Using Shiny

December 6, 2012
By
Reconstruct Gene Networks Using Shiny

Check out the application on Glimmer!  http://glimmer.rstudio.com/qbrc/grn/   We’ve been experimenting with RStudio’s new Shiny software as a way to quickly and easily create interactive, responsive web applications which are able to leverage complicated analytics back-ends built in the R programming language. We created a simple interface which can infer the structure of an underlying

Read more »

One R package for all your taxonomic needs

December 6, 2012
By

UPDATE: there were some errors in the tests for taxize, so the binaries aren't avaiable yet. You can install from source though, see below.Getting taxonomic information for the set of species you are studying can be a pain in the ass. You have to manually type, or paste in, your species one-by-one. Or, if you are lucky, there is...

Read more »

One R package for all your taxonomic needs

December 6, 2012
By

UPDATE: there were some errors in the tests for taxize, so the binaries aren't avaiable yet. You can install from source though, see below.Getting taxonomic information for the set of species you are studying can be a pain in the ass. You have to manually type, or paste in, your species one-by-one. Or, if you are lucky, there is...

Read more »

NFL Prediction – Algorithm 1

December 5, 2012
By
NFL Prediction – Algorithm 1

So I tidied the code up a bit from last time; no more for loop. Actually, I tidied it up a lot. My goal had been to arrange the data in such a way that I could get a simple moving average of the score difference for each team. That wound up being a semi-lengthy

Read more »

modified wp-codebox to highlight R code as in Pretty-R

December 5, 2012
By

I found wp-codebox could highlight R code two years ago. This plugin is based on GeSHi to highlight source code internally.Now there are many ways to highlight R syntax in the website. Pretty-R provided by Inside-R is a popular tool in the community.Read more »