- Introduced by
- David Krackhardt; David Dekker, David Krackhardt & Tom Snijders
- Year
- 1988 (MRQAP); 2007 (double-semipartialing test)
- Type
- Permutation-based multiple regression for dyadic (matrix) outcomes
- Family
- Dyadic network inference
What does it do?
Multiple regression quadratic assignment procedure (MRQAP) extends QAP to the regression setting: it predicts a dependent relational matrix from several independent relational matrices on the same actors, for example modeling who collaborates with whom as a function of co-location, shared department, and prior friendship.
Coefficients are estimated by ordinary least squares on the vectorized matrices, but significance is assessed by permutation, because dyadic dependence makes the usual parametric standard errors unreliable.
The intuition behind the method
MRQAP is regression in which each observation is a dyad and every predictor is itself a matrix of pairwise relations or similarities. The coefficients are the ordinary least squares estimates; the difficulty lies in the standard errors and p-values, because dyads that share an actor are not independent. MRQAP keeps the OLS coefficients but replaces the parametric tests with permutation tests. Several permutation schemes exist. The double-semipartialing (DSP) variant permutes a residualized predictor rather than the raw one, which is intended to keep the test well calibrated when predictor matrices are correlated with each other.
History
Krackhardt (1988) introduced nonparametric multiple regression analysis of dyadic data, the setting in which MRQAP is used. The double-semipartialing approach was presented as a new permutation method by Dekker, Krackhardt and Snijders (2007), who compared it with other MRQAP test schemes in a simulation study of Type I error and power.
When to use it
Use MRQAP when the outcome is a relation between actors and you want to assess the partial effects of several relational or attribute-similarity predictors, with permutation-based significance tests under dyadic dependence. It is a common choice for multivariate dyadic hypotheses, such as homophily on several attributes, multiplexity, or proximity effects, when the full sociomatrix is observed. Prefer ERGM when endogenous structural dependence (transitivity, popularity) is the substantive interest, and prefer the network autocorrelation model when the outcome is a nodal (actor-level) variable subject to peer influence rather than a relation. MRQAP requires complete matrices and assumes a linear additive form. Each coefficient is a partial association, net of the other predictors in the model, not a marginal one.
Limitations and considerations
- Models dyadic association only; it does not represent endogenous structural effects such as transitivity or degree heterogeneity, for which ERGM is the usual alternative.
- Assumes a linear, additive relationship between the predictor and outcome matrices.
- Requires complete relational matrices on a fixed, common actor set; missing or sampled dyads can bias the estimates.
- Permutation inference is computationally intensive for large networks and many predictors.
- Under extreme skewness combined with high spuriousness, all tests compared by Dekker et al. (2007) degraded, for gamma and negative binomial distributions.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Gives permutation-based significance tests that do not rely on the independence of dyads, which the p-values of standard regression assume.
- The Freedman-Lane and double-semipartialing methods were the most robust of the five methods in the 2007 simulations across the autocorrelation, spuriousness and skewness conditions studied.
- Estimates familiar regression coefficients for relational and attribute-similarity predictors, so effects can be read on the scale of the outcome.
- Accepts binary, valued, directed, or undirected relations as outcomes or predictors.
Applications
- Modeling inter-organizational collaboration as a function of geographic proximity and shared sector.
- Testing multiple homophily hypotheses (gender, tenure, department) on workplace friendship ties.
- Explaining international trade ties from alliance, distance, and language-similarity matrices.
- Relating communication frequency to formal reporting structure and physical co-location.
- Assessing multiplexity: whether one type of tie predicts another net of attribute similarity.
How it works
How it works
The dependent variable is a relation Y_ij between actors i and j, modeled as a linear function of one or more predictor relations X_ij^(k). Each predictor is a full matrix (a tie, a distance, or a similarity on some attribute), so the regression runs over the dyads rather than over individual actors.
Formula
Y_{ij} = \beta_0 + \sum_{k=1}^{K}\beta_k X^{(k)}_{ij} + \varepsilon_{ij}The matrices are stacked into vectors and ordinary least squares gives the coefficient estimates in the usual way. Dependence among dyads that share actors is addressed at the inference stage, so the permutation step is needed to judge the estimates.
Formula
\hat{\beta} = (X^\top X)^{-1} X^\top y,\quad y=\mathrm{vec}(Y),\ X=[\mathrm{vec}(X^{(k)})]To test a given coefficient, the double-semipartialing method regresses both the outcome and the predictor of interest on the remaining predictors and works with the residuals. The residualized predictor is then permuted, rather than the raw one, and the coefficient is recomputed for each permutation. Dekker, Krackhardt and Snijders (2007) found DSP, together with the Freedman-Lane method, to be the most robust of the five methods they compared.
Formula
e^{(k)} = Y - \hat{Y}_{-k},\quad \tilde{e}^{(k)} = X^{(k)} - \hat{X}^{(k)}_{-k},\quad \hat{\beta}^{(p)}_k = \text{coefficient of } \pi_p\bigl(\tilde{e}^{(k)}\bigr) \text{ in the regression of } e^{(k)}The reported p-value depends on the permutation scheme chosen. In a simple scheme, the rows and columns of the dependent matrix are permuted jointly (node-label permutation) and the coefficient is recomputed. In DSP, the residualized predictor is permuted instead. In either case, repeating the permutation many times builds a null distribution, and the p-value is the share of permuted coefficients at least as large in absolute value as the observed one.
Formula
\hat{p}_k = \frac{1}{B}\sum_{p=1}^{B}\mathbb{1}\bigl(|\hat{\beta}^{(p)}_k| \geq |\hat{\beta}_k|\bigr)Common pitfalls
- Using simple Y-permutation with correlated predictors, which can distort the Type I error rate; Dekker et al. (2007) compared several permutation schemes, including double-semipartialing, on this criterion.
- Not checking correlations among predictor matrices before fitting. The choice of permutation scheme matters most when predictors are collinear.
- Reporting the OLS parametric p-values instead of the permutation p-values, which removes the purpose of the procedure.
- Not reporting which permutation scheme produced the p-values. Check the permutation option in the software you use.
- Using a test statistic that is not pivotal: Dekker et al. (2007) found that all five methods perform better when the test statistic is pivotal.
- Leaving self-ties (the diagonal) in the matrices, or mishandling directed versus undirected dyads, which changes the regression.
- Interpreting coefficients as causal effects rather than as conditional dyadic associations given the other predictors.
Frequently asked questions
How does MRQAP differ from ERGM?
MRQAP regresses one relational matrix on others and tests dyadic associations with permutation inference, which addresses the non-independence of dyads rather than assuming it away. It does not model the network's own generative structure: ERGM specifies a full model including endogenous terms (transitivity, reciprocity, degree). Use MRQAP for exogenous dyadic predictors and homophily; use ERGM when self-organizing structure is the hypothesis.
Which permutation scheme should I use?
When predictor matrices are correlated with each other, permuting the raw dependent or predictor matrix can give a null distribution that does not match the partial effect being tested, which can distort Type I error. Dekker et al. (2007) found that the Freedman-Lane and double-semipartialing (DSP) methods were the most robust across the autocorrelation, spuriousness and skewness conditions they simulated. Either is a reasonable choice, and the scheme used should be reported.
Can MRQAP handle a continuous valued network?
Yes. The outcome and predictors can be valued (e.g., communication counts, similarity scores) rather than binary. The OLS estimation and permutation inference proceed identically; only the interpretation of the coefficients changes to reflect the valued scale.
Related methods
Sources
Krackhardt, D. (1988). Predicting with networks: Nonparametric multiple regression analysis of dyadic data. Social Networks, 10(4), 359–381.
Open DOI referenceDekker, D., Krackhardt, D., & Snijders, T. A. B. (2007). Sensitivity of MRQAP tests to collinearity and autocorrelation conditions. Psychometrika, 72(4), 563–581.
Open DOI reference