Monthly Archives: September 2012

Thalesians, and other events

September 5, 2012
By
Thalesians, and other events

Featured Thalesians, London 2012 September 12. Chia Tan on “Practical Financial Modeling”. Abstract: Financial modelling is not a competition in the mastery of complexity. Rather, the aim is to come up with the simplest models adequate to capture salient market features of traded products. There exists a wide gulf between material covered by traditional books … Continue reading...

Read more »

Kendall’s Tau

September 5, 2012
By

Kendall’s Tau This is an example of Kendall’s Tau rank correlation.  This is similar to Spearman’s Rho in that it is a non-parametric measure of correlation on ranks.  It is an appropriate measure for ordinal data and is fairly straight forward when there are no ties in the ranks. When ties do exist then variations

Read more »

Amazing fMRI plots for everybody!

September 5, 2012
By
Amazing fMRI plots for everybody!

Dear valued customer, it is a well-known scientific truth that research results which are accompanied by a fancy, colorful fMRI scan, are perceived as more believable and more persuasive than simple bar graphs or text results (McCabe & Castel, 2007; Weisberg, Keil, Goodstein, Rawson, & Gray, 2008). Readers even agree more with fictitious and unsubstantiated

Read more »

Interactive web graphs with R – Overview and googleVis tutorial

September 5, 2012
By
Interactive web graphs with R – Overview and googleVis tutorial

Today I feel very lucky, as I have been invited to the Royal Statistical Society conference to give a tutorial on interactive web graphs with R and googleVis. I prepared my slides with RStudio, knitr, pandoc and slidy, similar to my Cambridge R talk. ...

Read more »

Merging Current Stock Quotes with Historical Prices

September 4, 2012
By
Merging Current Stock Quotes with Historical Prices

I got a question last week about going from the backtest to the trading. For example, if our system is based on today’s close, we can approximate the close value by the price at say 3:30pm, determine the signal and still have time enter the trade. It is not perfect, but one of possible solutions.

Read more »

Testing highlight.js with r code

I searched for a javascript plugin to highlighter code, but obviously not any code. I needed to higlight R. Finally I founded highlight.js. Highlights.js is pretty cool for many reasons. I like Highlights.js because:Support R lenguage....

Read more »

How to create random binary matrices in R

September 4, 2012
By

It all started off as a simple question from Scott Chamberlain on Twitter: Make m x n matrix with randomly assigned 0/1 -> apply(m, c(1,2), function(x) sample(c(0,1),1)) -- Better/faster solution? #rstats — Scott Chamberlain (@recology_) August 28, 2012 The goal was to create a matrix with randomly selected binary elements, and a predetermined number of rows and columns, that...

Read more »

BMR: Bayesian Macroeconometrics in R

September 4, 2012
By
BMR: Bayesian Macroeconometrics in R

The recently released BMR package, short for Bayesian Macroeconometrics with R, provides a comprehensive set of powerful routines that estimate Bayesian Vector Autoregression (VAR) and Dynamic Stochastic General Equilibrium (DSGE) models in R. The procedure of estimating both Bayesian VAR and DSGE models can represent a great computational burden. However, BMR removes a lot of

Read more »

omg lol brb txt l8r – Text Message Analysis, 2011-2012

September 3, 2012
By
omg lol brb txt l8r – Text Message Analysis, 2011-2012

IntroductionI will confess, I don't really like texting. I communicate through text messages, because it does afford many conveniences, and occupies a sort of middle ground between actual conversation and email, but that doesn't mean that I like it. E...

Read more »

RStudio is RStupendous

September 3, 2012
By

I am a sucker for beautiful applications (like the ggplot2 web tool mentioned here). The latest R-related application to catch my eye is RStudio. RStudio™ is a free and open source integrated development environment (IDE) for R. You can run it on your desktop (Windows, Mac, or Linux) or even over the web using RStudio

Read more »