## Sweave Tutorial 3: Console Input and Output – Multiple Choice Test Analysis

November 30, 2010
By

This post provides an example of using Sweave to perform an item analysis of a multiple choice test. It is designed as a tutorial for learning more about using Sweave in a mode where console input and output is displayed. Copies of all source code a...

## Sweave Tutorial 3: Console Input and Output – Multiple Choice Test Analysis

November 30, 2010
By

This post provides an example of using Sweave to perform an item analysis of a multiple choice test. It is designed as a tutorial for learning more about using Sweave in a mode where console input and output is displayed. Copies of all source code a...

## Hägerstrand Time-Space Cube

November 30, 2010
By

With the rgl package it’s possible to interact with the 3d visualization of the timespace tracks. Code example: plot3d(lon,lat,timedate, xlim=range(lon), ylim=range(lat), zlim=range(timedate), ticktype=”detailed”, xlab=”longitude”, ylab=”latitude”, zlab=”Date”, col= as.POSIXlt(daten)\$mday, type=”l”, main=plottitle) In the posted example individual waypoints were added by drawing vertical lines.

November 30, 2010
By

I started to develop GOSemSim package two years ago when I was not quite familiar with R. I am very happy to see that someone use it and found it helpful. I try to learn S4 and redesign GOSemSim with S4 classes and methods in the pass two weeks, and the very first version was implemented. As I’m not...

November 30, 2010
By

I started to develop GOSemSim package two years ago when I was not quite familiar with R. I am very happy to see that someone use it and found it helpful. I try to learn S4 and redesign GOSemSim with S4 classes and methods in the pass two weeks, and the very first version was implemented. As I’m...

## Analysis of retractions in PubMed

November 30, 2010
By

As so often happens these days, a brief post at FriendFeed got me thinking about data analysis. Entitled “So how many retractions are there every year, anyway?”, the post links to this article at Retraction Watch. It discusses ways to estimate the number of retractions and in particular, a recent article in the Journal of

## Data visualization videos

November 29, 2010
By

Probably everyone has seen Hans Rosling’s famous TED talk by now. I recently came across a couple of other exceptional talks on data visualization: Hans Rosling again: Let my dataset change your mindset. If only all statistics lecturers were this dynamic! David McCandless: The beauty of data visualization. Not so exciting as Hans, but some great

## Initializing the Holt-Winters method

November 29, 2010
By

The Holt-Winters method is a popular and effective approach to forecasting seasonal time series. But different implementations will give different forecasts, depending on how the method is initialized and how the smoothing parameters are selected. In this post I will discuss various initialization methods. Suppose the time series is denoted by and the seasonal period

## Sorting out Sweave in Eclipse/StatET

November 29, 2010
By

Using Sweave to produce pretty-looking documentation for R is awfully handy. It takes a little tweaking to get set up in Eclipse and StatET though. I followed the information in Jeromy Anglim’s webpage to originally get Sweave set up. The followi...

## Slices and crumbs [arXiv:1011.4722]

November 29, 2010
By
$Slices and crumbs [arXiv:1011.4722]$

An interesting note was arXived a few days ago by Madeleine Thompson and Radford Neal. Beside the nice touch of mixing crumbs and slices, the neat idea is to have multiple-try proposals for simulating within a slice and to decrease the dimension of the simulation space at each try. This dimension diminution is achieved via

## The Joy of Visualizations

November 29, 2010
By

This is a clip from the forthcoming BBC4 program, The Joy of Stats: The clip shows Hans Rosling (who we've profiled here before), plotting life expectancy versus income for various countries, and animating over time. The clip amply demonstrates that with the right presentation and story, even the simplest of scatterplots can be a joy to behold. I'm looking...

## Altering Eclipse user name

November 29, 2010
By

Using StatET’s code generation templates is handy, but the standard Eclipse variable for \${user} just inserts the currently logged-in user’s account name. If you want a different name to appear when \${user} is called, one method is to alter...

## John Chambers on R and Multilingualism

November 29, 2010
By

John Chambers, one of the creators of R's predecessor S and a current member of the R Core Group, gave a seminar at Stanford last week titled "R, other languages and object-oriented programming". Unfortunately, I was away for the Thanksgiving break and couldn't make it myself, but John has kindly made his slides (PDF) available for download. The talk...

## John Chambers on R and Multilingualism

November 29, 2010
By

John Chambers, one of the creators of R's predecessor S and a current member of the R Core Group, gave a seminar at Stanford last week titled "R, other languages and object-oriented programming". Unfortunately, I was away for the Thanksgiving break and couldn't make it myself, but John has kindly made his slides (PDF) available for download. The talk...

## Statistique de l’assurance STT6705V, partie 11

November 29, 2010
By

Last course will be uploaded soon (the links will be here and there). The R code considered is given below. First, we had to work a little bit on the datasets, tabB=read.table("http://perso.univ-rennes1.fr/arthur.charpentier/tabB.csv", sep=";",head...

## SAS and R joins SAS-x

November 29, 2010
By

Tal Galili, organizer of the R-bloggers blog aggregator, has opened a new aggregator for people blogging about SAS. If you're unfamiliar with the concept, an aggregator is a single blog which republishes (with permission, in this case) the entries fro...

## INFORMS Data Mining Competition leaders used Open Source software

November 29, 2010
By

The results of 2010 INFORMS data mining competition just recently finished.  The leaders were presented at the 2010 Annual INFORMS Conference.  The 2010 INFORMS data mining competition goal was to determine short term movements in stock price...

## INFORMS Data Mining Competition leaders used Open Source software

November 29, 2010
By

The results of 2010 INFORMS data mining competition just recently finished.  The leaders were presented at the 2010 Annual INFORMS Conference.  The 2010 INFORMS data mining competition goal was to determine short term movements in stock price...

## Joy of Stats coming soon

November 29, 2010
By

The Joy of Stats really is a joy.  It will be shown on BBC4, apparently scheduled for December 7.  (That date comes from Hans Rosling on twitter, I haven’t found scheduling evidence at the BBC.) I saw its debut at the Royal Statistical Society on World Statistics Day. Here is a five minute excerpt: You … Continue reading...

## Sweave Tutorial 2: Batch Individual Personality Reports using R, Sweave, and LaTeX

November 29, 2010
By

This post documents an example of using Sweave to generate individualised personality reports based on responses to a personality test. Each report provides information on both the responses of the general sample and responses of the specific respond...

## Sweave Tutorial 2: Batch Individual Personality Reports using R, Sweave, and LaTeX

November 29, 2010
By

This post documents an example of using Sweave to generate individualised personality reports based on responses to a personality test. Each report provides information on both the responses of the general sample and responses of the specific respond...

## Getting Started with Git, EGit, Eclipse, and GitHub: Version Control for R Projects

November 28, 2010
By

This post provides information on (a) installing Git using the Eclipse plugin Egit. (b) uploading repositories to GitHub, and (c) links to resources on Git, Git and LaTeX, and Git and R. The focus is on version control for people working on R, Sweave, ...

## Getting Started with Git, EGit, Eclipse, and GitHub: Version Control for R Projects

November 28, 2010
By

This post provides information on (a) installing Git using the Eclipse plugin Egit. (b) uploading repositories to GitHub, and (c) links to resources on Git, Git and LaTeX, and Git and R. The focus is on version control for people working on R, Sweave, ...

## Computing evidence

November 28, 2010
By

The book Random effects and latent variable model selection, edited by David Dunson in 2008 as a Springer Lecture Note. contains several chapters dealing with evidence approximation in mixed effect models. (Incidentally, I would be interested in the story behind the  Lecture Note as I found no explanation in the backcover or in the preface.

## Analyst First – SURF

November 28, 2010
By

This presentation is aimed at all those working in commercial and government analytics, irrespective of what tools they use, and also to those students intending on such a career. R and other open source tools play a powerful, unique and … Continue reading →

## Random variable generation (Pt 1 of 3)

November 28, 2010
By
$Random variable generation (Pt 1 of 3)$

As I mentioned in a recent post, I’ve just received a copy of Advanced Markov Chain Monte Carlo Methods. Chapter 1.4 in the book (very quickly) covers random variable generation. Inverse CDF Method A standard algorithm for generating random numbers is the inverse cdf method. The continuous version of the algorithm is as follows: 1.

## parser 0.0-12

November 28, 2010
By

I've pushed a new version of the parser package to CRAN. This is the first release that depends on Rcpp, which allowed me to reduce the code size and increase its maintainability. This also features a faster version of nlines, a function that r...

## Rcpp 0.8.9

November 28, 2010
By

Rcpp 0.8.9 was pushed to CRAN recently. Apart from minor bug fixes, this release concentrates on modules, with lots of new features to expose C++ functions and classes through R reference classes. The Rcpp-modules vignette has all the details, a...