New R User Groups in Europe

February 9, 2011
By

It's great to see the growth in R user groups around the world, and now there are three new ones in western Europe: In Amsterdam, a new R user group has just formed, called amst-R-dam. They are just scheduling their first meeting now (vote here for a date) which will be in the next 3-4 weeks; In Geneva, the...

Read more »

Merci taxi!

February 9, 2011
By
Merci taxi!

I am in Montpellier today for a general meeting of our EMILE ANR grant bi-yearly meeting, discussing ABC model choice and new applications of simulation methods in population genetics, including an upgrade of DIYABC into the 2.0 version. (The above is a picture comparing “true” Bayes factors with ABC versions, commented in my Zürich talk

Read more »

Troubling news for the teaching of evolution

February 9, 2011
By
Troubling news for the teaching of evolution

A recent survey reported in Science ("Defeating Creationism in the Courtroom, but not in the Classroom"),  suggests that high school teachers are not teaching evolution to the fullest extent, say, that grammar is being taught in the English c...

Read more »

Twos and Tens in Four Lines

February 9, 2011
By
Twos and Tens in Four Lines

To chart the spread between 2-Year treasury yields and 10-Year treasury yields,  please type the simple code listed below into your R console. That is all, carry on as you were.require(quantmod)getSymbols(c("DGS10", "DGS2"), src="FRED")Ten_Two <...

Read more »

Using R for Introductory Statistics, Chapter 5, Probability Distributions

February 9, 2011
By
Using R for Introductory Statistics, Chapter 5, Probability Distributions

In Chapter 5 of Using R for Introductory Statistics we get a brief introduction to probability and, as part of that, a few common probability distributions. Specifically, the normal, binomial, exponential and lognormal distributions make an appearance. For each distribution, R provides four functions whose names start with the letters d, p, q or r followed by...

Read more »

Using R for Introductory Statistics, Chapter 5, Probability Distributions

February 9, 2011
By
Using R for Introductory Statistics, Chapter 5, Probability Distributions

In Chapter 5 of Using R for Introductory Statistics we get a brief introduction to probability and, as part of that, a few common probability distributions. Specifically, the normal, binomial, exponential and lognormal distributions make an appearance....

Read more »

Create a Web Crawler in R

February 8, 2011
By
Create a Web Crawler in R

Admittedly I am not the best R coder, and I certainly have a lot to learn, but the code at the link below should provide you with an example of how easy it is to create a very (repeat: very) basic web crawler in R.  If you wanted to do this in SPSS, and I

Read more »

Opinions Not Backed by Money Are Not That Believable–Updated and with R

February 8, 2011
By
Opinions Not Backed by Money Are Not That Believable–Updated and with R

As an update to http://timelyportfolio.blogspot.com/2010/12/opinions-not-backed-with-money-are-not.html, I have updated the revised data, added the past two months, and translated to R. If the world really is overly bullish on stocks as some suggest, I...

Read more »

Ubuntu – Installing R and RGedit Plugin

February 8, 2011
By
Ubuntu – Installing R and RGedit Plugin

R is a fantastic bit of software which I have been using on and off for a number of years since I gave up on SAS due to their (free for academics) annoying licenses and limited support for the things I wanted to do – R is infinitely flexible and totally free. Installing R on

Read more »

Utilizing multiple cores in R

February 8, 2011
By

There are a couple of options in R, if you want to utilize multiple cores on your machine. These days my favorite is doMC package, which depends on foreach and multicore packages.in the section below squareroot for each number is calculated in parallel...

Read more »

Utilizing multiple cores in R

February 8, 2011
By

There are a couple of options in R, if you want to utilize multiple cores on your machine. These days my favorite is doMC package, which depends on foreach and multicore packages.in the section below squareroot for each number is calculated in parallel...

Read more »

command line options in R: "optparse" package

February 8, 2011
By

C/python style option parsing now available in R with "optparse" package. Check the documentation here and see below to see how it worksuser@node002 scripts $ Rscript filter.transcripts.by.ncRNA.R -husage:  usage: filter.transcripts.by.ncRNA.R [op...

Read more »

command line options in R: "optparse" package

February 8, 2011
By

C/python style option parsing now available in R with "optparse" package. Check the documentation here and see below to see how it worksuser@node002 scripts $ Rscript filter.transcripts.by.ncRNA.R -husage:  usage: filter.transcripts.by.ncRNA.R [op...

Read more »

sqldf and grouping rows in R

February 8, 2011
By

In R, you can treat tables (or data.frames as they are called in R) as SQL tables. That means you can query them as you would query a database with SQL commands. This is particularly useful 1) if you know SQL, hahah:)  2) if you have large tabl...

Read more »

sqldf and grouping rows in R

February 8, 2011
By

In R, you can treat tables (or data.frames as they are called in R) as SQL tables. That means you can query them as you would query a database with SQL commands. This is particularly useful 1) if you know SQL, hahah:)  2) if you have large tabl...

Read more »

Abstracts for R/Finance 2011 due February 15

February 8, 2011
By

If you're planning to go to R/Finance 2011 in Chicago (and if you're doing quantitative finance with R, you definitely should), time is running out to submit your abstract for contributed talks. The best part of R/Finance is learning about all the interesting ways R is used to analyze financial data, so why not share your experiences as you...

Read more »

Revolution in the News

February 8, 2011
By

Between the recent launch of Revolution R Enterprise 4.2 and the announcement of the SAS to R Challenge, there's been a flurry of recent news about Revolution Analytics and R in the media. Here's a quick recap: The Register's Timothy Prickett Morgan comments on the SAS to R Challenge: 'Red Hat for stats' goes toe-to-toe with SAS. "By supporting...

Read more »

Think academic journals look the same ? Well, some do…

February 8, 2011
By
Think academic journals look the same ? Well, some do…

We have seen yesterday that finding an optimal strategy to publish is not that simple. And actually, it can be even more difficult in the case the journal rejects the paper (not because it is not correct, but because "it does not fit" with the stan...

Read more »

rjags 2.2.0 for Mac OS X

February 8, 2011
By
rjags 2.2.0 for  Mac OS X

Version 2.2.0 of the rjags package for R is now available on CRAN. Previously, the version of rjags for Mac (2.1.0) was incompatible with the latest release of the JAGS library (2.2.0).  Let me know if you have any further … Continue reading →

Read more »

4 and a half myths about beta in finance

February 8, 2011
By
4 and a half myths about beta in finance

Much of what has been said and thought about beta in finance is untrue. Myth 1: beta is about volatility This myth is pervasive. Beta is associated with the stock’s volatility but there is more involved.  Beta is the ratio of the volatility of the stock to the volatility of the market times the correlation … Continue reading...

Read more »

R courses from Statistics.com

February 7, 2011
By

If you're looking for some in-depth training in R, here are some upcoming courses presented by R gurus and hosted by statistics.com to consider: Feb 11: Modeling in R (Sudha Purohit -- more details after the jump) Mar 4: Introduction to R - Data Handling (Paul Murrell) Apr 15: Programming in R (Hadley Wickham) Apr 29: Graphics in R...

Read more »

Example 8.24: MplusAutomation and Mplus

February 7, 2011
By
Example 8.24: MplusAutomation and Mplus

In recent entries (here, here, and here), we've been fitting a series of latent class models using SAS and R. One of the most commonly used and powerful software package for latent class model estimation is Mplus. This commercial software includes su...

Read more »

Special Offer: Rmetrics eBooks Bundle for Finance

February 7, 2011
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

Special Offer: Rmetrics eBooks Bundle for Finance

February 7, 2011
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

Replicating the Body Fat Example from "Bayesian Model Averaging: A Tutorial" (1999) with BMS in R

February 7, 2011
By
Replicating the Body Fat Example from "Bayesian Model Averaging: A Tutorial" (1999) with BMS in R

In their paper Bayesian Model Averaging: A Tutorial (Statistical Science 14(4), 1999, pp. 382-401), Hoeting, Madigan, Raftery and Volinsky (HMRV) do an exercise in Bayesian Model Averaging (BMA) at pp.394-397 in estimating body fat data from Johnson (...

Read more »

Mumbai, March 24-26, 2011 – R for Finance and Advanced Portfolio Optimization

February 7, 2011
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

Mumbai, March 24-26, 2011 – R for Finance and Advanced Portfolio Optimization

February 7, 2011
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

R Tutorial Series: Two-Way ANOVA with Interactions and Simple Main Effects

February 7, 2011
By
R Tutorial Series: Two-Way ANOVA with Interactions and Simple Main Effects

When an interaction is present in a two-way ANOVA, we typically choose to ignore the main effects and elect to investigate the simple main effects when making pairwise comparisons. This tutorial will demonstrate how to conduct pairwise comparisons when...

Read more »

R Tutorial Series: Two-Way ANOVA with Interactions and Simple Main Effects

February 7, 2011
By
R Tutorial Series: Two-Way ANOVA with Interactions and Simple Main Effects

When an interaction is present in a two-way ANOVA, we typically choose to ignore the main effects and elect to investigate the simple main effects when making pairwise comparisons. This tutorial will demonstrate how to conduct pairwise comparisons when...

Read more »