One aspect of 1987 that does not deserve enough attention is interest rates. Higher interest rates constrain economic activity and compete with other investments. As seen in the chart below, the US 10year Treasury rate climbed 40% from 7% t...

R news and tutorials contributed by (552) R bloggers

This post is the introduction to a series that will illustrate how to backtest the same strategy in Excel and R. The impetus for this series started with this tweet by Jared Woodard at Condor Options. After Soren Macbeth introduced us, Jare...

This post is the introduction to a series that will illustrate how to backtest the same strategy in Excel and R. The impetus for this series started with this tweet by Jared Woodard at Condor Options. After Soren Macbeth introduced us, Jare...

If you're looking for some in-depth training in R, here are some upcoming courses presented by R gurus and hosted by statistics.com to consider: Feb 11: Modeling in R (Sudha Purohit -- more details after the jump) Mar 4: Introduction to R - Data Handling (Paul Murrell) Apr 15: Programming in R (Hadley Wickham) Apr 29: Graphics in R...

R, like all good programming languages, treats functions as first class objects. Users can create functions, pass them as arguments, and have them returned as the result of other computations. You may be familiar with passing functions as arguments if you have used the apply family of functions (i.e. apply, sapply, lapply, mapply). For example, to get get...