Monthly Archives: April 2011

Running Phylip’s contrast application for trait pairs from R

April 26, 2011
By
Running Phylip’s contrast application for trait pairs from R

Here is some code to run Phylip's contrast application from R and get the output within R to easily manipulate yourself. Importantly, the code is written specifically for trait pairs only as the regular expression work in the code specifically grabs da...

Read more »

Statistical Practice in Epidemiology using R

April 26, 2011
By
Statistical Practice in Epidemiology using R

This is a long running course which usually takes place in Tartu, Estonia. This year we are hosting it at IARC in Lyon, France. The course is intended for epidemiologists and statisticians who wish to use R  for statistical modelling … Continue reading →

Read more »

Adonis (PERMANOVA) – Assumptions

April 26, 2011
By
Adonis (PERMANOVA) – Assumptions

Before you use PERMANOVA (R-vegan function adonis) you should read the user notes for the original program by the author (Marti J. Anderson) who first came up with this method. An important assumtption for PERMANOVA is same "multivariate spread&qu...

Read more »

Designing and Analyzing Studies with Optmatch and RItools (Part 1)

April 25, 2011
By

I am currently writing a brief “how-to” for the APSA Section on Experimental Research newsletter on using Optmatch and RItools. The complete paper (a work in progress) can be found on my github page. I have the basics of the paper sketched in, but I would love to get feedback from the online R community,...

Read more »

A Tiny Model of Evolution

April 25, 2011
By
A Tiny Model of Evolution

I've always wanted to write a(n overly) simple model of evolution. The assumptions are minimalistic: only one species, for which each individual's genotype is represented as a one-dimensional real number, e.g. 7.4. Now, the fun stuff: I define a fu...

Read more »

4 lines of R to get you started using the Rook web server interface

April 25, 2011
By
4 lines of R to get you started using the Rook web server interface

Jeffrey Horner's new Rook package provides a new interface for developing R-based web applications. Rook allows the same application to run in R's built-in web server or (soon) in the rApache module. This post shows how easy it is to use the package's Rhttpd class to get started with Rook.

Read more »

Job Search Part 4: Timing Beveridge Curve Movements During A Recession

April 25, 2011
By
Job Search Part 4: Timing Beveridge Curve Movements During A Recession

This economics blogger feels like he would be cheating the reader if he did not include recent work done by Barnichon and Figura (2010) on timing movements in the unemployment rate during recessions. That is why this is part 4 of my special 5 part mini...

Read more »

Milktrader: Quantitative finance in R

April 25, 2011
By

The blog Milktrader has been on a roll recently with a series of posts with practical examples of quantitative in finance, from backtesting to automated trading, and option pricing to data acquisition. The latest post focuses on calculating returns, with an example of downloading data for a silver ETF and calculating daily returns with the dailyReturn function in the...

Read more »

Kickstarter Data Analysis: Success and Pricing

April 25, 2011
By
Kickstarter Data Analysis: Success and Pricing

Kickstarter is an online crowdfunding platform for launching creative projects. When starting a new project, project owners specify a deadline and the minimum amount of money they need to raise. They receive the money (less a transaction fee) only if … Continue reading →

Read more »

Calculating DV01 using futile.paradigm

April 25, 2011
By
Calculating DV01 using futile.paradigm

Here’s a short example of using the futile.paradigm for calculating the DV01 of a bond. The basic idea is to …Continue reading »

Read more »