Blog Archives

The 2D-Harmonograph In Shiny

June 23, 2015
By
The 2D-Harmonograph In Shiny

If you wish to make an apple pie from scratch, you must first invent the universe (Carl Sagan) I like Shiny and I can’t stop converting into apps some of my previous experiments: today is the turn of the harmonograph. This is a simple application since you only can press a button to generate a random harmonograph-simulated … Continue reading...

Read more »

Shiny Wool Skeins

June 15, 2015
By
Shiny Wool Skeins

Chaos is not a pit: chaos is a ladder (Littlefinger in Game of Thrones) Some time ago I wrote this post to show how my colleague Vu Anh translated into Shiny one of my experiments, opening my eyes to an amazing new world. I am very proud to present you the first Shiny experiment entirely … Continue reading...

Read more »

Simple Data Science To Maximize Return On Lottery Investment

June 1, 2015
By
Simple Data Science To Maximize Return On Lottery Investment

Every finite game has an equilibrium point (John Nash, Non-Cooperative Games, 1950) I read recently this amazing book, where I discovered that we (humans) are not capable of generating random sequences of numbers by ourselves when we play lottery. John Haigh demonstrates this fact analyzing a sample of 282 raffles of 6/49 UK Lotto. Once … Continue reading...

Read more »

Bertrand or (The Importance of Defining Problems Properly)

May 13, 2015
By
Bertrand or (The Importance of Defining Problems Properly)

We better keep an eye on this one: she is tricky (Michael Banks, talking about Mary Poppins) Professor Bertrand teaches Simulation and someday, ask his students: Given a circumference, what is the probability that a chord chosen at random is longer than a side of the equilateral triangle inscribed in the circle? Since they must reach the … Continue reading...

Read more »

Odd Connections Inside The NASDAQ-100

May 8, 2015
By
Odd Connections Inside The NASDAQ-100

Distinguishing the signal from the noise requires both scientific knowledge and self-knowledge (Nate Silver, author of The Signal and the Noise) Analyzing the evolution of NASDAQ-100 stock prices can discover some interesting couples of companies which share a strong common trend despite of belonging to very different sectors. The NASDAQ-100 is made up of 107 … Continue reading...

Read more »

Analysing The Rock ‘n’ Roll Madrid Marathon

April 18, 2015
By
Analysing The Rock ‘n’ Roll Madrid Marathon

Nobody’s going to win all the time. On the highway of life you can’t always be in the fast lane (Haruki Murakami, What I Talk About When I Talk About Running) I started running two years ago and one if my dreams is to run a marathon someday. One month ago I run my first … Continue reading...

Read more »

Discovering Shiny

April 8, 2015
By
Discovering Shiny

It is not an experiment if you know it is going to work (Jeff Bezos) From time to time, I discover some of my experiments translated into Shiny Apps, like this one. Some days ago, I discovered one of these translations and I contacted the author, who was a guy from Vietnam called Vu Anh. … Continue reading...

Read more »

NASDAQ 100 Couples

March 25, 2015
By
NASDAQ 100 Couples

Heaven, I’m in heaven, and my heart beats so that I can hardly speak, and I seem to find the happiness I seek, when we’re out together dancing cheek to cheek (Cheek To Cheek, Irving Berlin) There are about 6.500 available packages in CRAN repository. If I were a superhuman, able to learn one package … Continue reading...

Read more »

The World We Live In #4: Marriage Ages

March 16, 2015
By
The World We Live In #4: Marriage Ages

It is time for women to stop being politely angry (Leymah Gbowee, Nobel Prize Peace Winner) Sometimes very simple plots give insight into we live in a world of differences. This plot shows the mean age at marriage for men and women across countries: Being a woman in some countries of this world must be a … Continue reading...

Read more »

Visual Complexity

March 10, 2015
By
Visual Complexity

Oh, can it be, the voices calling me, they get lost and out of time (Little Black Submarines, The Black Keys) Last October I did this experiment about complex domain coloring. Since I like giving my posts a touch of randomness, I have done this experiment. I plot four random functions on the form p1(x)*p2(x)/p3(x) where pi(x) are polynomials … Continue reading...

Read more »