Monthly Archives: February 2012

Workshop on Mixed and Multilevel Modelling with R in Toronto

February 7, 2012
By

Summer Program In Data Analysis (SPIDA): May 24th – June 1st, 2012 In its thirteenth season this year, ISR’s Summer Program in Data Analysis focuses on linear models, beginning with “standard” regression through generalized linear models, and extending to mixed or multilevel models, linear and non-linear and generalized, which incorporate two or more hierarchical levels of data or longitudinal...

Read more »

What’s new in futile.paradigm 2.0.4

February 6, 2012
By
What’s new in futile.paradigm 2.0.4

Well this certainly took a while but the latest installment of my functional dispatching library for R is finally released …Continue reading »

Read more »

how to create a variable with r

February 6, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. 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,...

Read more »

how to do simple arithmetic in r

February 6, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. 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,...

Read more »

More Beautiful Growth of $1 Chart

February 6, 2012
By
More Beautiful Growth of $1 Chart

With all my recent focus on reporting and visualization, you might think that I have the investments all figured out.  Unfortunately, that is not the case, and I will resume more standard investment and systems posts soon.  I did want to shar...

Read more »

The anatomy of a Twitter conversation, visualized with R

February 6, 2012
By
The anatomy of a Twitter conversation, visualized with R

If you're a Twitter user like me, you're probably familiar with the way that conversations can easily by tracked by following the #hashtag that participants include in the tweets to label the topic. But what causes some topics to take off, and others to die on the vine? Does the use of retweets (copying another users tweet to your...

Read more »

General Bayesian estimation using MHadaptive

February 6, 2012
By
General Bayesian estimation using MHadaptive

If you can write the likelihood function for your model, MHadaptive will take care of the rest (ie. all that MCMC business). I wrote this R package to simplify the estimation of posterior distributions of arbitrary models. Here’s how it works: 1) Define your model (ie the likelihood * prior). In this example, lets build

Read more »

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 »