RcppArmadillo 0.2.34

December 13, 2011
By

And another quick bugfix release by Conrad Sanderson made it version 2.4.2 bug of Armadillo. And this is in RcppArmadillo release 0.2.34 which got to CRAN this morning The NEWS entry below summarises the changes. 0.2.34 2011-12-12 o Upgr...

Read more »

Maximum Covariance Analysis (MCA)

December 13, 2011
By
Maximum Covariance Analysis (MCA)

Maximum Covariance Analysis (MCA) (Mode 1; scaled) of Sea Level Pressure (SLP) and Sea Surface Temperature (SST) monthly anomalies for the region between -180 °W to -70 °W and +30 °N to -30 °S.  MCA coefficients (scaled) are below. The mode represents 94% of the squared covariance fraction (SCF).Maximum Correlation Analysis...

Read more »

Data is the new gold

December 13, 2011
By
Data is the new gold

We need more data journalism. How else will we find the nuggets of data and information worth reading? Life should become easier for data journalists, as the Guardian, one of the data journalism pioneers, points out in this article about the new open ...

Read more »

Unshorten (almost) any URL with R

December 13, 2011
By
Unshorten (almost) any URL with R

Introduction I was asked by a friend how to find the full final address of an URL which had been shortened via a shortening service (e.g., Twitter’s t.co, Google’s goo.gl, Facebook’s fb.me, dft.ba, bit.ly, TinyURL, tr.im, Ow.ly, etc.). I replied I had no idea and maybe he should have a look over on StackOverflow.com or, possibly,

Read more »

Create maps with maptools R package

December 13, 2011
By
Create maps with maptools R package

Baptiste Coulmont explains on his blog how to use the R package maptools. It is based on shapefile files, for example the ones offered by the French geography agency IGN (at départements and communes level). Some additional material like roads and railways are provided by the OpenStreetMap project, here. For the above map, you need

Read more »

RHadoop update: new tools for Hadoop map-reduce tasks in R

December 13, 2011
By

The open-source RHadoop project to integrate R and Hadoop continues apace, with a new version of the rmr package released this week. Changes in this version improve performance when storing and retrieving R objects from Hadoop with a native serialization process, support for equijoins (a MapReduce-style merge) and some new higher-level R functions to make writing map-reduce tasks simpler....

Read more »

I Work For The Internet !

December 13, 2011
By
I Work For The Internet !

UPDATE: code and figure updated at 647 AM CST on 19 Dec '11.  Also, see Jarrett Byrnes (improved) fork of my gist  here.The site I WORK FOR THE INTERNET is collecting pictures and first names (last name initials only) to show collective suppo...

Read more »

I Work For The Internet !

December 13, 2011
By
I Work For The Internet !

UPDATE: code and figure updated at 647 AM CST on 19 Dec '11.  Also, see Jarrett Byrnes (improved) fork of my gist  here.The site I WORK FOR THE INTERNET is collecting pictures and first names (last name initials only) to show collective suppo...

Read more »

I Work For The Internet !

December 13, 2011
By
I Work For The Internet !

UPDATE: code and figure updated at 1150 am CST.The site I WORK FOR THE INTERNET is collecting pictures and first names (last name initials only) to show collective support against SOPA (the Stop Online Piracy Act).  Please stop by their site and a...

Read more »

A prize of US$3,000,000 for a data mining competition to improve healthcare

December 13, 2011
By
A prize of US$3,000,000 for a data mining competition to improve healthcare

There is a data mining competition with a prize of $3,000,000. The target is to improve healthcare in US by identifying patients who will be admitted to a hospital within the next year, using historical claims data. The algorithm to … Continue reading →

Read more »

Some Fun with googleVis – Mapping Blog Visits on Google Map

December 13, 2011
By
Some Fun with googleVis – Mapping Blog Visits on Google Map

See stand-alone code to produce this map below.Read more »

Read more »

spider: an R package for species identity and evolution

December 12, 2011
By
spider: an R package for species identity and evolution

spider: Species identity and evolution is an R package developed by the Lincoln University molecular ecology lab group to do a range of analyses that various lab members wanted to run that were not yet implemented in R. In particular, the package provi...

Read more »

Backtesting Minimum Variance portfolios

December 12, 2011
By
Backtesting Minimum Variance portfolios

I want to show how to combine various risk measures I discussed while writing the series of posts about Asset Allocation with backtesting library in the Systematic Investor Toolbox. I will use Minimum Variance portfolio as an example for this post. I recommend reading a good discussion about Minimum Variance portfolios at Minimum Variance Sector

Read more »

Teaching Assistant with R expertise needed in Toronto

December 12, 2011
By

Services of a teaching assistant (TA) are required for a course in Applied Retail Research at Ryerson University in Toronto. The course will run from January to April 2012. Experience with statistical analysis  using R is required. For details on the course, please click HERE. To apply or read more about the position, please

Read more »

Pairs for the "P" (loadings) matrix

December 12, 2011
By
Pairs for the "P" (loadings) matrix

Ver primero: PCA file calculation with "R"See first:         PCA file calculation with "R"Podemos ver los diferentes planos que forman los PCs entre sí, con la función "Pairs" de "R".We can see all the combinat...

Read more »

How to Become an Efficient and Collaborative R Programmer

December 12, 2011
By

I may want to add a subtitle “Why R-Forge Must Die” (thinking of Barry Rowlingson’s talk earlier this year). I have been a GitHub user for two years, and I was mainly influenced by Hadley. Now I even feel a little bit addicted to GitHub (its slogan is “social coding”), because it is really convenient

Read more »

Default Convenience Functions in R (Rprofile.site)

December 12, 2011
By
Default Convenience Functions in R (Rprofile.site)

I keep my blog-reference-functions, snippets, etc., at github and want to source them from there. This can be achieved by utilizing a function (source_https, customized for my purpose HERE). The original function was provided by the R-Blogger Tony Brey...

Read more »

Mapping prosperity in France with R

December 12, 2011
By
Mapping prosperity in France with R

The choropleth below (created by Baptiste Coulmont) is a sort of prosperity map of France: the blue areas have high levels of personal income (actually, median household income tax paid divided by the number of household members), while the red areas have the lowest: The map was created with the help of GEOFLA "communes" shapefile (my high-school French begins...

Read more »

Time series cross-validation 3

December 12, 2011
By
Time series cross-validation 3

I've updated my time-series cross validation algorithm to fix some bugs and allow for a possible xreg term.     This allows for cross-validation of multivariate models, so long as they are specified as a function with the following ...

Read more »

Exploring Your Voter File with R

December 12, 2011
By
Exploring Your Voter File with R

We perform a voter file analysis for Wake County, NC using R.

Read more »

Tall big data, wide big data

December 12, 2011
By

After attending two one-day workshops last week I spent most days paying attention to (well, at least listening to) presentations in this biostatistics conference. Most presenters were R users—although Genstat, Matlab and SAS fans were also present and not one … Continue reading →

Read more »

Function for Adding Transparency to JPEG (Output = PNG)

December 12, 2011
By
Function for Adding Transparency to JPEG (Output = PNG)

..see the function-code HERE.

Read more »

Animation Newby Excercise with R-Package {animation}

December 12, 2011
By
Animation Newby Excercise with R-Package {animation}

Try this very simple & illustrative example for creating an animation with the animation package:myfun <- function ( ) { n = ani.options("nmax") x = sample(1:n) ...

Read more »

R, academia and the democratization of statistics

December 12, 2011
By
R, academia and the democratization of statistics

I am not a statistician but I use statistics, teach some statistics and write about applications of statistics in biological problems. Last week I was in this biostatistics conference, talking with a Ph.D. student who was surprised about this situation … Continue reading →

Read more »

How to Become an Efficient and Collaborative R Programmer

December 12, 2011
By

I may want to add a subtitle "Why R-Forge Must Die" (thinking of Barry Rowlingson's talk earlier this year). I have been a GitHub user for two years, and I was mainly influenced by Hadley. Now I even feel a little bit addicted to GitHub (its slogan is ...

Read more »

Regression Analysis

December 11, 2011
By
Regression Analysis

Regression Analysis ~about Long term data of earthquakes~ 1 Introduction I have attempted gaining a deeper und

Read more »

UseR! 2011 slides and videos – on one page

December 11, 2011
By

Links to slides and talks from useR 2011 - all organized in one page.Read more »

Read more »

Visualizing Gestures as Paths

December 11, 2011
By
Visualizing Gestures as Paths

Kaggle is hosting an exciting new competition in which the object is to learn to identify sequences of gestures from just one example of each gesture. I would bet this competition has a lot of potential to attract academics interested in machine learni...

Read more »

Rescuing Twapperkeeper Archives Before They Vanish, Redux

December 11, 2011
By
Rescuing Twapperkeeper Archives Before They Vanish, Redux

In Rescuing Twapperkeeper Archives Before They Vanish, I described a routine for grabbing Twapperkeeper archives, parsing them, and saving them to a local desktop file using the R programming language (downloading RStudio is the easiest way I know of getting R…). Following a post fron @briankelly (Responding to the Forthcoming Demise of TwapperKeeper), where Brian

Read more »