Monthly Archives: August 2015

Confidence Interval Misconception Elimination with Examples

One of the most painful misconceptions for people learning statistics could be “how to interpret confidence intervals”. It is specially confusing because the correct textbook definition is very counter-intuitive, just like the famous Monty Hall problem. So here goes the … Continue reading

Leave a comment

C++ 11 Reference Initialization Intuitive Explanation Attempt

Seems to be a big confusion to me myself and very easy to forget so I have to refresh myself once in a while. Finally decide to summarize what I frequently run into in work in a short post for … Continue reading

Leave a comment

Plotting a 100 row data frame in R crashed my 40G memory server

A colleague asked about some strange error he ran into when trying to plot some simple data. He pasted his code snippet like below: The code seems to be pretty standard even though it’s a bit weird that time is … Continue reading

Leave a comment

R sqldf select with condition of one column “Like” another column

R’s sqldf is a powerful package that allows people to use sql grammar to work with a data frame.github Readme One question that I ran to today is how to select rows with one column like another column. We know … Continue reading

Leave a comment