RSS Feed

A Journey into Data Science

  • A Deep Dive into A/B Testing Fundamentals

    Acme Corporation sells widgets. The new model, Widget K, has been highlighted on the front page of the company’s website. It’s a top-of-page banner-style image and the first thing you see when you visit the site. However, despite high traffic to the site, Widget K is not selling as well as anticipated. Let’s solve this problem with A/B testing.

    Read more »

  • An Introduction to Machine Learning Optimization

    In many supervised machine learning algorithms, we are trying to describe some set of data mathematically. In order to do this, we need to determine the coefficients of the formula we are trying to model. In machine learning, this is done by numerical optimization.

    Read more »

  • Calculating Confidence Intervals in R

    Confidence intervals show up everywhere in statistics. They allow us to express estimated values from sample data with some degree of confidence by providing an interval likely to contain the true population parameter we’re trying to estimate. There are several ways to calculate them, depending on the context.

    Read more »

  • Setting up R on macOS 10.15 Catalina (Complete Guide)

    This guide is intended to be a complete guide to setting up R (free desktop version) on a clean macOS Catalina installation. It shows how to get R, the R App and R Studio to all use the same R packages, as well as how to ensure installation of pre-built binary packages from CRAN when possible, or to otherwise build from C/C++, and Fortran source with OpenMP support.

    Read more »

  • Building with OpenMP on macOS 10.15 Catalina

    UPDATE: This article has been superseded by Setting up R on macOS 10.15 Catalina (Complete Guide)


    In my previous post Setting up R for Minimal Code Compilation and Maximum Speed, I discussed in detail how to set up R so that when you build from source, you can build against the OpenMP library. I was using macOS 10.14 Mojave. With the release of macOS Catalina, something had to break, right?

    Read more »