# Monthly Archives: September 2012

## Estimating Pi with R via MCS-Dart: A very simple example of numerical integration, illustrated and computed in R.

September 12, 2012
By

Have you ever played Monte Carlo Dart? If not, read this post and learn how to do it with R and what it can be used for. In fact it is a very easy and prevalent example (which I have come across in a  computational economics course last spring semester) that demonstrates the idea behind numerical integration....

## R: Isarithmic Maps of Election Data (1/2)

September 12, 2012
By

In this tutorial I will show

## Testing highlight.js with R code

I searched for a javascript plugin to highlighter code, but obviously not any code. I needed to higlight R. Finally I founded highlight.js. Highlights.js is pretty cool for many reasons. I like Highlights.js because: Support R lenguage. It's easy to use. Works automatically. That's mean you don't have to put the code what are you writing. Highloght it does alone. A lot of...

## Computational Finance with R on Coursera

September 12, 2012
By

If you haven't signed up for the Introduction to Computational Finance and Financial Econometrics course taught by Eric Zivot on Coursera, it's not too late.  The second week just started and the first assignments aren't due until September 18th.J...

## Tutorials for Learning Visualization in R

September 12, 2012
By

Today's guest post comes from Nathan Yau. Nathan runs FlowingData, a site on statistics and visualization, and is the author of Visualize This. Years ago, when I started FlowingData, the purpose of the blog was to catalog and think out loud about visualization, in its many varieties. In the beginning I was talking to myself for the most part,...

## Association and concordance measures

September 12, 2012
By

Following the course, in order to define assocation measures (from Kruskal (1958)) or concordance measures (from Scarsini (1984)), define a concordance function as follows: let be a random pair with copula , and with copula . Then define the so-...

## Great Circles, Black Holes, and Community Events Part 2 of 3

September 12, 2012
By

This post will examine the Heber Valley Railroad, a small town tourist attraction using event gravitational pull. Using the information from part 1 the two factors associated with the events gravity, the number of participants, and the distance they traveled. The number of participants can be shown using bar charts, histograms, and summary tables. The distance traveled...

## Let’s go! (and Disclaimer)

September 12, 2012
By

Let's get that started ...Fun stuff with R coming soon!Disclaimer beforehand:The analyses I'll present are not meant to be taken too seriously in a scientific way. I just wanna show what you can do with R as a programming language, basic statistics and...

## Review of “Numerical Methods and Optimization in Finance” by Gilli, Maringer and Schumann

September 12, 2012
By

Previously This book and the associated R package were introduced before. Executive Summary A very nice — and enlightening — discussion of a wide range of topics. Principles The Introduction to the book sets out 5 principles.  This is probably the most important part of the book.  The principles are: We don’t know much in … Continue reading...

## How to check your package with R-devel

September 12, 2012
By

In response to an update to ggplot2 (now verson 0.9.2) I had to make some minor changes to our package TripleR. The CRAN maintainers also asked to … Please also fix other issues that may be apparent in checks with a current R-devel. Now, how can this be done? Here’s my workflow on Mac OS