Gadget Graph

What is an exchangeability martingale?

Exchangeability martingales can be used to find strange or odd data points. The mechanics of exchangeability martingales is still a bit of a mystery to me. However, posted below are the basic components and how each step gets us to …

Broken Chain

Broken link checker analysis with R

You’ve found a few broken links on your blog or web site, and now you wonder whether there are more. Here’s a quick way to get a sense of how big the problem is. You could basically take 2 different …

teamwork

R set working directory using copy and paste

I used the setwd() function and pasted the directory, but there is an answer! By using readline(), you can paste the directory in with no issues: After hitting enter, you’ll be prompted for the directory. Paste the directory that you …

overflow

SQL stress test: Simulate full database

Simulating a full database is a beautiful stress test, but how the heck can this be done quickly with SQL Server? A full database is likely never encountered during development and probably completely forgotten during testing (it was in our …

baby_hand

Newborn app using Twitter and R

So you want to track your baby’s feedings and dirty diapers? Most digital solutions for newborn feeding trackers are either pricey or don’t make it easy for more than one person recording the feedings. I put together a convenient solution with …