Network Autocorrelation Model

Machine Learning
Introduced by
Patrick Doreian; Roger Leenders (weight-matrix synthesis)
Year
1980 (spatial/network models); 2002 (weight matrix)
Type
Regression with an autoregressive term on a network weight matrix
Family
Social influence / peer effects modeling

What does it do?

The network autocorrelation model adapts spatial-econometric regression to social networks.

In its effects specification, it explains an actor's outcome as a function of the actor's own covariates and a weighted combination of network partners' outcomes. The autocorrelation parameter ρ and the network weight matrix W together describe how strongly, and through which ties, outcomes are linked.

The intuition behind the method

If your opinions look like your friends' opinions, two explanations compete: you may influence each other (contagion), or you may have become friends because you were already alike (homophily). The network autocorrelation model formalizes the contagion account by adding a term to an ordinary regression, so that each actor's outcome depends partly on the outcomes of the people they are tied to. The coefficient on that term, ρ, indicates how far actors are pulled toward the same value. The main modeling decision is the weight matrix W, which specifies whose outcomes matter to whom and in what proportion.

History

The model adapts spatial econometrics, in which autocorrelation is modelled across geographic units. Doreian (1980) set out linear models for spatially distributed data, distinguishing spatial disturbances from spatial effects, and detailed the derivation of the maximum likelihood procedure for the disturbances model, building on earlier work by Ord (1975), and contrasted it with the procedure for the effects model. Leenders (2002) focused on constructing the weight matrix, which became a central practical problem for applying the model to social networks.

When to use it

Use this model when you have a single cross-sectional outcome measured on every actor, individual covariates, and a network among the same actors, and you want to estimate how strongly connected actors' outcomes are linked after adjusting for those covariates. Choose the effects specification when the theory points to direct outcome spillover, and the disturbances specification when it points to correlated unobserved context among neighbours. Do not use it to show that influence causes outcome similarity: with cross-sectional data it cannot separate influence from homophily or shared external shocks. Treat results as exploratory when W cannot be justified theoretically or when the network is small, because ρ is then imprecisely estimated. For questions about how ties and behaviour change together over time, longitudinal coevolution models such as the stochastic actor-oriented model are more appropriate. Key assumptions to check: the relationship between outcome and covariates is linear; the covariates and the network are treated as exogenous and fixed; the errors satisfy the distributional assumption used by maximum likelihood (usually independent normal errors); and I − ρW is invertible, which restricts ρ to a range determined by the eigenvalues of W.

Limitations and considerations

  • In cross-sectional form, ρ cannot separate influence from homophilous selection or from common external shocks.
  • Estimates depend strongly on the specification of W, and different W can lead to different substantive conclusions.
  • ρ is often estimated imprecisely in small networks.
  • The network is treated as exogenous and fixed. Tie formation and dissolution are not modelled, so reverse causation from outcomes to ties is not addressed.
  • Maximum likelihood relies on distributional and linearity assumptions, and ρ is only admissible within a range for which I − ρW is invertible.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Estimates the size of the autocorrelation parameter ρ within a regression framework, so covariates and network structure are modelled together.
  • Separates two mechanisms: the effects model places the dependence on outcomes, the disturbances model places it on errors, so the two can be compared.
  • Doreian (1980) shows that the maximum likelihood procedure is preferable to conventional regression that ignores spatial dependence when autocorrelation is present.
  • The weight matrix is specified by the analyst, so the influence structure can reflect a theory of how influence moves through ties.

Applications

  • Estimating peer influence on individual outcomes, such as adolescent behaviour or achievement, where the network of friendships defines W.
  • Modeling the spread of attitudes or practices among connected actors such as organisations or professionals.
  • Studying attitude convergence among connected members of a group.

How it works

How it works

1

In the effects specification, an actor's outcome y_i depends on a weighted combination of the outcomes of their alters (ρWy), on their own covariates (Xβ), and on an error term. A positive, significant ρ means that actors tied to high-outcome partners tend to have higher outcomes themselves, which is the pattern expected under social influence. Because of feedback through W, the coefficients β describe only the direct association of each covariate with the actor's own outcome. A change in one actor's covariate also affects alters' outcomes and, through them, returns to the actor, so indirect (spillover) and total effects differ from β and should be computed and reported separately rather than reading β as the full effect of a covariate.

Formula
y = \rho\,W y + X\beta + \varepsilon
2

In the disturbances specification, the autocorrelation sits in the error term rather than the outcome. Covariate effects are as in ordinary regression, but the residuals of connected actors are correlated. This represents shared unobserved context among neighbours, not direct outcome spillover, so a significant ρ here should not be read as contagion of the outcome itself.

Formula
y = X\beta + u,\quad u = \rho\,W u + \varepsilon
3

W defines who can influence whom. Its entries are nonnegative and its diagonal is zero, so that no actor influences themselves. Rows are commonly normalised to sum to one, so that each actor's outcome is compared with the average of their alters; this is a widespread convention, not a requirement of the model. Leenders (2002) addresses how W should be constructed from a theory of how influence travels, so the specification can follow substantive assumptions rather than convenience. Because estimates of ρ and the substantive conclusions depend on W, its construction should be justified and checked for sensitivity.

Formula
W_{ij}\geq 0,\ W_{ii}=0\quad(\text{commonly row-normalized: }\textstyle\sum_j W_{ij}=1)
4

Because Wy is correlated with the error term, ordinary least squares is not an appropriate estimator for the effects specification. Doreian (1980) describes maximum likelihood estimation for the spatial disturbances and spatial effects models and contrasts it with conventional regression that ignores spatial structure; he concludes that maximum likelihood is preferable when autocorrelation is present. The likelihood is evaluated jointly over ρ, the covariate coefficients β and the error variance, and includes a Jacobian (log-determinant) term arising from the transformation involving I − ρW. Maximum likelihood yields estimates of ρ, β and the error variance together. The significance of ρ, typically assessed with a Wald-type (z) or likelihood-ratio test, is then the test for social influence in the effects model, or for correlated context in the disturbances model. Such tests rely on large-sample approximations and on the assumed error distribution, so they are less reliable in small networks.

Formula
\hat{\rho},\hat{\beta},\hat{\sigma}^2 = \arg\max\ \ell(\rho,\beta,\sigma^2;\,y,W,X)\quad\text{(maximum likelihood)}

Common pitfalls

  • Reading a significant ρ as causal peer influence, when homophily or contextual confounding can produce the same correlation among neighbours.
  • Choosing W for convenience rather than from a theory of how influence travels, and then reporting the results as if they were a property of the network itself.
  • Estimating the effects specification by ordinary least squares, which ignores the dependence of Wy on the error term and yields biased coefficients.
  • Confusing the effects and disturbances models. They imply different mechanisms, so a result from one does not transfer to the other.
  • Interpreting β in the effects model as the full effect of a covariate, ignoring indirect and total effects that arise through feedback via W.

Frequently asked questions

Can this model prove that peers influence each other?

Not from cross-sectional data alone. A significant autocorrelation parameter is consistent with influence, but homophily (similar people connecting) and shared exogenous context can produce the same correlation among neighbours. Causal claims require longitudinal designs that observe the temporal order of network change and behaviour change, such as stochastic actor-oriented models.

How should I choose the weight matrix W?

The choice should follow from the theory of influence: how influence travels through the network, whether the relationship is symmetric, and whether rows should be normalised so that alters' outcomes are averaged. Leenders (2002) is devoted to constructing the weight matrix in this way. Sensitivity analysis across plausible W specifications is essential, because substantive conclusions can depend on that choice.

What is the difference between the effects and disturbances models?

The network effects model places the autoregressive term on the outcome (Wy), representing direct contagion of the outcome among connected actors. The network disturbances model places it on the error term, representing correlated unobserved influences among neighbours without direct outcome spillover. The two imply different social mechanisms and should be chosen on theoretical grounds.

Related methods

Sources

  1. Leenders, R. Th. A. J. (2002). Modeling social influence through network autocorrelation: Constructing the weight matrix. Social Networks, 24(1), 21–47.

    Open DOI reference
  2. Doreian, P. (1980). Linear models with spatially distributed data: Spatial disturbances or spatial effects? Sociological Methods & Research, 9(1), 29–60.

    Open DOI reference