Slides from Revolution R: 100% R and More

December 8, 2010
By

If you missed today's webcast on Revolution R Enterprise: 100% R and more, the slides from the presentation are now available for download, and a replay of the webcast (in WMV format) will be available at that same link very soon. And if you missed some of the links I mentioned in the presentation, here they are for your...

Read more »

Interesting Posts at Rational Past Time Related to My Previous Strike Zone Map Post

December 8, 2010
By
Interesting Posts at Rational Past Time Related to My Previous Strike Zone Map Post

J-Doug at Rational Pastime has some cool posts looking at umpire strike zones at his site (and cross-posted at Beyond the Boxscore). I was curious about this issue as well with some work I've been doing here in the office (which I'll refrain from talk...

Read more »

New paper: Survival analysis

December 8, 2010
By
New paper: Survival analysis

Each year I try to carry out some statistical consultancy to give me experience in other areas of statistics and also to provide teaching examples. Last Christmas I was approached by a paediatric consultant from the RVI who wanted to carry out prospective survival analysis. The consultant, Bruce  Jaffray, had performed Nissen fundoplication surgery on

Read more »

cumsum ( rnorm(50), lend="butt", lwd=12, type="h" ) Cumulative…

December 8, 2010
By
cumsum ( rnorm(50), lend="butt", lwd=12, type="h" )
Cumulative…

cumsum ( rnorm(50), lend="butt", lwd=12, type="h" ) Cumulative sum of 50 draws from a normal distribution. File this under mysteries of the Central Limit Theorem.

Read more »

Fantasy football (oops, soccer)

December 8, 2010
By
Fantasy football (oops, soccer)

Recently a colleague asked if I could use R/statistics to form a dream soccer team from a pool of soccer players, given basic player information like name, club, cost, points.The idea is to form a team with your preferred configuration of number of def...

Read more »

Fantasy football (oops, soccer)

December 8, 2010
By
Fantasy football (oops, soccer)

Recently a colleague asked if I could use R/statistics to form a dream soccer team from a pool of soccer players, given basic player information like name, club, cost, points.The idea is to form a team with your preferred configuration of number of def...

Read more »

R: Using RColorBrewer to colour your figures in R

December 8, 2010
By
R: Using RColorBrewer to colour your figures in R

RColorBrewer is an R packages that uses the work from http://colorbrewer2.org/ to help you choose sensible colour schemes for figures in R. For example if you are making a boxplot with eight boxes, what colours would you use, or if you are drawing...

Read more »

R: Using RColorBrewer to colour your figures in R

December 8, 2010
By
R: Using RColorBrewer to colour your figures in R

RColorBrewer is an R packages that uses the work from http://colorbrewer2.org/ to help you choose sensible colour schemes for figures in R. For example if you are making a boxplot with eight boxes, what colours would you use, or if you are drawing...

Read more »

Google AI Challenge: Scores/Rank by Language

December 8, 2010
By
Google AI Challenge: Scores/Rank by Language

A quick follow up to the previous post: about the the scores in the 2010 Google AI competition relative to programming language.  The chart above makes each language visible and discrete - and the scales are the same.library(ggplot2)df<- read.c...

Read more »

Google AI Challenge: Scores/Rank by Language

December 8, 2010
By
Google AI Challenge: Scores/Rank by Language

A quick follow up to the previous post: about the the scores in the 2010 Google AI competition relative to programming language.  The chart above makes each language visible and discrete - and the scales are the same.library(ggplot2)df<- read.c...

Read more »

inline 0.3.8

December 7, 2010
By

Romain pushed verion 0.3.8 of inline to CRAN earlier today, and I just updated the Debian package. This version adds an internal performance enhancement which is obtained by making due with fewer reads. The short NEWS file entry follows: 0.3.8 2...

Read more »

Big Data Logistic Regression with R and ODBC

December 7, 2010
By
Big Data Logistic Regression with R and ODBC

Recently I've been doing a lot of work with predictive models using logistic regression.  Logistic regression is great for determing probable outcomes of a independent binary target variable.  R is a great tool for accomplishing this task.&nb...

Read more »

Big Data Logistic Regression with R and ODBC

December 7, 2010
By
Big Data Logistic Regression with R and ODBC

Recently I've been doing a lot of work with predictive models using logistic regression.  Logistic regression is great for determing probable outcomes of a independent binary target variable.  R is a great tool for accomplishing this task.&nb...

Read more »

R Workflow

December 7, 2010
By
R Workflow

When working with R you end up using a large number of datasets, packages, functions, objects, output files, workspaces, etc.  It can get a bit overwhelming trying to keep everything organized.  That is why a consistent, well-organized workf...

Read more »

Bayesian model selection

December 7, 2010
By
Bayesian model selection

Last week, I received a box of books from the International Statistical Review, for reviewing them. I thus grabbed the one whose title was most appealing to me, namely Bayesian Model Selection and Statistical Modeling by Tomohiro Ando. I am indeed interested in both the nature of testing hypotheses or more accurately of assessing models,

Read more »

Build RQuantLib on 32-bit Windows

December 7, 2010
By

Before you start, note that there is now a Windows binary of RQuantLib is available on CRAN.Due to a change in how R-2.12.0 is built, CRAN maintainers could no longer provide a Windows binary of RQuantLib with the QuantLib library they had been using....

Read more »

Build RQuantLib on 32-bit Windows

December 7, 2010
By

Before you start, note that there is now a Windows binary of RQuantLib is available on CRAN.Due to a change in how R-2.12.0 is built, CRAN maintainers could no longer provide a Windows binary of RQuantLib with the QuantLib library they had been using....

Read more »

Finding roots of functions in actuarial science

December 7, 2010
By
Finding roots of functions in actuarial science

The following simple code can be used to find roots of functions (based on the secant algorithm), secant=function(fun, x0, x1, tolerence=1e-07, niter=500){for ( i in 1:niter ) { x2 <- x1-fun(x1)*(x1-x0)/(fun(x1)-fun(x0)) if (abs(fun(x2)) < to...

Read more »

Kendall Rank Coefficient by GPU

December 7, 2010
By
Kendall Rank Coefficient by GPU

The correlation coefficient is a measurement of correlation between two random variables. While its computation is straightforward, it is not readily applicable to non-parametric statistics. read more

Read more »

Webinar: Revolution R is 100% R and More

December 7, 2010
By

I'll be hosting a webinar tomorrow (Wednesday) aimed at R users who want to know more about how Revolution R Enterprise extends open source R for big data, Web services, multi-core processing, debugging and more. For R users at schools and universities, I'll also explain how you can download and use Revolution R Enterprise free of charge. The full...

Read more »

Webinar: Revolution R is 100% R and More

December 7, 2010
By

I'll be hosting a webinar tomorrow (Wednesday) aimed at R users who want to know more about how Revolution R Enterprise extends open source R for big data, Web services, multi-core processing, debugging and more. For R users at schools and universities, I'll also explain how you can download and use Revolution R Enterprise free of charge. The full...

Read more »

Sequential Line Plots in R

December 7, 2010
By
Sequential Line Plots in R

I was trying to create some sequential plots today in R to analyse some MCMC simulations. I found the par(ask=TRUE) command very useful for looking at iterations of individual parameter values. Setting the ask graphical parameter to TRUE (before a … Continue reading →

Read more »

Webinar on Revolution R Enterprise

December 7, 2010
By

R evangelist David Smith, marketing VP at Revolution R, will be giving a webinar showing off some of the finer features of Revolution R Enterprise - an integrated development environment (IDE) for R that has an enhanced script editor with syntax highli...

Read more »

Statistique de l’assurance STT6705V, partie 12 bis

December 7, 2010
By
Statistique de l’assurance STT6705V, partie 12 bis

In the previous post (here) discussing forecasts of actuarial quantities, I did not mention much how to forecast the temporal component in the Lee-Carter model. Actually, many things can be done. Consider here some exponential smoothing techniques ...

Read more »

Le Monde puzzle [49]

December 7, 2010
By
Le Monde puzzle [49]

Here is a quick-and-dirty solution to Le Monde puzzle posted a few days ago: the R code counts the number of winning tickets between 1 and N, and stops when there is a proportion of 10% of winning tickets. #winning ticket win=function(n){ #decimal digits decomposition x=rep(0,4) x=n%%10 m=(n-x)/10 x=m%%10 m=(m-x)/10 x=m%%10 m=(m-x)/10 x=m%%10 tic=0 for

Read more »

highlight 0.2-5

December 7, 2010
By

I pushed highlight 0.2-5 on CRAN. This release improves the latex renderer and the sweave driver so that multiple lines character strings are properly rendered. This example vignette shows it: \documentclass{report} \begin{document} <<echo=FALSE,results=hide>>= old.op <- options( prompt = " ", continue = " " ) @ <<>>= require( inline ) require( Rcpp ) convolve <- cxxfunction( signature( a = "numeric", b...

Read more »

R 2.12.1 scheduled for December 16

December 6, 2010
By

The next update to R will be a patch release: R 2.12.1 will be released on December 16, as announced today by the R Core Team. As is typical for a patch release, this version will include some minor bug fixes plus a few new features (from the current build's NEWS file): The DVI/PDF reference manual now includes the...

Read more »

R 2.12.1 scheduled for December 16

December 6, 2010
By

The next update to R will be a patch release: R 2.12.1 will be released on December 16, as announced today by the R Core Team. As is typical for a patch release, this version will include some minor bug fixes plus a few new features (from the current build's NEWS file): The DVI/PDF reference manual now includes the...

Read more »

Jeromy Anglim on Reproducible Research and R

December 6, 2010
By

Jeromy Anglim, fellow social scientist and R aficionado from across the globe, gave a great talk to the Melbourne R Users Group last week on the joys of creating reproducible results. A subject near and dear to me, but not one that is given enough attention in research training. Jeromy discusses tools for generating reproducible

Read more »