Boxplots & Beyond IV: Beanplots

Boxplots & Beyond IV: Beanplots

This post is the last in a series of four on boxplots and some of their extensions.  Previous posts in this series have discussed basic boxplots, modified boxplots based on a robust asymmetry measure, and violin plots, an alternative that essentia...

Read more »

Moving from Excel to R

March 5, 2011
By

This first post of the Backtesting in Excel and R series will provide some resources to help smooth the transition from the familiarity and comfort of Excel to the potentially strange and intimidating world of R.I made my voyage from Excel to R more th...

Read more »

Moving from Excel to R

March 5, 2011
By

This first post of the Backtesting in Excel and R series will provide some resources to help smooth the transition from the familiarity and comfort of Excel to the potentially strange and intimidating world of R.I made my voyage from Excel to R more th...

Read more »

Choropleths Made Easy!

March 5, 2011
By
Choropleths Made Easy!

Choropleth Maps are very useful to visualize spatial trends. There have been several blog posts providing detailed instructions on how to create a choropleth map in R using map, spplot and ggplot2. However, I believe that the p...

Read more »

Five ways to visualize your pairwise comparisons

March 5, 2011
By
Five ways to visualize your pairwise comparisons

In data analysis it is often nice to look at all pairwise combinations of continuous variables in scatterplots. Up until recently, I have used the function splom in the package lattice, but ggplot2 has superior aesthetics, I think anyway.Here a fe...

Read more »

Parallel processing in R for Windows

March 4, 2011
By

The doSMP package (and its companion package, revoIPC), previously bundled only with Revolution R, is now available on CRAN for use with open-source R under the GPL2 license. In short, doSMP makes it easy to do SMP parallel processing on a Windows box with multiple processors. (It works on Mac and Linux too, but it's been relatively easy to...

Read more »

New R code for ‘moving’ or ‘running’ correlations

March 4, 2011
By
New R code for ‘moving’ or ‘running’ correlations

Someone at the lab asked how to ‘do something like running means, but with correlations’. I couldn’t find any existing code that would make a good example, so I just wrote some myself. It would be nice to do this without looping. If anyone has a clever way to do this, please do let me

Read more »

RcppArmadillo 0.2.14 and 0.2.15

March 4, 2011
By

A few days ago Conrad Sanderson released version 1.1.6 of his Armadillo templated C++ library for linear algebra. Accordingly, I made a new release 0.2.14 of RcppArmadillo, our Rcpp-based integration into R which included a few local fixes. However, ...

Read more »

A Million Random Digits: review of reviews

March 4, 2011
By
A Million Random Digits: review of reviews

Recently on his blog (here), Robin mentioned an amazing book, called "A Million Random Digits" published by RAND corporation. The book was initially published in 1955, but RAND published a nice (and expensive) second edition. A great thing is that ...

Read more »

Death Spiral Warning Graph

March 4, 2011
By
Death Spiral Warning Graph

In the death spiral scenario, rates go up while the currency goes down.  Here is the way to watch that.  I’m not saying that death spiral of US Dollar and interest rates occurs, but without significant action to restore confidence in fiscal...

Read more »

Yet another R report generator, and more!

March 4, 2011
By
Yet another R report generator, and more!

I recently uploaded some code to R-forge related to an R package I’ve been working on, titled yarr. The work was motivated by a desire to embed R code and output within my HTML blog posts! Months ago, I wrote about a potential solution to this using the brew package. yarr is a new, but

Read more »

More on logging the outcome

March 4, 2011
By
More on logging the outcome

This one does my head in. I do it fairly regularly, lots of people do, but I find everytime it comes to interpreting the results I have to slow it right down and go step by step. Answer: When you log the outcome, then on the original scale, for all else constant, Y will be

Read more »

Video Introduction to R Packages by Rory Winston – Melbourne R Users February 2011

March 3, 2011
By
Video Introduction to R Packages by Rory Winston – Melbourne R Users February 2011

On February 17th 2011 Rory Winston gave a talk on creating R packages at the Melbourne R Users Group (see Meetup page). Slides from the talk can be downloaded here. For more information about Rory check out his blog The … Continue reading →

Read more »

Testing Multiple Linear Restrictions in R

March 3, 2011
By
Testing Multiple Linear Restrictions in R

This video shows a couple of things:1. How to test (multiple) linear restrictions in R.2. How to install a package in R. Here is the code I use in the video (with some extra comments).Here is the data set that I use in the video.

Read more »

Converting text files with sed

March 3, 2011
By

Sed is my friend to change fixed-width text files (e.g., from an R screen output) to a comma delimited file using sed 's/ */,/g' file1 >file2.csv Note the two spaces between s/ and */.

Read more »

Keep an Eye on the emerging Open-Source Analytics Stack

March 3, 2011
By

This post is contributed by Revolution Analytics CEO Norman Nie, and cross-posted from the Future of Open Source Forum. A lot of attention has been focused recently on Big Data, and rightly so: Big Data is a Big Deal. (See this LinuxInsider article, Big Data, Big Open Source Tools, for a compehensive overview of Big Data issues.) But what,...

Read more »

Creating R Packages

March 3, 2011
By

Rory Winston provides a detailed introduction to creating R packages. He provides a simple of, from start to finish, as well as how to incorporate native code into your package.

Read more »

3D Anisotropy parameters

March 3, 2011
By

Hello everyone, I’m trying to create a method for calculating the 5 parameters for the 3D anisotropy in an automatic way. Basically I created a loop for analysing the range of the horizontal variogram in every direction and extrapolating the maximum (for the angle p). Then it computes the vertical variogram in the direction of maximum...

Read more »

3D Anisotropy parameters

March 3, 2011
By

Hello everyone, I’m trying to create a method for calculating the 5 parameters for the 3D anisotropy in an automatic way. Basically I created a loop for analysing the range of the horizontal variogram in every direction and extrapolating the maximum (for the angle p). Then it computes the vertical variogram in the direction of maximum...

Read more »

cut&paste typo in R book

March 2, 2011
By
cut&paste typo in R book

A casualty of cut-and-paste in Chapter 3 of Introducing Monte Carlo Methods with R. Brad McNeney from Simon Fraser sent me a nice email about the end of Example 3.6 missing a marginal estimate. Indeed, it does. And it should have been obvious from the “estimates” we derived, 19 and 16, which are not even

Read more »

R Video Tutorial for Spatial Statistics

March 2, 2011
By

Welcome everybody, this is a video tutorial that will try to teach you how to use R for spatial statistics and interpolation. I’m a PhD student in soil science and in particular my project is about digital soil mapping. During my work I often use R particularly for geostatstical interpolation. ...

Read more »

R Video Tutorial for Spatial Statistics

March 2, 2011
By

Welcome everybody, this is a video tutorial that will try to teach you how to use R for spatial statistics and interpolation. I’m a PhD student in soil science and in particular my project is about digital soil mapping. During my work I often use R particularly for geostatstical interpolation. ...

Read more »

Investing with the Odds

March 2, 2011
By
Investing with the Odds

In this previous post, I showed that a look at the correlations in the daily returns of S&P 500 should have lead to a very profitable investing strategy. I also promised to show the results of this strategy in the 80s, but I am not going to do that, because MarketSci has done so in

Read more »

Calling R from JasperReports Server

March 2, 2011
By

Revolution Analytics today announced a partnership with Jaspersoft, the makers of the most widely-used business intelligence software in the world. With this partnership, Revolution R and Jaspersoft software work together to bring the power of analytics coded in R to business users working with Business Intelligence (BI) dashboards and reports. If you're a Jaspersoft or R developer and would...

Read more »

RStudio

March 2, 2011
By

All the cool kids are talking about it so I should take some time to plug RStudio, a free open source IDE for R. Unlike some of the “beginner” IDEs like Deducer, RStudio is not designed to offer menu based … Continue reading →

Read more »

Rcpp at Geneva-R

March 2, 2011
By

I'll present Rcpp at the inaugural Geneva-R meeting. Geneva-R is an informal gathering of R enthusiasts sponsored by Mango Solutions, that builds on the success of London-R, where I presented twice, and Basel-R

Read more »

Anova – Type I/II/III SS explained

March 2, 2011
By
Anova – Type I/II/III SS explained

Not my post, just bookmarking this. It’s from http://goanna.cs.rmit.edu.au/~fscholer/anova.php ANOVA (and R) The ANOVA Controversy ANOVA is a statistical process for analysing the amount of variance that is contributed to a sample by different factors. It was initially derived by R. A. Fisher in 1925, for the case of balanced data (equal numbers of observations

Read more »

The easiest way to get UTR sequence

March 2, 2011
By

I just figure out the way to query UTR sequences from ensembl by biomart tool. It is very simple compared with using bioperl to parse gbk files to extract UTR sequences. Read More: 236 Words Totally

Read more »

The easiest way to get UTR sequence

March 2, 2011
By

I just figure out the way to query UTR sequence from ensembl by biomart tool. It is very simple compare with using bioperl to parse gbk file to extract UTR sequence. Read More: 232 Words Totally

Read more »