A recent Wall Street Journal article ruminated about the degree that language shapes thought (rather than the other way around). This idea has rather profound implications in the more specific domain of programming languages. We initially learn a...
It's sunny up here in Seattle (I'm attending BioConductor 2010 -- Revolution's a sponsor) now that the morning fog has lifted. So in honor of sunny Friday afternoons, I bring you the Double Rainbow song: (If you've been in a wi-fi-less cave for the past couple of weeks, check out the original.)
At his Zero Intelligence Agents blog, Drew Conway has taken on the task of performing a quantitative analysis (using R, of course) of the controversial Afghanistan document dump from Wikileaks. He's started with an analysis of the overall flow of information in the five Afghanistan regions, categorized by type of activity (enemy, neutral, etc.). (Click to enlarge.) It's a...
I released inline 0.3.6 yesterday. This is a minor release which gives better R level errors when there is a compiler error. For example : > tryCatch( cxxfunction( , 'int x = 3 ; x+ ; return R_NilValue ; ' ), error = function(e) print(e$message)...
I am a contributor to the optmatch and the RItools packages for R. These two packages are separate, but complimentary. Both packages provide tools for adjusting observational data to exhibit “balance” on observed covariates. In a randomized control trial, treatment and control groups should have identical distributions over all covariates, observed and unobserved. Matching provides a...
A month ago I posted about “SURF”, the newly-established Sydney R user forum (R being an excellent open-source statistics tool). Shortly after publishing that post, I attended the inaugural forum meeting. While we waited for attendees to arrive, a few people introduced themselves, explaining why they were interested in R and how much experience they
A new release of RcppArmadillo is now on CRAN. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear algebra (based on Armadillo) in R extensions (using Rcpp for the interface). This release upgrades the include...
A new release of RcppArmadillo is now on CRAN. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear algebra (based on Armadillo) in R extensions (using Rcpp for the interface). This release upgrades the incl...
A most interesting paper by Adrian Raftery and Le Bao appeared in the Early View section of Biometrics. It aims at better predictions for HIV prevalence—in the original UNAIDS implementation, a naïve SIR procedure was used, based on the prior as importance function, which sometimes resulted in terrible degeneracy—, but its methodological input is about 
G Jay Kerns has published a 400+ page introductory text on Probability and Statistics. All of the examples and illustrations are done using R (as Jay puts it, "The people at the party are Probability and Statistics; the handshake is R") so if you want to brush up on your probability and learn R at the same time, this...
I have spent the better portion of the day trying to get a bootstrap working. I have adapter a pre-written bootstrap function, but I wanted to use a generic function, mostly for reaping fame and glory. My hypothesis was that writing a hand-written, unoptimized function will consume more computer time than the generic, presumably optimized, 
Video, slides and code of the talk “Taking R to the Limit: Parallelization” by Ryan Rosario at the Los Angeles area R Users Group in July 2010 as follows. Slides: R code: here. Video: If you have a question to … Continue reading →
R is a free software environment for statistical computing and graphics, used by a growing number of economists, engineers, and data analysts every day at Google. We’ve even published our R Style Guide on Google Code. The R community has...
R is a free software environment for statistical computing and graphics, used by a growing number of economists, engineers, and data analysts every day at Google. We’ve even published our R Style Guide on Google Code. The R community has...
At the useR!2010 conference I had the honor of giving a (~15 minute) talk titled “Blogging about R”. The following is the abstract I submited, followed by the slides of the talk and the audio file of a recording I made of the talk (I am sad it got a bit of “hall echo”, but it’s still listenable…) P.S:...
A nice group of people from academia and industry meeting about once a month at UCLA. Attendance is usually 30-40, but gradually increasing (also about 300 registered members). If you’d like to join, visit the group’s website: http://www.meetup.com/LAarea-R-usergroup/, you’ll find … Continue reading →
Jay Kerns wrote a book titled "Introduction to Probability and Statistics Using R" or IPSUR for short. He has put up a web site for the book and Rcmdr plugin. There are at least two very important points from my side (I did not read the book, yet): 1. ...
Jay Kerns wrote a book titled "Introduction to Probability and Statistics Using R" or IPSUR for short. He has put up a web site for the book and Rcmdr plugin. There are at least two very important points from my side (I did not read the book, yet): 1. ...
R, the open-source statistical software system, is certainly a hot topic these days. It's been the subject of increasing media interest over the last year or so, and the user community is expanding rapidly: there are now about 40 R user groups around the world, and last week's worldwide R User Conference was the most successful ever. So why...
I’ve had enough of copy and pasting output from my R session into my email editor, blog, etc. I need something like Sweave for plain text files. In particular, I want the result of parsing <<echo=TRUE>>= f <- function(x) { x + 1 } f(1) @ with Sweave, but without the latex markup. For example,
Recently there was a lot of racket about results presented in papers by a pair Nicholas Christakis & James Fowler. Their papers gained a lot of attention both in the academic world as well as in media. In their papers they claim to provide evidence for social contagion (transmission through social networks) of several types 