Leaflet timeline in R

How to make a timeline of GPS measurements.

Read On →

Time Series analysis for Facebook message volume

Made for a class. Thought I'd share.

Read On →

Raising money for friends hurt by Hurricane Irma

For the last year I have been helping people in Cuba sell tourism services online. In practice, this usually means creating accomodation listings on sites like Airbnb...

Read On →

Implementing a Kalman filter in R for Android GPS measurements

I've been playing around with my data from Google...

Read On →

Costa Rican Saints

One of the first things a traveller notices when going to Costa Rica is that almost every town or city is named after a Saint. Growing up in Costa Rica, I just assumed this was something true of all Latin American countries, a legacy of Spanish colonial times. California has San Jose, San Fransisco, etc. I thought it was like that from California to Argentina. After some travelling in Latin America I realised this was simply not true. Read On →

Bayesian Images

Graphs to accompany my poster presentation. The data set The generated data is plotted below: Metropolis Hastings Algorithm This visual explanation of the Metropolis Hastings algorithm shows the proposal and the true density along with the Metropolis Hastings step. It was inspired and adapted from code by Balazs Torok. Diagnostic Plots for Beta 2 via Gibbs Sampler Autocorrelation Plot The autocorrelations are negligable, suggesting good mixing. Running Means Plot The running means have settled. Read On →

Thirteen hours in Rotterdam

Oscar Wilde once wrote: “Whenever a man does a thoroughly stupid thing, it is always from the noblest motives.” I bought a bus ticket from London to Rotterdam. I did this in order to save what effectively amounts to the price of a handful of beers in London prices. I needed to get to Budapest, and I already had a flight leaving from Rotterdam booked. I spent 8 excruciating hours on a bus from London Victoria to Rotterdam Centraal, to in Rotterdam at 5 am in a cold winter morning. Read On →

You are wasting your time with spreadsheets

This week I had an interesting conversation (as interesting as these conversations can get) about the use of spreadsheets in business. I am still a little bit surprised by how often they are used for things they are not really good for. Now, I don’t want to write about how there are better alternatives to spreadsheets. Instead, I’d like to illustrate how powerful non-spreadsheet tools are by describing a task I completed this week using R. Read On →

How to get your Facebook messages into R

It is a truism that we live in the information age, yet on a day to day basis we engage remarkably little with insights on the personal information we create. Sure, Netflix shows you films you want to see, Amazon offers books you want to buy and Facebook shows you pictures of cats with boobs or whatever it is you tend to click on, but explicit purpose of that is to get your money. Read On →

Alphabetically inspired anecdotes from Cuba: 58 years after 1958

Aviacion de Cubana There was no toilet paper on the Russian-made Antonov 158 plane which took me and 15 other passengers to Havana. The Cuban state airline, Cubana de Aviacion, clearly does not need have to meet profitability targets. Even the dry sandwich they served tasted of an iron curtain. Not unlike the other living political museum of China, immigration and customs is relatively straightforward. If you had to guess the political system of a country based on the border control procedures you’d probably guess the United States is authoritarian. Read On →