Sampling from a mongoDB database

Recently, I had to deal with the challenge of drawing a random sample of tweets from a large database holding over 1TB of tweets that we have collected for a »

FizzBuzz

Three different implementations of FizzBuzz, a standard programming exercice. FizzBuzz is a word game in which any number divisible by 3 is replaced by "Fizz", every number divisble by 5 »

Game Of Life

This semester, I am taking a class taught by Prof. Freeman called Statistical Computing. Over time, I will create a series of posts about the material I am learning there; »

Finite Population Correction for Variance of Sample Mean

We wish to calculate the variance of the sample mean $\bar X$ when sampling from a finite population. We know that for a random sample $X_1, \ldots, X_n$ »

Arrow Functions in EcmaScript 6

Recently, I discovered the traceur compiler project by Google, and have been impressed by how easy it is to use and how cool some of the new features from EcmaScript »