3525 search results for "git"

Cash–Opportunity Lost or Opportunity Gained

November 7, 2012
By
Cash–Opportunity Lost or Opportunity Gained

Tom Brakke from http://researchpuzzle.com/ wrote a great thought piece Cash as Trash, Cash as King, and Cash as a Weapon for the CFA Institute blog.  My favorite part comes in the last paragraph: “That’s the kind of analysis that should be br...

Read more »

Make your own electoral map

November 7, 2012
By
Make your own electoral map

You’ve already seen everyone else’s electoral map (see this amazing array of maps from 2008), how would you like to make your own? Today’s Gist allows you to do just that — input (manually!) state-by-state results, and output a...

Read more »

rfigshare tutorial

November 6, 2012
By

Recently we at rOpenSci released our rfigshare package up on cran (or you can check out the most up to date version on github. So what’s so great about being able to create figshare articles through R? For some time now I’ve been advocating the use of a workflow that involves documents written in R...

Read more »

ggplot graphs in publications?

November 6, 2012
By
ggplot graphs in publications?

The grey background and/or default choice of colours for groups makes a ggplot graph stand out to any R user when seen in a presentation. But ggplot graphs get all ninja when it comes to publications, either that or not … Continue reading →

Read more »

Forest plots in R (ggplot) with side table

November 6, 2012
By
Forest plots in R (ggplot) with side table

A friend asked me to help with a forest plot recently. After chatting about what she wanted the end result to look like, this is what I came up with. grid.arrange(data_table, p, ncol=2) ## Warning: Removed 1 rows containing missing … Continue reading →

Read more »

analyze the national survey on drug use and health (nsduh) with r

November 6, 2012
By

the national survey on drug use and health (nsduh) monitors illicit drug, alcohol, and tobacco use with more detail than any other survey out there.  if you wanna know the average age at first chewing tobacco dip, the prevalence of needle-sharing,...

Read more »

Simulating Multiple Asset Paths in R

November 5, 2012
By
Simulating Multiple Asset Paths in R

I recently came across the Optimal Rebalancing Strategy Using Dynamic Programming for Institutional Portfolios by W. Sun, A. Fan, L. Chen, T. Schouwenaars, M. Albota paper that examines the cost of different rebablancing methods. For example, one might use calendar rebalancing: i.e. rebalance every month / quarter / year. Or one might use threshold rebalancing:

Read more »

Quick Post About Getting and Plotting Polls in R

November 5, 2012
By
Quick Post About Getting and Plotting Polls in R

With the election nearly upon us, I wanted to share an easy way I just found to download polling data and graph a few with ggplot2. dlinzer at github created a function to download poll data from the Huffington Post's Pollster API.The default is to dow...

Read more »

Another look at ideology of the US congress

November 5, 2012
By
Another look at ideology of the US congress

In response to last week's post on the rapidly increasing ideology of the US Republican Party, Mike Lawrence suggested another way of looking at the DW-NOMINATE ideology data. Rather than simply looking at boxplots of the congress scores by party over time, we could fit a smooth curve to get a better sense of the trends over time. Mike...

Read more »

Retrieving the VIX term structure in R

November 5, 2012
By

  Much of my time lately has gone into analyzing and trading products in the volatility complex.  As a result, I regularly watch the VIX term structure for continuations or deviations from trend.  To make analysis simpler, I’ve written some… Read more ›

Read more »