# Monthly Archives: March 2013

## From OpenOffice noob to control freak: A love story with R, LaTeX and knitr

March 8, 2013
By

Lately I had to write a seminar paper for a class and I decided to overdo it.But let's start at the very beginning. Here is my evolution of how I used to write stuff and how I got from this:to that:School: OpenOffice - I guess everyone has some&nb...

## ddply in action

March 7, 2013
By

Top Batting Averages Over Time Top Batting Averages Over Time reference:http://www.baseball-databank.org/ ShortI'm going to use plyr and ggplot2 to look at how top batting averages have changed over time First load the data: options(width = 100)library(ggplot2) ## Warning message: package 'ggplot2' was built under R version 2.14.2 library(plyr)data(baseball)head(baseball) ## ...

## geom_point Legend with Custom Colors in ggplot

March 7, 2013
By

Formerly, I showed how to make line segments using ggplot.Working from that previous example, there are only a few things we need to change to add custom colors to our plot and legend in ggplot.First, we'll add the colors of our choice. I'll do th...

## ggplot ggoldy

March 7, 2013
By

One of my graduate students worked some ggplot magic and created an almost Light Bright-esqe plot of our very own Goldy Gopher. She also, thoughtfully, published a tutorial on her blog. Read and enjoy!

March 7, 2013
By

In this post, I will show how to download CBS fantasy football projections using R. The R Script The R Script for downloading fantasy football projections from CBS is located The post Downloading CBS Fantasy Football Projections in R appeared first on Fantasy Football Analytics.

## Veterinary Epidemiologic Research: Linear Regression Part 2 – Checking assumptions

March 6, 2013
By

We continue on the linear regression chapter the book Veterinary Epidemiologic Research. Using same data as last post and running example 14.12: Now we can create some plots to assess the major assumptions of linear regression. First, let’s have a look at homoscedasticity, or constant variance of residuals. You can run a statistical test, the

## Stan 1.2.0 and RStan 1.2.0

March 6, 2013
By
$Stan 1.2.0 and RStan 1.2.0$

Stan 1.2.0 and RStan 1.2.0 are now available for download. See: http://mc-stan.org/ Here are the highlights. Full Mass Matrix Estimation during Warmup Yuanjun Gao, a first-year grad student here at Columbia (!), built a regularized mass-matrix estimator. This helps for posteriors with high correlation among parameters and varying scales. We’re still testing this ourselves, so The post Stan...

## Let’s Do Some Hierarchical Bayes Choice Modeling in R!

March 6, 2013
By

It can be difficult to work your way through hierarchical Bayes choice modeling.  There is just too much new to learn.  If nothing else, one gets lost in all ways that choice data can be collected and analyzed.  Then there is all this ou...

## Lambda.r 1.1.1 released (and introducing the EMPTY keyword)

March 6, 2013
By

I’m pleased to announce that lambda.r 1.1.1 is now available on CRAN. This release is mostly a bug fix release, …Continue reading »

## A volatility filter using historical vol

March 6, 2013
By

We have been looking at a way to improve risk adjusted returns by using a volatility filter. Although we could use VIX or equivalent, it turns out that historical volatility will work just as well, if not a little better.You can see part 1 here Digging into the VIX, and part 2 here What can we use...