# Monthly Archives: March 2010

## Finance::YahooQuote 0.23

March 25, 2010
By

Rule number one in regression testing is to not depend on volatile data. Which I seem to have violated in file t/02simple.t in the Perl package Finance::YahooQuote. Which lead the automated Perl test scripts to remind me for a few days now that the f...

## How Misinformed are Tea Party Protesters About Tax Policy?

March 25, 2010
By
$How Misinformed are Tea Party Protesters About Tax Policy?$

For those of you used to reading about international relations, I apologize for the following brief foray into American politics. It appears that the American Enterprise Institute and David Frum have decided to (abruptly) part ways. Before David left, however, he and his team of interns provided some interesting statistical insight into the

## R plotting fun

March 25, 2010
By

Not easy to produce cool looking graphs in R, but it can be done. The results of some messing around are above. Here is the code I used:

## Future of Open Source Survey – Results

March 25, 2010
By

The results of the 2010 Future of Open Source survey were presented at last week's Open Source Business Conference in San Francisco, and here are they are in slide format: While I was at the presentation I captured a few additional tidbits from the presentation that weren't in the slides. The continued growth of open-source generally was a prevalent...

## A von Mises variate…

March 25, 2010
By

Inspired from a mail that came along the previous random generation post the following question rised : How to draw random variates from the Von Mises distribution? First of all let’s check the pdf of the probability rule, it is , for . Ok, I admit that Bessels functions can be a bit frightening, but

## Create odf, pdf and html report from a single Sweave document

March 25, 2010
By

A lot of us know about Sweave and Latex and they work very well in creating elegant dynamic reports from R computation. However, sometimes we would like to also produce a word processing document for a colleague or a html version of the same report. Now there are tools for producing these like odfWeave. But

## NetLogo & R Extension

March 25, 2010
By

I'm really a heavy user of R and was so much before starting to do any agent based models. So the first thing I was looking in any software package for ABM was some automated link to R (much like spgrass6 for GRASS and R for GIS).  I thought  Repast Simphony was the way to go, since the website claims about...

## Matlab and R (getting started)

March 24, 2010
By

Matlab and R are two popular languages for data analysis and visualization. The similarity between the two languages is high. Both are interpreted languages that run in a shell-like environment (while also allowing to run scripts or functions written off-line). Both tend to be slow if your code contains many loops but are fast when

## Modified Donchian Band Trend Follower using R, Quantmod, TTR -Part 2: Parameter Sweep Sensitivity over long run

March 24, 2010
By

Here is a small update to the Donchian Channel type system I displayed in the last post.Fig 1. Sensitivity of Net Combined L/S Gain to parameter n.Using the S&P500 index as a proxy for the market, a simulation was run over the lifetime of the index. No...

## Using vectors to customize placement of tick marks and labels on a plot

March 24, 2010
By

OK, let's say you want to create a plot and you need an easy way to specify where along the scale your tick marks and labels land, as opposed to having R just decide itself. An easy way to do that is to create a vector and assign the axis characteristi...