OpenCPU at useR 2012

June 8, 2012
By

OpenCPU will be presented at useR 2012 in Nashville! Have a look at the abstract and the conference program. In the presentation we will introduce 3 inter-related projects which build on R: OpenCPU An open source framework for web development with R. Ohmage An open source system for large scale participatory sensing using mobile phones. ...

Read more »

Evaluation of Tactical Approaches

June 8, 2012
By
Evaluation of Tactical Approaches

Tactical approaches are often chosen based on the best cumulative return which implicitly incorporates significant hindsight bias.  Just because an approach dominates for a period of time does not indicate that it will be the best approach.  ...

Read more »

R starter resources

June 8, 2012
By
R starter resources

I’m hardly the first person you would want to talk to about learning statistics in R. But if you’re bent on teaching yourself R, and you’ve ended up at my blog, here are some resources I found useful. (No opinions here about whether R is good/bad better/worse than Excel, Minitab, Matlab, Octave, SPSS, Stata, SAS,

Read more »

Data Mining with R

June 8, 2012
By

Earlier this week, Revolution Analytics' Joe Rickert gave a webinar Introduction to R for Data Mining. You can watch the replay below: If you're already familiar with R and the basics of data mining, you might want to skip ahead to the 13-minute mark where Joe's live demo begins. There you'll see practical examples of using R for decision...

Read more »

The world’s top seven airlines in the style of…

June 8, 2012
By
The world’s top seven airlines in the style of…

The world’s top seven airlines in the style of NASA’s earth at night. (via Mapping the World’s Biggest Airlines | Spatial Analysis)

Read more »

Reproducible Research Using Sweave and LaTeX

June 8, 2012
By
Reproducible Research Using Sweave and LaTeX

Here are the slides given during the Montreal R User Group workshop on April 30, 2012. RR-MtlRUsers.beamer

Read more »

RSMC 2011 Typhoon Tracks

June 8, 2012
By
RSMC 2011 Typhoon Tracks

While at Puerto Princesa Airport in Palawan and waiting for my flight back to Manila, I opened my laptop and started doing what I usually do (practice may skills in R) on my idle time. With some inspirations from spatialanalysis.co.uk, I tried to make ...

Read more »

R, the master troll of statistical languages

June 8, 2012
By
R, the master troll of statistical languages

Warning: what follows is a somewhat technical discussion of my love-hate relationship with the R statistical language, in which I somehow manage to waste 2,400 words talking about a single line of code. Reader discretion is advised. I’ve been using R to do most of my statistical analysis for about 7 or 8 years now–ever

Read more »

Universal portfolio, part 4

June 7, 2012
By
Universal portfolio, part 4

The graph for figure 8.4 requires to be somehow careful about correctly lagging the CRP value when calculating the weights.# fig 8.4 of Cover "Universal Portfolios"require(logopt)x <- nyse.cover.1962.1984xik <- xnDays <- d...

Read more »

\STATE [algorithmic package]

June 7, 2012
By
\STATE [algorithmic package]

I fought with my LαTεX compiler this morning as it did not want to deal with my code: looking on forums for incompatibilities between beamer and algorithmic, and adding all kinds of packages, to no avail. Until I realised one \STATE was missing: (This is connected with my AMSI public lecture on simulation, obviously!) Filed

Read more »

First R meeting in Bordeaux, France

June 7, 2012
By

The program of the first R meeting that will be held in Bordeaux (France), the 2nd and 3rd of July, is now available at http://r2012.bordeaux.inria.fr/programme.html. It includes special sessions about mixed models, visualization, classification, data ...

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far.Making some improvements I have been posting for some time about incorporating more data into the models, and I...

Read more »

June 29: The Royal Statistical Society talks R

June 7, 2012
By

On June 29, the Royal Statistical Society will host six hours of presentations about R, under the banner "To R, or not to R, that is the question". Speakers include R Core member Prof Uwe Ligges, Dr Wayne Jones (from Shell UK), and Dr Peter Nash (from Imperial College London), among others. The event takes place June 29 at...

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far. Making some improvements I have been posting for some time about incorporating more data into the models, and I finally...

Read more »

Earthquake Density in the Philippines (2011-2012)

June 7, 2012
By
Earthquake Density in the Philippines (2011-2012)

 Using the same data and package from my previous post, but minor tweak on the code, I produced the map below:

Read more »

Choosing colour palettes. Part II: Educated Choices.

June 7, 2012
By
Choosing colour palettes. Part II: Educated Choices.

There are many resources on the use of colours in R, several packages, and a number of schemes already implemented in ggplot2. In the previous part, we saw how ggplot2 selects a default colour palette according to the type of variable, discrete or cont...

Read more »

Bill Veanables Workshop (Augsburg University, Germany :: 2-3 July 2012)

June 7, 2012
By

Bill Venables talks R :: Augsburg University, Germany :: 2-3 July 2012 Bill Venables will give a two-day R Workshop in Augsburg on the 2nd and 3rd July 2012, an expanded version of the course, which he has been invited to give at this year’s useR! meeting in Nashville. Details: www.math.uni-augsburg.de/termin/R-workshop.html Organised by the Department of Computer-Oriented Statistics and Data...

Read more »

NBA Playoff Predictions Update 4 (5-3)

June 7, 2012
By
NBA Playoff Predictions Update 4 (5-3)

This is update 4 to my original post about predicting the NBA playoffs with R. With the Thunder beating the Spurs and the Heat losing to the Celtics, the algorithm went 1-1 on predictions, making it 5-3 so far.Making some improvements I have been posting for some time about incorporating more data into the models, and I finally...

Read more »

Mapping the World’s Biggest Airlines

June 7, 2012
By
Mapping the World’s Biggest Airlines

The map above shows the routes flown by the top 7 airli

Read more »

Simulation in the profiling model

June 7, 2012
By
Simulation in the profiling model

In this post I try to make a small simulation of the sensory (flavour) profiling data, and examine if the parameters of simulated data can be retrieved by the Bayesian model build in the previous posts.The conclusion is that it is difficult, the amount...

Read more »

You should not use split in production code

June 7, 2012
By

Recently I have stumbled on a problem with split function applied on list of factors. The issue is that it might produce wrong splits when splitting factors contain dots.Here is the example of the problem. Invoking the following code:df <-...

Read more »

R functions to filter rjags results

June 7, 2012
By
R functions to filter rjags results

A while back I was running a bunch of JAGS models through R, using the rjags (written by Martyn Plummer) and R2jags (by Yu-Sung Su) packages. These packages provide a great interface to the JAGS software, which allows analysis of … Continue reading →

Read more »

PLoS topic page on ABC

June 6, 2012
By
PLoS topic page on ABC

A few more comments on the specific entry on ABC written by Mikael Sunnåker et al…. The entry starts with the representation of the posterior probability of an hypothesis, rather than with the posterior density of a model parameter, which seems to lead the novice reader astray. After all, (a) ABC was not introduced for

Read more »

Load Packages Automatically in RStudio

June 6, 2012
By
Load Packages Automatically in RStudio

I recently finished a long stretch of work on a particular project that required me to draw upon four R packages.  Each time I got back to my work on the project, I’d have to load the packages manually, as … Continue reading →

Read more »

Poverty Incidence in the Philippines

June 6, 2012
By
Poverty Incidence in the Philippines

Every three (3) years, the National Statistical Coordination Board (NSCB) publish data on provincial poverty incidence in the Philippines. Using R, I put the tabulated poverty incidence data into maps to check pattern and changes on the country's pr...

Read more »

Improving Monitor statistics with the "UECLs"

June 6, 2012
By
Improving Monitor statistics with the "UECLs"

New Monitor Video:Improving Monitor statistics with the "UECLs"

Read more »

Simulating the Birthday Problem with data derived probabilities

June 6, 2012
By
Simulating the Birthday Problem with data derived probabilities

You've probably heard of the Birthday Paradox: it only takes a small gathering of people before it's quite likely that two of them share the same birthday. You can solve the problem analytically or with simulation, but usually in either case simplifying assumptions are made (no-one born on February 29, for example). Joe Rickert uses Revolution R Enterprise 6...

Read more »

Body Weight in the United States – Part 1, "The Problem"

June 6, 2012
By
Body Weight in the United States – Part 1, "The Problem"

The Problem In the United States, people are getting fatter and they are doing so at an alarming rate. So What? Being fat isn't just a social stigma - it's unhealthy in nearly every facet of life. Staying in this condition brings high blood pressure, diabetes, asthma and arthritis to name...

Read more »

Claims reserving and IBNR with R

June 6, 2012
By
Claims reserving and IBNR with R

Following previous posts on life contingencies and longevity and mortality models, I upload additional material for the short course at the 6th R/Rmetrics Meielisalp Workshop & Summer School on Computational Finance and Financial Engineeri...

Read more »