Why the Instrument Matrix Has a Triangular Structure
In a dynamic panel, differencing removes a time-invariant individual effect, but it also makes the differenced lagged outcome correlated with the differenced error. Difference GMM addresses this endogeneity using older levels of the outcome as instruments. The key construction question is practical: for each differenced equation, which levels are old enough to be valid instruments, and where do they go in the matrix?
The answer produces a row for each usable differenced equation. As time advances, more earlier outcome levels are available, so each successive row has a wider instrument block. In the construction below, instruments are kept separate by equation; this is the uncollapsed, equation-specific form of the individual instrument matrix.
Model, Moment Conditions, and Indexing
For clarity, consider a balanced panel with one dynamic regressor, the lagged dependent variable, and an individual effect:
Here \(y_{it}\) is the outcome for individual \(i\) in period \(t\), \(\rho\) is the dynamic coefficient, \(\alpha_i\) is a time-invariant individual effect, and \(u_{it}\) is an idiosyncratic error. First differencing gives
The differenced equation starts at \(t=3\), since it uses \(\Delta y_{i,t-1}\), which requires outcome observations at \(t-1\) and \(t-2\). The earlier material on differencing dynamic panels establishes the relevant moment conditions: when the level errors have no serial correlation and earlier outcomes are orthogonal to current and subsequent idiosyncratic errors, \(y_{is}\) is a valid instrument for the differenced error at \(t\) when \(s\leq t-2\).
The earliest differenced equation, at \(t=3\), therefore has just one available level instrument, \(y_{i1}\). The equation at \(t=4\) has \(y_{i1}\) and \(y_{i2}\), and the equation at \(t=5\) has \(y_{i1},y_{i2},y_{i3}\). The matrix records these choices row by row.
Definition and General Construction
Let \(\Delta u_i\) collect the differenced errors for the usable equations, ordered from \(t=3\) through \(T\). Let \(Z_i\) be the individual instrument matrix. Each row of \(Z_i\) corresponds to one differenced equation. Within that row, the instruments for that equation occupy their own block of columns, while the other equation blocks contain structural zeros.
For an individual with observations through period \(T\), the matrix has \(T-2\) rows. It has
columns. The first block has one column for the instrument in the \(t=3\) equation, the second block has two columns for the \(t=4\) equation, and so on. The zeros do not mean an instrument has a value of zero; they indicate that the column belongs to a different equation’s instrument block.
Written by blocks, the matrix is
Each bracketed entry in this display represents a block of columns, not a single scalar. The stacked differenced equation can then be written as \(\Delta y_i=\rho\Delta y_{i,-1}+\Delta u_i\), where both outcome vectors have \(T-2\) entries. The product \(Z_i'\Delta u_i\) collects the instrument-error products that contribute to the individual sample moments.
Worked Example: Three Differenced Equations
Suppose each individual is observed in periods 1 through 4. The differenced equations are for \(t=3,4\), and suppose the observed levels are \(y_{i1}=4\) and \(y_{i2}=7\). Construct the instrument matrix.
For \(t=3\), only \(y_{i1}\) is available. For \(t=4\), both \(y_{i1}\) and \(y_{i2}\) are available. The block widths are therefore 1 and 2, so the matrix must have 2 rows and \(1+2=3\) columns:
The first row is the \(t=3\) equation and contains its single eligible instrument, \(4\). The second row is the \(t=4\) equation and contains \(4\) and \(7\) in its equation-specific block. As a dimension check, \(T-2=2\) rows and \((T-2)(T-1)/2=2(3)/2=3\) columns.
How the Matrix Expands with Time
Adding a period adds one differenced equation and a new block containing all levels eligible for that equation. It does not alter the earlier equations’ instrument sets: their rows and blocks remain in place. For example, increasing the panel from \(T=4\) to \(T=5\) adds the \(t=5\) equation, whose eligible levels are \(y_{i1},y_{i2},y_{i3}\). The total number of columns rises from 3 to \(3+3=6\).
Here is the full matrix through \(T=5\), using hypothetical levels \(y_{i1}=2\), \(y_{i2}=3\), and \(y_{i3}=5\):
The row for \(t=3\) occupies the first block of width 1. The row for \(t=4\) occupies the next block of width 2. The row for \(t=5\) occupies the final block of width 3. The dimension check is \(T-2=3\) rows and \((T-2)(T-1)/2=3(4)/2=6\) columns.
Worked Example: Four Differenced Equations
Suppose observations are available through period 6 and the hypothetical outcome levels are \(y_{i1}=8\), \(y_{i2}=10\), \(y_{i3}=11\), and \(y_{i4}=15\). Construct the entire instrument matrix, not just its newest block.
The equations are dated \(t=3,4,5,6\). Their available instrument lists are, respectively, \([y_{i1}]\), \([y_{i1},y_{i2}]\), \([y_{i1},y_{i2},y_{i3}]\), and \([y_{i1},y_{i2},y_{i3},y_{i4}]\). Their block widths sum to \(1+2+3+4=10\), so \(Z_i\) has 4 rows and 10 columns:
The last row has six leading zeros because the first three equation blocks occupy \(1+2+3=6\) columns; its four nonzero entries occupy columns 7 through 10. In particular, the final entry is \(y_{i4}=15\). The dimension check gives \(T-2=4\) rows and \((T-2)(T-1)/2=4(5)/2=10\) columns.
To see what the columns represent, suppose the four differenced errors for this individual are \(0.2,-0.1,0.3,-0.2\), ordered by \(t=3,4,5,6\). Then
Each component is one instrument multiplied by the differenced error in the equation where that instrument is used. Across individuals, these contributions are aggregated to form sample moments. The calculation illustrates the matrix’s bookkeeping role; it does not by itself establish that the population moments are zero.
Justifying the Eligibility Rule
The lag cutoff can be checked directly from the differenced error. If the level errors are serially uncorrelated, then for \(s\leq t-2\), the level \(y_{is}\) is orthogonal to both \(u_{it}\) and \(u_{i,t-1}\), under the required initial-condition and timing assumptions. Consequently,
By contrast, \(y_{i,t-1}\) generally contains information about \(u_{i,t-1}\), so the second expectation in the same difference need not be zero. That is why the instrument list stops at \(t-2\), rather than including the immediately preceding level \(y_{i,t-1}\). The rule depends on the model’s moment assumptions; it is not a universal property of all lagged observations.
The increasing block widths follow from this cutoff: equation \(t\) has \(t-2\) eligible levels. Summing those widths from \(t=3\) to \(T\) gives
This count is for the displayed uncollapsed matrix with equation-specific instrument columns. It is a structural count implied by the construction, not a claim about how many distinct numerical values happen to appear in the matrix.
Common Mistakes and Why the Construction Matters
- Using too recent a level. Including \(y_{i,t-1}\) because it is the most recent observation ignores its possible correlation with \(u_{i,t-1}\), which enters the differenced error with a negative sign. The valid list under the stated moments ends at \(y_{i,t-2}\).
- Putting every instrument in every row. A level belongs in the instrument block for an equation only when its date satisfies \(s\leq t-2\). The block-and-zero layout makes this equation-specific availability explicit.
- Confusing the number of rows and columns. There are \(T-2\) differenced equations, hence rows, but the uncollapsed column count is the sum of the block widths, \((T-2)(T-1)/2\).
- Showing only a new block as though it were the full matrix. A new block can be displayed on its own, but it must be labelled as such. In the full matrix, its row must retain the preceding zero entries and the earlier rows must retain their original instrument entries.
Constructing \(Z_i\) carefully matters because the instrument matrix encodes which moment conditions are being used. A misplaced value or an incorrect block width changes those conditions, not merely the appearance of the notation. Before using a matrix, check the equation dates, the lag cutoff, the dimensions, and the alignment of every nonzero block.
Check Your Understanding
Use the uncollapsed, equation-specific construction and the stated moment-condition rule.
- For a panel observed through \(T=7\), how many differenced-equation rows and instrument columns does \(Z_i\) have?
- Which lagged levels are available as instruments for the differenced equation dated \(t=6\)?
- For \(T=5\), explain why the third row has a block of width 3 and identify the columns occupied by that block.
- Why is \(y_{i,t-1}\) generally excluded from the instrument list for the equation at time \(t\)?
- For the four-equation matrix in the worked example, how many leading zeros appear in its final row, and which outcome levels occupy the final block?