Monthly Archives: April 2014

What Can Go Wrong: My Favorite Example

April 28, 2014
By
What Can Go Wrong:  My Favorite Example

I’m one of many who bemoan the fact that statistics is typically thought of as — alas, even taught as — a set of formula plugging methods. One enters one’s data, turns the key, and the proper answers pop out. This of course is not the case at all, and arguably statistics is as much

Read more »

Floating table of contents for your html reports using knitr

April 27, 2014
By

If you love knitr and rstudio and use them to produce long reports, you probably know that you can produce a table of contents in your html (and pdf) documents. In the newer rstudio (Version 0.98.801 or later) you do it by requesting a toc in the doc header, something like this. title: "cssTest" output:

Read more »

Calendar Strategy: Month End

April 27, 2014
By
Calendar Strategy: Month End

Calendar Strategy is a very simple strategy that buys an sells at the predetermined days, known in advance. Today I want to show how we can easily investigate performance at and around Month End days. First let’s load historical prices for SPY from Yahoo Fiance and compute SPY perfromance at the month-ends. I.e. strategy will

Read more »

Introducing Statwing

April 27, 2014
By
Introducing Statwing

Recently, Greg Laughlin, the founder of a new statistical software called Statwing, let me try his product for free. I happen to like free things very much (the college student is strong within me) so I gave it a try. I mostly like how easy it is to use: For instance, to relate two attributes

Read more »

Project Tycho, Correlation between states

April 27, 2014
By
Project Tycho, Correlation between states

In this fourth post on Measles data I want to have a look at correlation between states. As described before, the data is from Project Tycho, which contains data from all weekly notifiable disease reports for the United States dating back to 1888...

Read more »

Le Monde puzzle [#869]

April 26, 2014
By
Le Monde puzzle [#869]

A Le Monde mathematical puzzle once again in a Sudoku mode: In an nxn table, all integers between 1 and n appear n times. If max denotes the maximum over the numbers of different integers on all rows and columns,  what is the minimum value of max when n=7? when n=11? I tried to solve

Read more »

What If You Dig A Hole Through The Earth?

April 26, 2014
By
What If You Dig A Hole Through The Earth?

It suddenly struck me that that tiny pea, pretty and blue, was the Earth. I put up my thumb and shut one eye, and my thumb blotted out the planet Earth. I didn’t feel like a giant. I felt very, very small (Neil Armstrong) Where would you come out if you dig a hole straight

Read more »

Great Resource for Teaching Statistics with R

April 26, 2014
By
Great Resource for Teaching Statistics with R

If you're having trouble teaching statistics using R, then you'll just love the statsTeachR collaboration. It's being launched officially at the 2014 New England Statistics Symposium today. Here's what it's about: "statsTeachR is an open-access, online repository of modular lesson plans, a.k.a. "modules", for teaching statistics using R at the undergraduate and graduate level. Each module focuses on teaching a...

Read more »

Why are R users so damn Stingy?!

April 26, 2014
By
Why are R users so damn Stingy?!

YES R!Looking at rapporter's recent blog post on "R activity Around the World", I am shocked by how few users actually monetarily support the R Foundation.  Looking at the US for instance there are only 27 donars representing a little more than 0....

Read more »

AISTATS 2014 / MLSS tutorial

April 25, 2014
By
AISTATS 2014 / MLSS tutorial

Here are the slides of the tutorial on ABC methods I gave yesterday at both AISTAST 2014 and MLSS. (I actually gave a tutorial at another MLSS a few years ago, on the pretty island of Berder in Brittany, next to Vannes.) They are definitely similar to previous talks and tutorials I delivered on this

Read more »