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

February 8, 2011
By

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...

## Ubuntu – Installing R and RGedit Plugin

February 8, 2011
By

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

## 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...

## 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...

February 8, 2011
By

## 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...

## 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...

## 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...

## 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...

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

February 8, 2011
By

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...

## rjags 2.2.0 for Mac OS X

February 8, 2011
By

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 →

## 4 and a half myths about beta in finance

February 8, 2011
By

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...

## 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...

## Example 8.24: MplusAutomation and Mplus

February 7, 2011
By

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...

February 7, 2011
By

February 7, 2011
By

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

February 7, 2011
By

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 (...

February 7, 2011
By

February 7, 2011
By

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

February 7, 2011
By

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...

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

February 7, 2011
By

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...

## R: Functions and environments and a debugging utility, oh my!

February 7, 2011
By

The Mark Fredrickson blog has a superb post on R functions and environments that's well worth checking out.He also includes a handy function for debugging:> fnpeek + env + if (is.null(name)) {+ return(ls(envir = env))+ }+ ...

## Reproducing the BMA exercise of Fernández, Ley and Steel (2001) in R

February 7, 2011
By

In their paper Model uncertainty in cross-country growth regressions (Journal of Applied Econometrics 2001), Fernández, Ley and Steel (FLS) demonstrate the use of Bayesian Model Averaging (BMA) for a cross-section economic growth data set. This tutor...

## Open data might be a false good opportunity…

February 7, 2011
By

I am always surprised to see many people on Twitter tweeting about #opendata, e.g. @data4all, @usdatagov, @datapublicatwit, @ProPublica or @open3 among so many others... Initially, I was also very enthousiastic, but I have to admit that open data a...

## Simple example:How to use foreach and doSNOW packages for parallel computation.

February 6, 2011
By

update************************************************************************************************I checked whether this example was run collectly or not in Windows XP(32bit) only ! ************************************************************************************************In R language, the members at Revolution R provide foreach and doSNOW packages for parallel computation. these packages allow us to compute things in parallel. So, we start to install these packages.install.packages("foreach")install.packages("doSNOW")Created by Pretty R at inside-R.orgIn...

## Simple example:How to use foreach and doSNOW packages for parallel computation.

February 6, 2011
By

update************************************************************************************************ I checked whether this example was run collectly or not in Windows XP(32bit) only !  ************************************************************************************************ In R language, the members at Revolution R provide foreach and doSNOW packages for parallel computation. these packages allow us to compute things in parallel. So, we start to install these packages. install.packages("foreach")install.packages("doSNOW") Created by Pretty R at inside-R.org In...

## Rhythms of Equality and Inequality

February 6, 2011
By

Today I unveil my very first statistical YouTube video! I will do anything to keep you statisfied, and if that means YouTube, then so be it. But first, some exposition: In Panama, 10 percent of the population owned 45 percent of the income in 2000, whereas the bottom 10 percent owned only 0.6 percent. How