I just did this for what will hopefully be a book chapter on our Divided Education - Divided Citizens research project with NEPC. Explanation further below for anyone more interested in the actual topic ;-) About the graphic: I like raw-...

R news and tutorials contributed by (552) R bloggers

On Dataists, a new collaborative blog for data hackers that I’m contributing to, we’ve just announced a data contest that’s custom made for R users. To win the contest, you need to build a recommendation system for R packages. To find out more, check out the official announcement on Dataists. Then go to GitHub to

by John Myles White and Drew Conway Editors’ Note: One theme likely to recur on dataists.com is that data hackers love using their tools to analyze, visualize, and predict everything. Data hackers also love discovering and learning about new tools. So it should come as no surprise that Dataist contributors John Myles White and Drew

This is Part 1 of a five-part article series, with new parts published each Thursday. You can download the complete article from the Revolution Analytics website. How Did a Statistical Programming Language Invented in New Zealand Become a Global Sensation? Much in the same way that social networking, reality TV and craft beer were considered marginal fads before gaining...

I'm just back to london where I presented about Rcpp at mango's LondonR event.This was the third time (after rmetrics and useR!) I presented these slides, so I allowed myself some new metaphores about my long term relationship with R and my ind...

This post is not about R (for a change). For working UK scientists, science is vital – sign the on-line petition to preserve science funding. For my contribution of what we don’t know yet - We don’t know whether we can use biomarkers of kidney injury to personalise the doses of medications to maximise the

Our mission at Revolution Analytics is to make R the statistical analysis tool of choice in the workplace. But even though R is pervasive in academia and rising in popularity generally, we still sometimes get blank faces when we demonstrate R to potential new clients. Sure, most people have heard of R -- it's been hard to miss in...

In the twisting paths of human discovery, you never quite know what intellectual enterprise is going to result in a world changing discovery. For instance, the mathematical notion of expected value did not grow up in a sterile, academic environment. In 1654 Blaise Pascal was approached by Chevalier de Méré who was interested...

In the twisting paths of human discovery, you never quite know what intellectual enterprise is going to result in a world changing discovery. For instance, the mathematical notion of expected value did not grow up in a sterile, academic environment. In 1654 Blaise Pascal was approached by Chevalier de Méré who was interested...

For some theory on the standard IEEE-754, you can read the Wikipedia page. Here I will post only the code of the function to make the conversion in R.First we write some functions to convert decimal numbers to binary numbers:decInt_to_8bit q r xx for(i in 1:precs){xx q r xx }rr return(rr)}devDec_to_8bit nas nbs xxs for(i in 1:precs){xxs...

For some theory on the standard IEEE-754, you can read the Wikipedia page. Here I will post only the code of the function to make the conversion in R.First we write some functions to convert decimal numbers to binary numbers:decInt_to_8bit q r xx for(i in 1:precs){xx q r xx }rr return(rr)}devDec_to_8bit nas nbs xxs for(i in 1:precs){xxs...

From Martyn Plummer, on the JAGS news blog. Key graph below, showing a few outlying cases in which JAGS is substantially slower than OpenBUGS, but generally, JAGS performs quite favorably. Key point from Martyn: Incidentally, these figures are for JAGS with the glm module loaded. The glm module is not loaded by default. If you

Edward Kao just sent another typo found both in Monte Carlo Statistical Methods (Problem 3.21) and in Introducing Monte Carlo Methods with R (Exercise 3.17), namely that should be I also got another email from Jerry Sin mentioning that matrix summation in the matrix commands of Figure 1.2 of Introducing Monte Carlo Methods with R

Whenever I'm asked, "Who uses R?", I usually rattle off a long list of job titles: statistician, analyst, quant, researcher ... and that's before all the domain-specific titles. It would be nice if there were a simple, succinct phrase to describe the process of working with, analyzing, and communicating with real data. At the new blog, "dataists", the inaugural...

I’m not very familiar with S4 classes and methods, but I assume it’s the recommended way to write new packages since it is newer than S3; this of course is open to debate. I’ll outline my experience of programming with S4 classes and methods in a later post, but in the mean time, I want... Read more »

The other day I was asked by a coworker hos to do a SAS Means By statement in R. I embarrassingly did not know how to so I wrote something up, and this is what I came up with, it takes a data.frame and an indexing variable and computes the means for each group defined

Ajay Ohri has been trying out the Code Snippets feature in Revolution R (available free to academics), and has found it handy for writing code for statistical analysis: Now even if you are averse to using a GUI /or GUI creators don’t have your particular analysis you can basically type in code at an extremely fast pace. It is...

There is often confusion about how to include covariates in ARIMA models, and the presentation of the subject in various textbooks and in R help files has not helped the confusion. So I thought I’d give my take on the issue. To keep it simple, I will only describe non-seasonal ARIMA models although the ideas