In order to perform certain statistical analyses associated with the regression discontinuity design (RDD), one must have an appropriate measure of distance from the frontier of the assignment region. For simplicity, let’s consider the case of two independent variables, but the metric we derive generalizes to n independent variables.
Let F denote the frontier, composed of two thresholds x = c1 and y = c2. Without loss of generality, assume the assignment rule is x ≥ c1 and y ≥ c2. Hence, the assignment region, A, is where both of these rules are satisfied. Then, the frontier can be written in set notation as F = {x = c1, y ≥ c2} ∪ {y = c2, x ≥ c1}. All of this fancy notation simply describes the following sketch:
The question we want to answer is: what does it mean for a subject to be ε > 0 away from the frontier?
In the case where either x ≥ c1 or y ≥ c2, the solution is relatively straightforward. The subject satisfies one of the assignment rules already, and so they only must increase (decrease) the other independent variable by ε to reach the frontier. For example, if x ≥ c1 for a subject, then they should be considered ε away from the frontier if their y variable is either ε more or ε less than the threshold y = c2. Again, a diagram clarifies this description:
All the points on the blue dashed line are ε away from the frontier F.
But what happens at the corner of the frontier, where both x < c1 and y < c2?
Here, it helps if we focus on our problem specification. First, recall that x and y are independent of each other. This means that a change in one of these variables does not provoke a change in the other. For a subject, this translates to only being able to move in horizontal and vertical motions in this space of attributes, not diagonally. Thus, what we really mean when we say a subject is ε away from the frontier, is that adding their horizontal and vertical distance from the frontier gives ε.
We also implicitly took the minimum distance to the frontier in the above cases; although we could calculate the distance between a point and any point on the frontier, we took the closest frontier point.
Using these two ideas, we can now derive the points that are ε from the frontier in the case where both x < c1 and y < c2 (we are below the assignment threshold in both variables). First, note that the closest frontier point that satisfies these conditions is the corner (c1, c2). The points that are ε away from the frontier corner, using our reasoning that subjects can only move horizontally and vertically, would be those whose difference in x-coordinate, Δx = |x − c1|, and difference in y-coordinate, Δy = |y − c2|, sums to ε. Such points form a triangular buffer around the frontier corner:
Formally, this is the l1-metric to the frontier, where the distance between a point p = (px, py) and a set, A, is abstractly defined as
For a point p = (p1, p2, ..., pn) ∈ ℝn and set A in the same space, this metric generalizes to