Instrument Variables and AB Testing – Part 1

Written by varunnakra1 | Published 2024/05/09
Tech Story Tags: linear-regression | ab-testing | casual-analysis | bias | multicollinearity | confounding | instrument-variables | instrument-variables-math

TLDRThis article explores the Mathematical details of least squares estimator in an unbiased and biased settings due to model specification errors. via the TL;DR App

In my previous article, I delved into the statistical methods to perform causal analysis. One of the methodologies involved using “instrument variables”. We will delve deep into the math of that methodology in this article series. In the first part, we will cover the basics of model specification errors and confounding; and in the second part, we will cover the math behind instrument variables. Regression model specification errors – There are two prominent kinds of regression model specification errors:

  1. Specifying the model incorrectly by exclusion of relevant variables
  2. Specifying the model incorrectly by inclusion of irrelevant variables

Of course we will have to investigate how these regression model specification errors impact the regression. Before we do that, let’s cover the derivation of a basic result.

This proves that the least squares estimator is unbiased. Now, we go back to our earlier discussion on the regression model specification errors. Our objective will be to investigate the bias in the least squares error estimator because of those errors.

Now that we have covered the mathematical background of confounding, we are ready to delve deep into the math of instrument variables in the part 2 of this article.


Written by varunnakra1 | Machine learning and credit risk model developer, statistics and data science specialist
Published by HackerNoon on 2024/05/09