Monthly Archives: November 2010

RMongo: Accessing MongoDB in R

November 3, 2010
By

I recently created RMongo, a database access layer to MongoDB in R as an R package. To install RMongo, download it from https://github.com/quid/RMongo/downloads Run: R CMD install RMongo_0.0.17.tar.gz I tried to mimic the RMySQL commands in RMongo. Bel...

Read more »

Keeping up with election results, with R

November 3, 2010
By
Keeping up with election results, with R

Yesterday's US election is pretty much over now: most of the results are in, the pundits have offered their political analysis, and there's even been a bit of mathematical analysis of the results, too. But last night as the results were flowing in, R user Brock Tibert just wanted to track the results of the Massachusetts governor's race. The...

Read more »

My residuals look weird… aren’t they ?

November 3, 2010
By
My residuals look weird… aren’t they ?

Since I got the same question twice, let us look at it quickly....  Some students show me a graph (from a Poisson regression) which looks like that,and they asked "isn't it weird ?", i.e."residuals are null or positive... this is not what we...

Read more »

Looping through a set of graphics in odfWeave

November 3, 2010
By

At proMENTE social research we often use the odfWeave and Sweave packages for the amazing statistics program R for automating the production of graphics and reports. odfWeave and Sweave are for the OpenOffice and lyx (www.lyx.org) word processors respectively. One problem with this approach arises when you have to produce and insert into your document

Read more »

Looping through a set of graphics in odfWeave

November 3, 2010
By

At proMENTE social research we often use the odfWeave and Sweave packages for the amazing statistics program R for automating the production of graphics and reports. odfWeave and Sweave are for the OpenOffice and lyx (www.lyx.org) word proce...

Read more »

inline 0.3.7

November 3, 2010
By

A bug-fix release 0.3.7 of inline is now on CRAN and at Debian.It fixes a minor bug: when package.skeleton() was called to convert one or more functions created with this package into a package, the corner case of just a single submitted function ...

Read more »

Rcpp 0.8.8

November 2, 2010
By

A bug-fix release 0.8.8 of Rcpp is now available. It is awaiting processing at CRAN, and will be uploaded to Debian once processed at CRAN. In the meantime, sources are available from my local directory here.This release follows on the heels o...

Read more »

Another lottery coincidence

November 2, 2010
By

Last week, the Freakonomics blog in the NYT reported that the Israeli lottery had drawn the same six numbers twice in a month. The seventh "bonus ball" was different, but still: quite a coincidence, right? Cue the quote from an expert to explain just how remarkable this is: Yitzhak Melechson, a statistics professor at the University of Tel Aviv,...

Read more »

SAS vs Open Source, ctd

November 2, 2010
By

Following up on the story from last week, where SAS CEO Jim Goodnight said he "hadn't noticed" competition from open-source alternatives, open-source BI vendor Pentaho's "Chief Geek" James Dixon responds: What this means is that SAS has moved from the Igorance phase to the Ridicule phase of battling open source, they only have Fighting and Losing to go. There...

Read more »

Comments on probabilities

November 2, 2010
By
Comments on probabilities

The only thing I remember from courses I had in probability a few years ago is that we also have to clearly defined the event we want to calculate the probability. On the Freakonomics blog, last week, the Israeli lottery was mentioned (here, see a...

Read more »