Monthly Archives: February 2012

Using apply() to create a unique id

February 6, 2012
By
Using apply() to create a unique id

Suppose you have a data set with two identifiers. For example, maybe you're studying the relationships among firms in an industry and you have a way to link the firms to one another. Each firm has an id, but the unique unit in your data set is a pair...

Read more »

An R script for estimating future inflation via the Treasury market

February 6, 2012
By

One factor that is critical for any financial planning is estimating what future inflation will be. For example, if you’re saving money in an instrument that gains 3% per year, and inflation is estimated to be 4% per year, well then you’re losing m...

Read more »

Visualising Activity Around a Twitter Hashtag or Search Term Using R

February 6, 2012
By
Visualising Activity Around a Twitter Hashtag or Search Term Using R

I think one of valid criticisms around a lot of the visualisations I post here and on my various #f1datajunkie blogs is that I often don’t post any explanatory context around the visualisations. This is partly a result of the way I use my blog posts in a selfish way to document the evolution of

Read more »

The US market will absolutely positively definitely go up in 2012

February 6, 2012
By
The US market will absolutely positively definitely go up in 2012

The Super Bowl tells us so. The Super Bowl Indicator The championship of American football decides the direction of the US stock market for  the year.  If a “National” team wins, the market goes up; if an “American” team wins, the market goes down. Yesterday the Giants, a National team, beat the Patriots. The birth … Continue reading...

Read more »

googleVis 0.2.14 is released

February 5, 2012
By
googleVis 0.2.14 is released

Version 0.2.14 of the googleVis package was released on CRAN today.ChangesThe help files have been checked against changes of the Google Visualisation API, typos in the vignette have been ironed out (thanks to Pat Burns for pointing them out), a new se...

Read more »

Comparing correlations update

February 5, 2012
By

I have just published R code for calculating CIs for differences between correlations on the Serious stats book blog. This covers independent correlations (taken from chapter 6 of the book) and dependent correlations (new R code written as a suppl...

Read more »

Comparing correlations: independent and dependent (overlapping or non-overlapping)

February 5, 2012
By
Comparing correlations: independent and dependent (overlapping or non-overlapping)

In Chapter 6 (correlation and covariance) I consider how to construct a confidence interval (CI) for the difference between two independent correlations.  The standard approach uses the Fisher z transformation to deal with boundary effects (the squashing of the distribution and increasing asymmetry as r approaches -1 or 1). As zr is approximately normally distributed

Read more »

Rstudio and asreml working together in a mac

February 5, 2012
By

December and January were crazy months, with a lot of travel and suddenly I found myself in February working in four parallel projects involving quantitative genetics data analyses. (I’ll write about some of them very soon) Anyhow, as I have … Continue reading →

Read more »

RStudio Server part 2: pros of using RStudio server for a remote connection

February 5, 2012
By

After playing around with R studio server for a while, I decided to write a followup to my previous blog post. I want to go over a few of the strong points of using RStudio server to access a remote… See more ›

Read more »

rjags

February 5, 2012
By

Running 64 bit R, JAGS and rjags on EC2 Winbugs and Jags free Item Response Theory from the dot matrix plots of proprietary software and open up a multicoloured world of posterior predictive model checking. Fitting IRT models using brute force is not ...

Read more »