Tracking Long Term and Recent UAH Channel 5 Anomally Trends

May 9, 2010
By
Tracking Long Term and Recent UAH Channel 5 Anomally Trends

In this post I present  combined long term and recent trend charts of UAH Channel 5 temperature anomalies using R’s figure inside figure capability.  This approach provides a better picture of global temperature trends than UAH’s day-of-y...

Read more »

Book Review – Modern Applied Statistics with S by W. N. Venables and B. D. Ripley (Springer 2003)

May 9, 2010
By
Book Review – Modern Applied Statistics with S by W. N. Venables and B. D. Ripley (Springer 2003)

Order this book from Amazon Modern Applied Statistics with S (Fourth Edition) is one of the oldest and most popular books on Applied Statistics using R and S-plus. A large number of topics in Applied Statistics are covered in this book and it is certainly not for the faint hearted. A sound knowledge of

Read more »

Computational Statistics

May 9, 2010
By
Computational Statistics

Do not resort to Monte Carlo methods unnecessarily. When I received this 2009 Springer-Verlag book, Computational Statistics, by James Gentle a while ago, I briefly took a look at the table of contents and decided to have a better look later… Now that I have gone through the whole book, I can write a short

Read more »

Sweave with Emacs and ESS, problem solved!

May 9, 2010
By
Sweave with Emacs and ESS, problem solved!

With help from Seb, the nagging problem I had when trying to sweaving with Emacs and ESS (http://old.nabble.com/ESS-and-Sweave-td28339734.html) has been solved.First of all, apply the patch for ess-swv.el, provided by Seb. Second, set the default ...

Read more »

Using the update function during variable selection

May 9, 2010
By

When fitting statistical models to data where there are multiple variables we are often interested in adding or removing terms from our model and in cases where there are a large number of terms it can be quicker to use the update function to start with a formula from a model that we have already

Read more »

Forsythe’s algorithm

May 8, 2010
By
Forsythe’s algorithm

In connection with the Bernoulli factory post of last week, Richard Brent arXived a short historical note recalling George Forsythe’s algorithm for simulating variables with density when (the extension to any upper bound is straightforward). The idea is to avoid computing the exponential function by simulating uniforms until since the probability of this event is

Read more »

Basket Option Pricing: Step by Step

May 8, 2010
By
Basket Option Pricing: Step by Step

I find options fascinating because they deal with the abstract ideas of volatility and correlation, both of which are unobservable and can often seem like wild animal spirits (take the current stock market as an example). Understanding these subtle concepts is never easy, but it is essential in pricing some of the more exotic

Read more »

Initial Post

May 8, 2010
By
Initial Post

As a web application and database developer who has spent most of my time in the world Java, Ruby, Python and SQL, the R language has some unfamiliar functionality.This blog will be comprised of tips and tricks for making charts with the R language.

Read more »

Connecting R and Python

May 7, 2010
By

There are a few ways to do this, but the only one that worked for me was to use Rserve and rconnect. In R, do this: 1 2 3 install.packages("Rserve") library(Rserve) Rserve(debug = FALSE, port=6311, args=NULL) Then you can connect in Python very easily. Here is a test in Python: 1 2 rcmd = pyRserve.rconnect(host='localhost', port=6311) print(rcmd('rnorm(100)'))

Read more »

Revolution’s 2010 roadmap

May 7, 2010
By

As part of all the news from yesterday, we also announced our vision and roadmap for the Revolution R product line for 2010. You can see a short summary of our vision in this two-minute video, or see more details in the roadmap whitepaper available for download. But here's a quick overview of our plans: First, we intend to...

Read more »

Knowing whether a time-series has been differenced appropriately in order to make it stationary

May 7, 2010
By

Hello everybody,Today I would like to make you learn a simple method (and of-course using R) how to identify whether a time-series has been differenced appropriately while making it stationary.Suppose, you have made a series stationary by differencing it, now in order to know whether it is neither over nor under differenced subject the current series against next level...

Read more »

Knowing whether a time-series has been differenced appropriately in order to make it stationary

May 7, 2010
By

Hello everybody,Today I would like to make you learn a simple method (and of-course using R) how to identify whether a time-series has been differenced appropriately while making it stationary.Suppose, you have made a series stationary by differencing it, now in order to know whether it is neither over nor under differenced subject the current series against next level...

Read more »

A new site for the R community: inside-R.org

May 6, 2010
By
A new site for the R community: inside-R.org

We've just launched a beta/preview of a new website for the R community, inside-R.org. The site is sponsored by Revolution Analytics (who funded its development and maintenance), but it's designed for anyone who uses or has in an interest in the R Project generally. So, you might ask, why another community site for R, when there's already several R...

Read more »

Bayes vs. SAS

May 6, 2010
By
Bayes vs. SAS

Glancing perchance at the back of my Amstat News, I was intrigued by the SAS advertisement Bayesian Methods Specify Bayesian analysis for ANOVA, logistic regression, Poisson regression, accelerated failure time models and Cox regression through the GENMOD, LIFEREG and PHREG procedures. Analyze a wider variety of models with the MCMC procedure, a general purpose Bayesian

Read more »

R: choose file dialog box

May 6, 2010
By

Needed this one recently, it pops up a window to pick a file to be used by r, then reads the contents into myData: myFile

Read more »

How I came to R

May 6, 2010
By

J. D. Long will be giving an introduction to R - how he got into it when doing data analysis and what drew him to use it instead of complicated excel models.

Read more »

Revolution R Enterprise now free to academics

May 6, 2010
By

Unlike Revolution R Community which is 100% free to everyone, our commercial-grade Revolution R Enterprise distribution bundles R with proprietary components from our development team, which are normally available only to paying subscribers. (Those subscriptions are the way we get income to keep the company going.) Those components include our full ParallelR libraries for parallel programming, enhanced for 64-bit...

Read more »

Exporting R output to MS-Word with R2wd (an example session)

May 6, 2010
By

Creating reports is one of the basic tasks in data analysis. R provides numerous functions and packages to export it’s (beautiful) output and help compile it into a report. In this post I will present one such (basic) solution for Windows OS users for exporting R output into Microsoft Word using the R2wd (package). There are more ways and...

Read more »

REvolution Computing is now Revolution Analytics

May 6, 2010
By

So, as you may have noticed from the new banner here at the blog, we've changed our name to Revolution Analytics. It's still the same company and the same people, and still focused around the R Project, but now with a fresh new look and lots of exciting news. I'll be blogging about our new academic program, our new...

Read more »

R is like Ruby

May 6, 2010
By
R is like Ruby

There are many similarities between R and Ruby. - Learning both has been fun - "dude, i'm playing with R and love it." The excitement doesn't end!I'm totally addicted. - I keep discovering new and nifty things. Every time I hit an interesting pr...

Read more »

Mixed linear model approach adapted for genome-wide association studies

May 6, 2010
By

A few weeks ago I covered an R package for efficient mixed model regression that is capable of simultaneously accounting for both population stratification and relatedness to compute unbiased estimates of standard errors and p-values for genetic associ...

Read more »

Rearranging definitions in R

May 6, 2010
By
Rearranging definitions in R

I came up with a handy little trick for programming in R. I like to define a lot of variables all at once without worrying about what order they’re in. The goal would be something like this: K  = -R2/R1 … Continue reading →

Read more »

Candy branching process

May 5, 2010
By
Candy branching process

The mathematical puzzle in the latest weekend edition of Le Monde is as follows: Two kids are given three boxes of chocolates with a total of 32 pieces. Rather than sharing evenly, they play the following game: Each in turn, they pick one of the three boxes, empty its contents in a jar and pick

Read more »

Game of Life in R

May 5, 2010
By
Game of Life in R

Before I decided to learn R in a serious way, I thought about learning Flash/Actionscript instead. Most of my work involves evolutionary models that take place over time. I need visual representations of change. It’s certainly possible to represent change and tell an evolving story with a single plot (see for example Tufte’s favorite infographic),

Read more »

13 videos for learning R

May 5, 2010
By

Jeromy Anglim has just posted a nice round-up of instructional videos for learning R. The videos are categorized into four levels: What is R? Introductory R? Intermediate and Advanced Materials on R and Related Resources (including a link to written resources for getting started with R). Check out all the links at Jeromy's post, linked below. Jeromy Anglim's blog:...

Read more »

Fun with R: Clustering and MDS

May 5, 2010
By
Fun with R: Clustering and MDS

I've seen K-means clustering, PCA, etc. done some over at Beyond the Boxscore and Baseball Analysts (and the now defunct Statspeak), but I thought I'd just check out some clustering on the young fantasy season using the traditional 5x5 categories with ...

Read more »

Videos on Data Analysis with R: Introductory, Intermediate, and Advanced Resources

May 4, 2010
By

If you want to learn about R through videos, there are now a large number of options. This post provides links to many of these video under the headings of: (a) What is R? (b) Introductory R, and (c) Intermediate and Advanced R. What is R?If you are...

Read more »

Videos on Data Analysis with R: Introductory, Intermediate, and Advanced Resources

May 4, 2010
By
Videos on Data Analysis with R: Introductory, Intermediate, and Advanced Resources

If you want to learn about R through videos, there are now a large number of options.This post provides links to many of these video under the headings of:(a) What is R?(b) Introductory R, and(c) Intermediate and Advanced R.What is R?If you are evaluat...

Read more »

You won, but how much was luck and how much was skill?

May 4, 2010
By
You won, but how much was luck and how much was skill?

In baseball, what are the chances the winner will win again against the same opponent the very next day?

Read more »