Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Three representations of the Ising model

## Abstract

Statistical models that analyse (pairwise) relations between variables encompass assumptions about the underlying mechanism that generated the associations in the observed data. In the present paper we demonstrate that three Ising model representations exist that, although each proposes a distinct theoretical explanation for the observed associations, are mathematically equivalent. This equivalence allows the researcher to interpret the results of one model in three different ways. We illustrate the ramifications of this by discussing concepts that are conceived as problematic in their traditional explanation, yet when interpreted in the context of another explanation make immediate sense.

## Introduction

Scientific advances can be achieved by two types of theories: those that simply seek to identify correlations between observable events without regard to linking mechanisms; and those that specify the mechanisms governing the relations between observable events (Bandura, p. 21).1.

Examining the structure of observed associations between measured variables is an integral part in many branches of science. At face value, associations (or their quantification in the form of correlations) inform about a possible relation between two variables, yet contain no information about the nature and directions of these relations. Making causal inferences from associations requires the specification of a mechanism that explains the emergence of the associations2,3. By constructing an explanatory model to account for associations in the data, that has testable consequences at the level of the joint distribution of variables, it is possible to test the adequacy of the model against the data. When the model is deemed sufficiently adequate with respect to the data, this is often perceived as justification for the proposed causal interpretation4.

We can discern (at least) three general frameworks, each representing a different mechanism to explain the emergence of associations between variables, with their own collection of corresponding explanatory models. These frameworks and their corresponding statistical models, all originate from different disciplines and have received considerable attention in diverse fields such as, physics, mathematics, statistical mechanics, causality, biology, epidemiology and social sciences. Although both authors originate from psychology and primarily illustrate their findings with examples from this field, the frameworks and models discussed in this paper clearly transcend the domain of psychology and as such have a multidisciplinary relevance. In the current paper we refer to these frameworks as, respectively, the common cause-, reciprocal affect- and common effect framework.

The common cause framework explains the observed associations through a latent (unobserved) variable acting as a common cause with respect to the manifest (observed) variables5. Causal models that propose a common cause mechanism as generating the associations between manifest variables, are also known as reflective models6,7; the manifest variables are indicators of the latent variable and reflect its current state. In the statistical literature, models in this framework are therefore often referred to as latent variable models. Latent variable models have proven to be extremely successful at fitting observed multivariate distributions, at the same time their theoretical and philosophical underpinning remains problematic. Latent variables are both a powerful and controversial concept, in psychology for example, the idea of psychological constructs as intelligence8,9 and personality10 being latent variables has been the subject of many intense debate. In particular about the question whether one should take a realist interpretation of latent variables, that is the latent variable signifying a real but hidden entity, to justify the use of latent variable analysis11,12. An important reason for this is that a latent cause is never observed and similar to physics around the turn of the 20th century, there was need for…

Popper, p. 21113. … an epistemological programme: to rid the theory of ‘unobservables’, that is, of magnitudes inaccessible to experimental observation; to rid it, one might say, of metaphysical elements.

It is in the reciprocal affect framework that we find such a programme without ‘unobservables’. In this framework the relations between variables are represented as is, in that, observed associations between manifest variables are explained as a consequence of mutualistic relations between these variables14. The idea that variables are associated as a consequence of reciprocal affect has been formalised in the field of network analysis15 and has been studied extensively in diverse field of science such as mathematics, physics and biology16,17,18,19. The Ising model is a suitable example of a statistical model in this framework, as it captures all main effects and pairwise interactions between variables20,21. While originally a model of ferromagnetism from statistical physics, in the last decade the Ising model has been adopted within the social sciences, where the network perspective has been gaining much popularity22,23,24,25. As an alternative for the latent variable perspective, the network approach has lead to valuable new insights about, for example, psychopathology and the aforementioned concept of intelligence26.

In the, final, common effect framework, observed associations between manifest variables are explained as arising from (unknowingly) conditioning on a common effect of these variables; the manifest variables are marginally independent with respect to each other, yet their collective state leads to the occurrence (or absence) of the effect27,28. Variables can act as the collective cause towards an effect in (at least) two ways, either as the separate indicators of an artificial compound score (e.g. Socio-Economic-Status, SAT)29, or as determinants of a naturally occurring phenomenon, such as agents culminating into the outbreak of an epidemic. In the statistical literature, the term collider variable models is used for this framework, as the collective state of the independent variables collides into the effect4,30. Because of the independence, one would naturally expect not to find any associations between these variables. However, from the literature on causality it is known that conditioning on a collider variable introduces (spurious) correlations among the variables functioning as the collective cause. This phenomenon is known as endogenous selection bias and will results in the observation of associations between the manifest variables30,31,32,33,34.

It is clear that each of these frameworks proposes a radically different explanation for the emergence of associations between a set of manifest variables. In this paper we argue that these differences only exist with respect to the theoretical interpretation of these frameworks. Specifically, we demonstrate that the prototypical statistical models for binary data in each framework are mathematically equivalent and that this equivalence extends to more realistic models that capture all main effects and pairwise interactions between the observed variables. Through this we obtain three, statistically equivalent, representations of the Ising model that each explain the occurrence of associations between binary variables by a theoretically very distinct mechanism.

## Results

### Prototypical models

To enhance the readability of this section we start by introducing the variables that return in all discussed models and clarify the mathematical notation used in the text and equations for the distribution functions. We will denote random variables with capital letters and possible realisations of random variables with lower case letters. We represent vectors with bold-faced letters and use boldfaced capital letters to indicate matrices for parameters. Manifest variables are denoted with Roman letters, whereas we use Greek letters to indicate latent variables and parameters that need be estimated.

In the context of the paper we are primarily interested in the vector X = [X1, X2, …, XN], consisting of N binary random variables that can take +1 and −1 as values, as we look to the mechanism by which the three frameworks explain the observed associations between the realisations of this vector denoted by x = [x1, x2, …, xn]. Furthermore, each of the models we discuss includes a vector containing the main effect parameters δ = [δ1, δ2, …, δn], consisting of N numbers in . Except for equation (1) which we write out in full, we use ∑i and ∏i to denote respectively and for the remainder of the equations. Additionally, we use p(x) to denote p(X = x), which extends to all variables in both conditional and joint probability distributions, such that we can read it as the probability of observing some realisation of the random vector X, optionally, conditional on, or together with, the realisation of some other variable.

We consider the Rasch model35, an Item Response Theory (IRT) model from the field of psychometrics, as the prototypical model for binary data in the common cause framework. Historically, the Rasch model has been developed for modelling the responses of persons to binary scored items on a test. The model is graphically represented in Fig. 1(a) as a Directed Acyclic Graph (DAG)36, where the latent random variable Θ acts as the common cause of the manifest random variables X. The Rasch model is characterised by the following distribution for the manifest variables (X), conditional on the latent variable :

The marginal probabilities for X can be obtained by endowing Θ with a distribution as shown in equation (2). While this gives us an expression for the manifest probabilities of the Rasch model, for almost all choices for the distribution of f(θ), this expression becomes computationally intractable.

In the traditional interpretation of the Rasch model, xi indicates whether the response to item i is correct (xi = +1) or incorrect (xi = −1). In this context, the continuous random variable (Θ) represents the latent ability being examined by the set of items (X). The vector δ contains the item main effects, where δi represents the easiness of item i, such that −δi represents the difficulty of item i with respect to the measured ability. The response of an individual on item i is a trade-off between the ability of the person (θ) and the item difficulty (−δi). When the ability of the person is greater than the difficulty of the item, the probability for a correct response will be higher than for an incorrect response (θ > −δip(xi = 1) > p(xi = −1)), if the ability of the person is lower than the item difficulty the reverse holds (θ < −δip(xi = 1) < p(xi = −1)). As such, persons with a greater ability will always have a higher probability of giving a correct response and persons always has a higher probability for a correct response on an easy item than on a more difficult item. A key property of the Rasch model is that of local independence, which entails that only variation in Θ determines the probability for a response on an item. That is, conditionally on the state of the latent variable all manifest variables are independent, such that marginally (with respect to the latent variable) they are dependent. Consequently, any observed associations between the manifest variables can be traced back to the influence of the latent variable. It is the latent variable that causes the associations on the manifest variables, which is why the Rasch model falls within the common cause framework.

For the reciprocal affect framework we examine the Curie-Weiss model from statistical physics37,38,39, originally used to model the state of a set of magnetic moments, for which the thermodynamical properties correspond to that of the classical Curie-Weiss theory of magnetism and where the pairwise interactions between the magnetic moments are replaced by the mean magnetisation. Graphically, the Curie-Weiss model can be represented as an undirected graph wherein the manifest variables (X), representing the set of magnetic moments, are fully connected with each other and all connection are of equal strength, as illustrated in Fig. 1(b). The distribution of the manifest variables (X) in the Curie-Weiss model is given by:

In the conventional interpretation of the Curie-Weiss model, xi indicates that the magnetic spin of moment i is upward (xi = +1) or downward (xi = −1), whereas the main effect for each moment (δi) indicates the natural preference of moment i to be in an upward (δi > 0) or downward (δi < 0) spin position, due to the external magnetic field not present in X. In equation (3) we use Z to represents the normalising constant, in thermodynamical systems often referred to as the partition function, that makes the distribution sum to one. In the Curie-Weiss model, this partition function sums over all 2N possible configurations of the vector X, which we denote in this paper as and is given by the following expression:

As the pairwise interactions between the magnetic moments are replaced by the mean magnetisation, all interactions are captured by the squared sum of the set of moments in the exponential of the Curie-Weiss distribution. By averaging over individual interactions between magnetic moments, the Curie-Weiss model is the simplest non-trivial model that exhibits a phase transition in statistical mechanics. However, because the model violates fundamental principles of statistical physics and its predictions are only partially verified by experiments, it is considered as being mainly of theoretical interest37. Nonetheless, due to its simplicity, the Curie-Weiss model has been useful in understanding the dynamics of equivalent phenomena in more realistic systems, such as the Ising model39. Still, it is clear that as the observed associations between magnetic moments are presumed to emerge due to the magnetic interaction between these moments themselves, the Curie-Weiss model falls within the reciprocal affect framework.

Whereas in the Rasch model, from the common cause framework, associations between manifest variables are explained by the latent variable Θ, in the Curie-Weiss model, from the reciprocal affect framework, these associations are captured in the squared sum of the set of moments in the exponential of the distribution. The key ingredient for establishing the connection between these two models has been known for a long time and has also been rediscovered quite a few times in quite diverse fields of science37,40,41,42,43,44,45. It was in his Brandeis lecture that Mark Kac37 established the relation between the Curie-Weiss model and the Rasch model through an ingenuous use of the following Gaussian integral:

What Kac realized is that whenever you see the exponential of a square, you can replace it with the right hand side integral from equation (5). In the Methods section we demonstrate that applying this Gaussian identity to the Curie-Weiss distribution from equation (3) linearises the squared sum in the exponential and introduces a random variable Θ, such that we obtain a latent variable representation of the Curie-Weiss model. We then show that because the square in the exponential is gone, we can rewrite the expression for the latent variable representation of the Curie-Weiss model such that, both the marginal distribution of the manifest variables and that of the manifest variables conditional on θ, are identical to that of the Rasch model from equation (1) and equation (2). Having established the relation between the prototypical models from the common cause and reciprocal affect framework we turn to our third framework.

For the common effect framework we consider X as a set of independent random variables, which we will collectively call the cause, together with a single dependent binary random variable (E), which we will call the effect. Their joint distribution, given in equation (6), is a collider structure and can be graphically represented in a DAG as illustrated in Fig. 1(c).

In this collider distribution, xi indicates if cause i is active (xi = +1) or inactive (xi = −1), whereas (e) indicates whether the effect was present (e = 1) or absent (e = 0) at that time. The main effect for each cause (δi) denotes the natural predisposition for cause i to be active (δi > 0) or inactive (δi < 0) at any given time. As mentioned and shown by equation (9) in the Methods section, are the individual causes independent of each other in the marginal distribution of X. As a consequence when we marginalise X with respect to E, the causes will not show any associations among each other. From the literature on causality it is however known that selection with respect to a common effect variable will introduce (spurious) correlations among the causes. That is, by using only observations of x where the common effect is present (e = 1), this set of observations will show a pattern of associations among the causes. This is known as endogenous selection bias with respect to a collider variable and can be mathematically represented in the distribution of the causes conditionally on the effect. In the Methods section we demonstrate that when we apply this selection bias mechanism to the collider structure from equation (6), the distribution of the collective cause (X) conditionally on the effect, exactly gives the Curie-Weiss model from statistical physics and hence, the Rasch model.

### Realistic models

Having studied the three statistical explanations in their simplest non-trivial form, we conclude that, although their theoretical interpretation is radically different, the three models are mathematically indistinguishable. Still, the simplicity of the prototypical models for each framework also makes them often unrealistic with respect to the observed reality. Specifically, the Rasch model and simple collider model only allow for main effects between the observations and do not consider possible pairwise interactions. The Curie-Weiss model does allow some crude form of interaction, however, as the individual interactions between nearest neighbours are replaced by the mean interaction, one must make the (often) unrealistic assumption that all observations are interconnected with the same strength. Fortunately, we can swiftly generalise all three prototypical models to more realistic forms.

We start with the Ising model, of which the Curie-Weiss model is the simplest form, from the reciprocal affect framework. Like the Curie-Weiss model, the Ising model was originally introduced in statistical physics as a model for magnetism, with the same possible values and interpretation for X and its possible realisations. However, instead of only considering the mean magnetisation, the Ising model captures all pairwise interactions between the set of manifest variables (X). The distribution of the Ising model, where is the sum over all distinct pairs of magnetic moments, is commonly written as follows:

The pairwise interactions are represented in the Ising model distribution by the symmetric N × N connectivity matrix ∑ in . In this connectivity matrix, σij modulates the reciprocal affect relation between xi and xj, indicating if moments i and j prefer to be in identical (σij > 0), or opposing (σij < 0) spin positions, wherein the higher the absolute value of σij, the stronger this preference. Under the condition that all off-diagonal entries of Σ are equal, the Ising model reduces to the prototypical Curie-Weiss model. Because the diagonal values of the connectivity matrix in the Ising model are arbitrary, i.e., the probability of X is independent of these values, we can choose the values for the diagonal in such a way that the connectivity matrix becomes positive (semi) definite. As a consequence the eigenvalue decomposition of the matrix will also be non-negative. As clarified in the Methods section, by applying this transformation to the Ising model distribution from equation (7) we obtain an eigenvalue representation of the Ising model:

where λr is the rth non-negative eigenvalue of the vector Λ = [λ1, λ2, …, λN] and qir the value of the ith row and rth column of the N × N eigenvector matrix Q. In the equation above should be read as , we continue this practice in the notation of the applicable equations in the Methods section. In the Methods section we demonstrate how this eigenvalue representation allows us to connect the Ising model from the reciprocal affect framework to the more realistic models in both the other frameworks. First, by applying the Gaussian identity from Kac to the squared sum in the exponent for each eigenvalue in equation (8), we obtain a latent variable representation of the Ising model46, with as many latent dimensions as there are non-zero eigenvalues. This latent variable representation of the Ising model is then shown to be the multidimensional IRT model47 from the common cause framework, of which the Rasch model is the simplest instance, but allows for more than one latent variable to explain the observed associations between the manifest variables. Similarly, we can introduce (independent) effect variables for each eigenvalue in equation (8), such that we obtain a collider representation of the Ising model where endogenous selection bias has taken place. We then show that this distribution is a version of the common effect model as seen in equation (6), that is extended such that the collective cause can collide into more then one common effect.

## Discussion

We have shown that the mathematical equivalence of the simple prototypical models from the common cause, reciprocal affect and common effect framework, extends to the more realistic counterparts of these models. That is, there exist three, statistically indistinguishable, representations of the Ising model that explain observed associations either through marginalisation with respect to latent variables, through reciprocal affect between variables, or through conditioning on common effect variables. We therefore argue that these are not three different models, but just one model for which three distinct theoretical interpretations have been developed in different fields of science. Consequently, any set of associations between variables that is sufficiently described by a model in one framework, can be explained as emerging from the mechanism represented by any of the three theoretical frameworks. We illustrate the implications of this by considering one of the most controversial topics in the common cause framework, differential item functioning (DIF)48 and discuss it in the context of the three possible interpretations.

In it’s traditional (common cause) framework DIF indicates that, conditional on the level of the latent variable, the probability for some response is dependent on group membership. For items that exhibit DIF it is not only variation in Θ that determines the probability for a response on an item. From a common cause perspective the occurrence of DIF is a violation of local independence and as such measurement invariance. In the context of ability testing DIF is often perceived as indication of item bias49. As a fictitious example, consider the situation where on certain items from the Revised NEO Personality Inventory (NEO PI-R)50, that intents to measure the Big Five personality traits51, we find that for a group of subjects with the same latent trait score, those that listed their occupation as being a manager always have a higher probability of giving a correct response on these items, compared to subjects that have no occupation as a manager.

Needless to say, in this context items that exhibit DIF are seen as bad because they pose a problem for both the reliability and validity of a test. From a reciprocal affect perspective, identification of DIF would exhibit itself in the form of differences in the estimated pairwise associations between items depending on group membership. As such the appearance of DIF in the NEO PI-R example would also be viewed as troublesome. However, in contrast to the common cause framework, the appearance of DIF in a network model is at least informative in that our model might be incomplete, i.e., the network is missing a node. The interpretation of DIF in a common effect framework is best understood, in the context of the current example, by considering the answer to the question: What causes people to obtain a managerial position as occupation? It is safe to say that in most cases a persons personality is an important factor in this process. In other words, people that are selected to become manager, get this position because they posses a certain set of personality traits associated with being a successful manager52. As such, the items in the NEO PI-R that show DIF in this case measure those personality traits that are most sought after in managers. More broadly in the context of the common effect framework, the occurrence of DIF indicates how well an item predicts differences in the effect. In contrast to the disruptive interpretation of DIF in both the common cause and reciprocal affect frameworks, the occurrence of DIF within the context of the common effect framework is actually both sensible and informative.

The previous example clearly demonstrates how fundamental concepts, that are firmly established in their traditional framework as being problematic, can be perceived as neutral and informative or even desirable in another context. Having multiple possible interpretations for the same model allows for more plausible explanations when it comes to the theoretical concepts and the causal inferences we obtain from the measurement model applied to our data. For example in the context of psychopathology, depression has been habitually being treated as a common cause variable for which its symptoms are the interchangeable indicators. Measures of these symptoms with the popular Beck Depression Inventory53 have shown to fit a latent variable model with one underlying general depression factor and three highly inter-correlated sub-factors, or a two-factor solution well54. However, in a common cause framework depression symptoms, such as sleep problems, loss of energy and trouble concentrating, are assumed independent of one another, as they are purely caused by the latent variable interpreted as depression. More recently it has been shown that a network model can also give an accurate description of data on depression symptoms26. The reciprocal affect representation of depression, where symptoms can directly influence each other, is as an explanation more in line with our perceived reality. Furthermore, the historical success of theoretically very implausible models, such as the latent variable model, can thus in retrospect, arguably be explained by the equivalence of these three models.

Being able to interpret the outcome of an applied measurement model from theoretically very distinct perspectives, instead of only the perspective as traditionally assumed by the model, is great progress, as it allows for novel explanations that might be a better reflection of our perceived reality. Furthermore, in their different fields of application different aspects of these models have been studied and different methodology has been developed. Through their connection much of these developments become available to all fields of application.

## Methods

In this section we clarify the mathematics involved in connecting the simple prototypical models, as well as the more realistic Ising model representations, for the three different frameworks. In the first proof we demonstrate the equivalence between the simple collider, Curie-Weiss and Rasch models, the prototypical (yet unrealistic) models for respectively the common effect, reciprocal affect and common cause explanation for observed associations between a set of binary variables.

### Proof for the equivalence of the simple prototypical models

#### Collider to Curie-Weiss

The simple collider model from the common effect framework is characterised by the following joint probability distribution p(x, e):

In order to connect this collider model to the Curie-Weiss model we introduce endogenous selection bias on the set of manifest variables forming the collective cause, by conditioning on the effect being present. This is mathematically presented as the conditional distribution p(x|e = 1), proportional to the product of the marginal distribution for the cause p(x) and the probability of observing the effect given the cause p(e = 1|x), defined by:

We can simplify the expression for p(x|e = 1) by recognising that the product of exponentials in the numerator can be rewritten as a sum within the exponential. Furthermore, the denominator of the expression is only dependent on the sum of X and thus independent of the specific pattern that the realisation of X takes. As a consequence p(x|e = 1) is only proportional to the numerator of equation (10), such that we can write:

In order to obtain a valid probability density function we have to add the appropriate normalising constant that makes the probabilities sum to one again. In this case this translates to dividing the expression in equation (11) for a certain realisation of X by the sum of this expression for all possible configurations of X:

It can quickly be verified that the resulting expression in equation (12) is identical to the distribution for the Curie-Weiss model introduced in equation (3), with the same normalising constant as given in equation (4). Thus proofing that, conditional on the effect being present, the distribution of the collective cause in the collider model is equivalent to the distribution of a set of directly interacting magnetic moments in the Curie-Weiss model.

#### Curie-Weiss to Rasch

Next, we will connect the Curie-Weiss model from statistical physics to the Rasch model from psychometrics. We start from the distribution function of the Curie-Weiss model, where we use Z to denote the appropriate normalising constant:

Next we use Kac’s Gaussian identity from equation (5) to linearise the quadratic sum in the exponential of the Curie-Weiss distribution, to that end let , so we can rewrite it in the following way:

By incorporating this transformation we obtain a latent variable representation of the Curie-Weiss model

Which we can simplify further by merging the two sums in the exponential:

Where we will use to denote the appropriate normalising constant. For the next step towards our goal we multiply both the numerator and denominator of equation (16) by , such that we obtain the equivalent expression:

Next we rearrange the expression in equation (17) by switching the denominators of both factors, taking the sum in the first numerator out of the exponential so it becomes a product and transferring exp (−θ2) out the numerator of the first factor and into the numerator of the second factor:

The resulting expression can be recognised as , the marginal probability for some realisation of X where the latent variable Θ is integrated out. Let us denote the second factor of the expression in equation (18) as the distribution of the latent variable (f(θ)), which gives us:

Such that the distribution of the set of binary random variables (X), conditionally on the latent variable (Θ), is:

Again, it is readily seen that the resulting latent variable expression of the Curie-Weiss model in equation (20) is identical to the distribution of the Rasch model from equation (1). This completes our first proof in which we demonstrated that by conditioning on the effect in the collider model from the common effect framework, the distribution of set of binary random variables (X) is equivalent to that of the Curie-Weiss model from the reciprocal affect framework. Furthermore, when we linearise the quadratic sum in the exponential of the Curie-Weiss model, we obtain a latent variable representation of this model where the distribution of the manifest random variables (X) given the latent variable (Θ) is equivalent to that of the Rasch model from the common cause framework. Consequently, given the equivalence of the collider model and the Curie-Weiss model and that of the Curie-Weiss model and the Rasch model, we can conclude that the collider model and the Rasch model are also equivalent.

In the next proof we demonstrate that this equivalence relation between the three frameworks extends to the more realistic models of these frameworks, as those allow pairwise interactions between the random variables in the set X. We start with the conventional representation of the full Ising model from the reciprocal affect framework and rewrite this into an equivalent eigenvalue representation. Subsequently we connect this to both a latent variable representation equivalent to the multidimensional IRT model from the common cause framework and a collider representation from the common effect framework.

### Three representations of the Ising model

#### Conventional to Eigenvalue representation

The distribution of the Ising model is commonly written as follows:

Where the partition function Z, that makes the distribution sum to one, is given by:

In order to connect the Ising model from the reciprocal affect framework to the models from both other frameworks, we first have to rewrite it into matrix notation such that we can obtain the eigenvalue representation of the Ising model. To that end we first rewrite the sum over all distinct i, j pairs in the exponent, as a function of the sum over i and the sum over j:

Such that we may rewrite the Ising model in matrix notation:

All parameters, except for entries on the diagonal of the connectivity matrix, are identifiable from the data. However, as xixj = 1 when i = j any diagonal entry for the connectivity matrix will be cancelled out by the partition function. With the observation that the diagonal values of Σ are thus arbitrary (i.e., do not change the probabilities), we can shift them in such a way that the connectivity matrix Σ becomes positive (semi) definite and hence its eigenvalue decomposition non-negative. This allows for the transformation Σ + cI = QΛQT, where c contains the chosen values for the diagonal of the connectivity matrix, that when implemented gives:

By taking the expression out of its matrix notation we obtain the eigenvalue representation of the Ising model:

#### Eigenvalue to Latent Variable representation

We obtain a latent variable representation of the Ising model by applying Kac’s Gaussian identity to the squared sum in the exponent of equation (26). To that end let a2 be for each of the N eigenvalues in the Ising model and replace this with the right hand side integral from equation (5):

Incorporating this transformation into the Ising model and letting , we get he latent variable representation of the Ising model, where the number of non-zero eigenvalues represents the number of latent dimensions in the model:

In order to connect this latent variable representation to the multidimensional IRT model we the multiply we multiply both the numerator and denominator of equation (28) by , such that we obtain the equivalent expression:

Next we rearange and simplify the expression in equation (29). To that end let us merge the sums over xi in the exponential and denote λrqir as αir, where αir is the value of the ith row and rth column of the N × N matrix A in . We can then rewrite the sum over r as a product of the vector , containing the ith row of the matrix A and the vector θ. Furthermore, we switch the denominators of both factors and transfer out the numerator of the first factor, to the numerator of the second factor:

In the resulting expression we can again recognise a function for the marginal probability of X where all latent dimensions (Θ) are integrated out. Finally we take the sum over i out of the exponential such that we obtain:

We can recognise this particular latent variable representation of the Ising model as a multidimensional IRT model47 from the common cause framework, where the vector Θ represent the set of latent abilities measured by the items in X. In addition to this vector, we also find the matrix A in the model, where the ith row contains the discrimination parameters for all latent variables on item i. In the traditional interpretation of the IRT framework, the discrimination parameter quantifies how well the item measures the corresponding latent variable, or in model terms, the degree to which the probability for item responses varies with respect to each latent variable in Θ. We obtain the following expression for the conditional probabilities of X given the vector of latent variables (Θ):

Note that, as the number of non-zero eigenvalues represents the number of latent dimensions in the model, under the condition that only the first eigenvalue is non-zero and the discrimination parameters with respect to the single resulting latent variable are 1 for all the items, the model reduces to the Rasch model from equation (1).

#### Eigenvalue to Collider representation

To acquire an collider representation of the Ising model we start again from the eigenvalue representation of the Ising model:

By taking the partition function out of the expression we obtain the following proportionality relation:

Next we can introduce a set of (independent) effect variables (E = [E1, E2, …, Em]) for each eigenvalue, such that we obtain a collider representation of the Ising model where endogenous selection bias has taken place for multiple effect variables. To that end, we recognise p(x) from equation (34) as p(x|e = 1), the conditional probability of the collective cause (X) given that all effects are present (E = 1), proportional to the product of the marginal distribution for the collective cause and the probability of observing the effects given the collective cause . Taking the sum over i in p(x) and the sum over r in p(e = 1|x) out of their respective exponential and adding the appropriate normalising constant to make the probabilities sum to one we obtain the following expression:

Such that we can write the joint distribution of causes and effect variables as a common effect representation of the Ising model:

We can quickly recognise a collider model in this distribution that is extended for as much common effect variables as there are non-negative eigenvalues. With this we have completed our second and final, set of proofs, showing that three, statistically equivalent, representations of the Ising model exist that explain observed associations between binary variables as arising either through marginalisation with respect to latent variables, through reciprocal affect between variables, or through conditioning on common effect variables.

How to cite this article: Kruis, J. and Maris, G. Three representations of the Ising model. Sci. Rep. 6, 34175; doi: 10.1038/srep34175 (2016).

## References

1. Bandura, A. Social cognitive theory: An agentic perspective. Asian J. Soc. Psychol. 2, 21–41 (1999).

2. Costner, H. L. Theory, deduction and rules of correspondence. Am. J. Sociol. 75, 245–263 (1969).

3. Edwards, J. R. & Bagozzi, R. P. On the nature and direction of relationships between constructs and measures. Psychol. Methods 5, 155–174 (2000).

4. Pearl, J. Causality: models, reasoning and inference. Economet. Theor. 19, 675–685 (2003).

5. Reichenbach, H. The Direction of Time(University of California Press, Berkeley, 1956).

6. Fornell, C. & Bookstein, F. L. Two structural equation models: Lisrel and PLS applied to consumer exit-voice theory. J. Mark. Res. 19, 440–452 (1982).

7. Markus, K. A. & Borsboom, D. Reflective measurement models, behavior domains and common causes. New Ideas Psychol. 31, 54–64 (2013).

8. Spearman, C. ‘General intelligence’ objectively determined and measured. Am. J. Psychol. 15, 201–293 (1904).

9. Jensen, A. R. The g factor: The science of mental ability(Praeger, Westport, 1998).

10. McCrae, R. R. & Costa, P. T. Empirical and theoretical status of the five-factor model of personality traits in The SAGE Handbook of Personality Theory and Assessment: Volume 1 – Personality Theories and Models 273–294 (SAGE, London, 2008).

11. Borsboom, D., Mellenbergh, G. J. & van Heerden, J. The concept of validity. Psychol. Rev. 111, 1061–1071 (2004).

12. Borsboom, D. Psychometric perspectives on diagnostic systems. J. Clin. Psychol. 64, 1089–1108 (2008).

13. Popper, K. R. The Logic of Scientific Discovery(Hutchinson, London, 1959).

14. Van Der Maas, H. L. et al. A dynamical model of general intelligence: the positive manifold of intelligence by mutualism. Psychol. Rev. 113, 842–861 (2006).

15. Epskamp, S., Maris, G., Waldorp, L. J. & Borsboom, D. Network Psychometrics in Handbook of Psychometrics. (Wiley, New York, 2015).

16. Lee, T.-D. & Yang, C.-N. Statistical theory of equations of state and phase transitions II. Lattice gas and Ising model. Phys. Rev. 87, 410–419 (1952).

17. Besag, J. Spatial interaction and the statistical analysis of lattice systems. J. R. Stat. Soc. Series B Stat. Methodol. (Methodological) 36, 192–236 (1974).

18. Besag, J. Statistical analysis of non-lattice data. Statistician 24, 179–195 (1975).

19. Barzel, B. & Barabási, A. L. Universality in network dynamics. Nat. Phys. 9, 673–681 (2013).

20. Ising, E. Beitrag zur theorie des ferromagnetismus. Zeit. Phys. 31, 253–258 (1925).

21. Jaynes, E. T. Information theory and statistical mechanics. Phys. Rev. 106, 620–630 (1957).

22. Barabási, A. L. The network takeover. Nat. Phys. 8, 14–16 (2012).

23. Cramer, A. O., Waldorp, L. J., van der Maas, H. L. & Borsboom, D. Comorbidity: A network perspective. Behav. Brain Sci. 33, 137–150 (2010).

24. Borsboom, D. & Cramer, A. O. Network analysis: an integrative approach to the structure of psychopathology. Annu. Rev. Clin. Psychol. 9, 91–121 (2013).

25. Schmittmann, V. D. et al. Deconstructing the construct: A network perspective on psychological phenomena. New Ideas Psychol. 31, 43–53 (2013).

26. van Borkulo, C. D. et al. A new method for constructing networks from binary data. Sci. Rep. 4, 5918 (2014).

27. Blalock, H. M. Causal models involving unmeasured variables in stimulus-response situations in Causal Models in the Social Sciences 335–347 (Aldine-Atherton, Chicago, 1971).

28. Bollen, K. & Lennox, R. Conventional wisdom on measurement: A structural equation perspective. Psychol. Bull. 110, 305–314 (1991).

29. Hauser, R. M. Disaggregating a social-psychological model of educational attainment. Soc. Sci. Res. 1, 159–188 (1972).

30. Greenland, S., Pearl, J. & Robins, J. M. Causal diagrams for epidemiologic research. Epidemiology 10, 37–48 (1999).

31. Heckman, J. J. Sample selection bias as a specification error. Econometrica 47, 153–161 (1979).

32. Greenland, S. Quantifying biases in causal models: classical confounding vs collider-stratification bias. Epidemiology 14, 300–306 (2003).

33. Hernán, M. A., Hernández-Daz, S. & Robins, J. M. A structural approach to selection bias. Epidemiology 15, 615–625 (2004).

34. Elwert, F. & Winship, C. Endogenous selection bias: The problem of conditioning on a collider variable. Annu. Rev. Sociol. 40, 31–53 (2014).

35. Rasch, G. Probabilistic Models for some Intelligence and Attainment Tests(The Danish Institute of Educational Research, Copenhagen, 1960).

36. Christofides, N. Graph Theory: An Algorithmic Approach(New York: Academic Press Inc, 1975).

37. Kac, M. Statistical physics: Phase transitions and superfluidity in Brandeis University Summer Institute in Theoretical Physics, Vol. 1 (eds Chretien, M., Gross, E. & Deser, S. ) 241–305 (Gordon and Breach Science Publishers, New York, 1968).

38. Stanley, H. E. Introduction to Phase Transitions and Critical Phenomena. (Oxford University Press, New York, 1971).

39. Ellis, R. S. & Newman, C. M. The statistics of curie-weiss models. J. Stat. Phys. 19, 149–161 (1978).

40. Olkin, I. & Tate, R. F. Multivariate correlation models with mixed discrete and continuous variables. Ann. Math. Stat. 32, 448–465 (1961).

41. Emch, G. G. & Knops, H. J. Pure thermodynamical phases as extremal kms states. J. Math. Phys. 11, 3008–3018 (1970).

42. Cox, D. R. & Wermuth, N. A note on the quadratic exponential binary distribution. Biometrika 81, 403–408 (1994).

43. McCullagh, P. Exponential mixtures and quadratic exponential families. Biometrika 81, 721–729 (1994).

44. Lauritzen, S. L. Graphical models(Oxford University Press, USA, 1996).

45. Anderson, C. J. & Yu, H.-T. Log-multiplicative association models as item response models. Psychometrika 72, 5–23 (2007).

46. Marsman, M., Maris, G., Bechger, T. & Glas, C. Bayesian inference for low-rank ising networks. Sci. Rep. 5, 9050 (2015).

47. Reckase, M. Multidimensional Item Response Theory(Springer, 2009).

48. Mellenbergh, G. J. Item bias and item response theory. Int. J. Educ. Res. 13, 127–143 (1989).

49. Meredith, W. Measurement invariance, factor analysis and factorial invariance. Psychometrika 58, 525–543 (1993).

50. Costa, P. T. & MacCrae, R. R. Revised NEO personality inventory (NEO PI-R) and NEO five-factor inventory (NEO FFI): Professional manual(Psychological Assessment Resources, 1992).

51. Goldberg, L. R. An alternative “description of personality”: the big-five factor structure. J. Pers. Soc. Psychol. 59, 1216–1229 (1990).

52. Barrick, M. R. & Mount, M. K. The big five personality dimensions and job performance: a meta-analysis. Pers. Psychol. 44, 1–26 (1991).

53. Beck, A. T., Ward, C. H., Mendelson, M., Mock, J. & Erbaugh, J. An inventory for measuring depression. Arch. Gen. Psychiatry 562, 53–63 (1961).

54. Beck, A. T., Steer, R. A. & Carbin, M. G. Psychometric properties of the beck depression inventory: Twenty-five years of evaluation. Clin. Psychol. Rev. 8, 77–100 (1988).

## Acknowledgements

We thank Dr. Maria A. Bolsinova and Dr. Maarten Marsman for proof reading the manuscript. This work was supported by by NWO (The Netherlands Organisation for Scientific Research), No. 022.005.0 (JK) and No. CI1-12-S037 (GM).

## Author information

Authors

### Contributions

J.K. and G.M. wrote the main manuscript. All authors reviewed the manuscript.

## Ethics declarations

### Competing interests

The authors declare no competing financial interests.

## Rights and permissions

Reprints and Permissions

Kruis, J., Maris, G. Three representations of the Ising model. Sci Rep 6, 34175 (2016). https://doi.org/10.1038/srep34175

• Accepted:

• Published:

• ### Psychometric properties of the EQ-5D-5L for aboriginal Australians: a multi-method study

• Pedro Henrique Ribeiro Santiago
• , Dandara Haag
• , Davi Manzini Macedo
• , Gail Garvey
• , Megan Smith
• , Karen Canfell
• , Joanne Hedges
•  & Lisa Jamieson

Health and Quality of Life Outcomes (2021)

• ### The network structure of schizotypy in the general population

• Bertalan Polner
• , Eliana Faiola
• , Maria F. Urquijo
• , Inga Meyhöfer
• , Maria Steffens
• , Levente Rónai
• , Nikolaos Koutsouleris
•  & Ulrich Ettinger

European Archives of Psychiatry and Clinical Neuroscience (2021)

• ### A Dark Web of Personality: Network Analyses of Dark Personality Features and Pathological Personality Traits

• D. Gage Jordan
• , Peter K. Jonason
• , Virgil Zeigler-Hill
• , E. Samuel Winer
• , Stephen Fletcher
•  & Dylan Underhill

Journal of Psychopathology and Behavioral Assessment (2021)

• ### Deviations of rational choice: an integrative explanation of the endowment and several context effects

• Joost Kruis
• , Gunter Maris
• , Maarten Marsman
• , Maria Bolsinova
•  & Han L. J. van der Maas

Scientific Reports (2020)

• ### Network structure of depression symptomology in participants with and without depressive disorder: the population-based Health 2000–2011 study

• Christian Hakulinen
• , Eiko I. Fried
• , Laura Pulkki-Råback
• , Marianna Virtanen
• , Jaana Suvisaari
•  & Marko Elovainio

Social Psychiatry and Psychiatric Epidemiology (2020)