RcppArmadillo 0.2.3

June 15, 2010
By

The minor bug-fix release 0.2.3 of RcppArmadillo went to CRAN this morning. It adds a tiny bit of configuration to permit Sun Studio / suncc to successfully build the package. There is no code change, and no configuration change for the other platfo...

Read more »

New R User Group in Kassel, Germany

June 15, 2010
By

There's yet another local R user group launching this week, this time in Kassell, in central Germany. Their first meeting is on June 24. If my rusty German is holding up, looks like there will be some good discussion on editors and GUIs, how to find packages and functions, and R community resources. There's been lots of activity in...

Read more »

R for Matlab Users

My favorite software is Matlab, but partly because R is free, more and more people & companies choose to use R as a major working language. Nothing wrong with that, I am at the moment changing some of my Kalman Filter Matlab codes to R.One bothering issue is each software has its own...

Read more »

Faster R through better BLAS

June 15, 2010
By
Faster R through better BLAS

Can we make our analysis using the R statistical computing and analysis platform run faster? Usually the answer is yes, and the best way is to improve your algorithm and variable selection. But recently David Smith was suggesting that a big benefit of their (commercial) version of R...

Read more »

Faster R through better BLAS

June 15, 2010
By
Faster R through better BLAS

Can we make our analysis using the R statistical computing and analysis platform run faster? Usually the answer is yes, and the best way is to improve your algorithm and variable selection. But recently David Smith was suggesting that a big benefit of their (commercial) version of R...

Read more »

Clustergram: visualization and diagnostics for cluster analysis (R code)

June 15, 2010
By
Clustergram: visualization and diagnostics for cluster analysis (R code)

About Clustergrams In 2002, Matthias Schonlau published in “The Stata Journal” an article named “The Clustergram: A graph for visualizing hierarchical and . As explained in the abstract: In hierarchical cluster analysis dendrogram graphs are used to visualize how clusters are formed. I propose an alternative graph named “clustergram” to examine how cluster members are assigned to clusters as...

Read more »

plagiarism exposed!

June 14, 2010
By
plagiarism exposed!

Last morn, I had the surprise of receiving the following email: This is to inform you that the following abstract has been submitted to the 3rd International Conference of the ERCIM WG on COMPUTING & STATISTICS (ERCIM’10) Ab#: 114 Title: Goodness of Fit Via Mixtures of Beta distributions Keywords: nonparametric estimation, posterior conditional predictive p-value.

Read more »

In case you missed it: May Roundup

June 14, 2010
By

In case you missed them, here are some articles from last month of particular interest to R users. We linked to 13 videos for learning R, from the basics ("What is R?") to more advanced topics. We noted the release of R 2.11.1. We announced that Revolution Analytics makes its software available free of charge to the academic community....

Read more »

StatEt in Ubuntu 10.04

June 14, 2010
By

I wanted a “lightweight” version of Eclipse to run R from Ubuntu. (I installed eclipse-pde using apt-get. It worked fine.) Once it was running, I installed StatEt via the “Install new software” feature from http://download.walware.de/eclipse-3.5. While it was downloading, I … Continue reading →

Read more »

New R User Groups in Sydney, South Asia

June 14, 2010
By

For R users in the Southern Hemisphere on the other side of the Prime Meridian, there are two new entries in the Local R User Group Directory: Sydney and South Asia. The Sydney group wins the prize for the best group acronym ever: SURF. The Sydney Users of R Forum will have their welcome meeting on July 6 July...

Read more »

Repulsive dots pattern, the difference of distance

June 14, 2010
By
Repulsive dots pattern, the difference of distance

What if you wanted to randomly place objects into a field, and the more objects you had, the more they rejected newcomers placed nearby? To find out, I setup a simulation. The code, shown at the end, isn’t all that interesting, and the plots shown below aren’t all that special. I think there is one

Read more »

Example 7.41: hazard function plotting

June 14, 2010
By
Example 7.41: hazard function plotting

As we continue with our series on survival analysis, we demonstrate how to plot estimated (smoothed) hazard functions. RWe will utilize the routines available in the muhaz package. Background information on the methods can be found in K.R. Hess, D.M....

Read more »

June 20, online Registration deadline for useR! 2010

June 13, 2010
By

useR!2010 is coming. I am going to give two talks there (I will write more of that soon), but in the meantime, please note that the online registration deadline is coming to an end. This was published on the R-help mailing list today: ————- The final registration deadline for the R User Conference is June 20, 2010, one week...

Read more »

R Commander – data manipulation and summaries

June 13, 2010
By
R Commander – data manipulation and summaries

Previously we considered the R Commander interface as a simple GUI for the R statistical software system. Here we will look at how to undertake data manipulation and creating basic statistical summaries of data sets. Fast Tube by Casper The R Commander GUI has two menus “Data” and “Statistics” that are used for manipulating data sets and

Read more »

bug in schoolmath

June 13, 2010
By
bug in schoolmath

Neil Gunther has pointed out on his blog that the prime number decomposition R package schoolmath contains mistakes in the function primes, listing 1 as a prime number but also including decomposable numbers like 133 in its list of prime numbers: > primes(100,140) 101 107 111 113 123 129 131 137 > primes(50,140)  

Read more »

Beancounter minor bug fix release 0.8.10

June 13, 2010
By

A few month after the 0.8.9 release, we have another small update to beancounter. This version fixes a minor infelicity in the manual page (thanks to an Ubuntu and then Debian bug report) as well as a small coding bug where 'USD' was hard-coded when th...

Read more »

Beancounter minor bug fix release 0.8.10

June 13, 2010
By

A few month after the 0.8.9 release, we have another small update to beancounter. This version fixes a minor infelicity in the manual page (thanks to an Ubuntu and then Debian bug report) as well as a small coding bug where 'USD' was hard-coded when t...

Read more »

Primes in R (Part III): Schoolmath is Broken!

June 13, 2010
By

Here we are in Part III. Wait!? What happened to Parts I and II? Well, I started to write an article about Amdahl's law, parallelism and prime numbers, but found myself buried three levels deep trying to resolve problems with prime numbers in R. My normal inclination is to use Mathematica for such things, but I happened to...

Read more »

Primes in R (Part III): Schoolmath is Broken!

June 13, 2010
By

Here we are in Part III. Wait!? What happened to Parts I and II? Well, I started to write an article about Amdahl's law, parallelism and prime numbers, but found myself buried three levels deep trying to resolve problems with prime numbers in R. My normal inclination is to use Mathematica for such things, but I happened to...

Read more »

Dynamic Modeling 3: When the first-order difference model doesn’t cut it

June 12, 2010
By
Dynamic Modeling 3: When the first-order difference model doesn’t cut it

Data must be selected carefully.  The predictive usefulness of the model is grossly diminished if outliers taint the available data.  Figure 1, for instance, shows the Defense spending (as a fraction of the national budget) between 1948 and 1968. Note how the trend curve (as defined by our linear difference model from the last post: see

Read more »

R Tools for Dynamical Systems ~ bifurcation plot in R for system of ODEs

June 12, 2010
By
R Tools for Dynamical Systems ~ bifurcation plot in R for system of ODEs

As per request, here is the code that I wrote to draw bifurcation plots in R. Bifurcation diagrams for discrete maps can be done using this code by James Jones. It is a little easier since approximation is not needed. In the following code, I used the deSolve library to draw bifurcation diagrams for a

Read more »

A different way to view probability densities

June 12, 2010
By
A different way to view probability densities

The standard, textbook way to represent a density function looks like this: Perhaps you have seen this before? (Plot created in R, all source code from this post is included at the end). Not only will you find this plot in statistics books, you’ll also see it in medical texts, sociology, and even economics books.

Read more »

Prototype: More Web-Friendly Visualizations in R

June 12, 2010
By

I've spent some more time thinking about how best to put together the package for creating web-friendly, interactive data visualizations in R. I have a pretty substantial JavaScript package that does a lot of basic visualizations now, and it's really exciting to see where this is going. With this in mind, I'm releasing a new

Read more »

New R User Group in Atlanta

June 11, 2010
By

There's a new R User Group in Atlanta, GA. Well, it's not exactly new -- they've already had their first meeting -- but due to a cock-up on my part I failed to announce it at the time. (Memo to self: don't forget to star emails in Gmail that you have to follow up on!) There's a Google Group...

Read more »

The R Revolution on TV

June 11, 2010
By
The R Revolution on TV

I never thought I would ever embed videos from FOX on my blog, but this one needs to be covered: Watch the latest business video at video.foxbusiness.com Watch SPSS co-founder Norman Nie talking about the “… unbelievably powerful open source language called R …” and “… I am not sure that SPSS is our biggest

Read more »

Performance benefits of linking R to multithreaded math libraries

June 11, 2010
By

R wasn't originally designed as a multithreaded application -- multiprocessor systems were still rare when the R Project was first conceived in the mid-90's -- and so, by default, R will only use one processor of your dual-core laptop or quad-core desktop machine when doing calculations. For calculations that take a long time, like big simulations or modeling of...

Read more »

The Deepwater Horizon, in context

June 11, 2010
By
The Deepwater Horizon, in context

The Earth is pretty big. Give or take, it's about 36,000 feet (11km) to the height of a 747 soaring above Everest, and (in pleasing symmetry) about the same distance down the bottom of the Mariana Trench. (Nonetheless, if you shrunk the Earth down to scale, it would still be smoother than a billiard ball.) So I was surprised...

Read more »

Quantitative Candlestick Pattern Recognition (HMM, Baum Welch, and all that)

June 10, 2010
By
Quantitative Candlestick Pattern Recognition (HMM, Baum Welch, and all that)

Fig 1. Clustering based approach to candlestick Pattern Recognition. I've been reading a book titled, 'the Quants,' that I'm sure will tantalize many traders with some of the ideas embedded within. Most notably (IMO), the notion that Renaissance's Jame...

Read more »

R on TV

June 10, 2010
By

Had a fun day today in a TV studio for Fox Business News, where Revolution CEO Norman Nie was giving an interview to Liz Claman at Fox Business Network. As you might expect, the interview focused a lot more on the business side than on technical capabilities of Revolution R, but there was some good discussion of the impacts...

Read more »