statable Statistics for study and research

Which variables are directly related? (Network analysis, partial correlation network)

In brief

The correlation matrix shows how each pair of columns is related. That is hard to survey, and part of the relationships only run via third columns. Network analysis shows each column as a node and each partial correlation as an edge: an edge between two nodes says that the two are still related when all the other columns are held constant. Statable shows a bootstrap interval and the Holm p value for each edge and the strength for each node.

An example with real data

In the Big Five extract from the R package psych, 378 people (without gaps) answered nine statements from 1 to 6: four on agreeableness (A2 "Inquire about others' well-being", A3 "Know how to comfort others", A4 "Love children", A5 "Make people feel at ease") and five on emotional stability (N1 "Get angry easily", N2 "Get irritated easily", N3 "Have frequent mood swings", N4 "Often feel blue", N5 "Panic easily"). Of 36 possible edges, six are clear after the Holm correction (p < .05):

An example with real data
EdgeCorrelation rPartial correlation
N1 – N20.710.59
A3 – A50.530.42
N3 – N40.540.38
A2 – A30.480.33
N4 – N50.440.29
N2 – N30.550.28

When do I use it?

When you have many variables that belong together (items, symptoms, attitudes) and want to ask which pairs are still related after all the others are taken out, and want to see that as a picture and in numbers. For few variables the partial correlation of one pair is enough; whoever wants to test a measurement model uses factor analysis.

Requirements

How it works in Statable

  1. Open a file with at least three number columns, for example a questionnaire with several items (Start > Open your own file).
  2. Run the question "How are the measurements related? (correlation matrix)" with all items (at most 20 columns).
  3. Under the matrix open "Which variables are directly related? (network analysis, partial correlation network)", choose the type of correlation and "Calculate network". Ctrl+K: "network".
  4. With "As R script with data (.zip)" you take the calculation with you; it needs only base R.

Statable does not smooth the network: every possible edge is estimated, even if it is close to 0. At first only edges that are clear after Holm are drawn; the box below shows all of them. For the bootstrap interval 1,000 samples are drawn with replacement (fewer with very many people or columns); the same seed gives the same result. The tables under the picture contain the same numbers as the picture, also for people who cannot see the picture.

Reading and reporting the result

A partial correlation network of nine items (N = 378, Pearson) had 6 of 36 edges with p < .05 after Holm correction, the largest between N1 and N2 (r_partial = .59). All clear edges lay within the item groups agreeableness and emotional stability; between the groups no edge was clear.

Limits

What is often misunderstood

Sources

Epskamp, S., Borsboom, D. & Fried, E. I. (2018). Estimating psychological networks and their accuracy: A tutorial paper. Behavior Research Methods, 50, 195-212 (open access). Borsboom, D. & Cramer, A. O. J. (2013). Network analysis: an integrative approach to the structure of psychopathology. Annual Review of Clinical Psychology, 9. Holm, S. (1979). A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6. Data: Revelle, W., R package psych (data set bfi, GPL).

Take away

  • Edge = partial correlation: the relationship of two columns with all the others held constant.
  • A large correlation can be a small edge if it runs via other columns; that is the point of the network picture.
  • Each edge comes with a bootstrap interval and Holm p; the strength of a node can only be read with its interval.
  • A network describes relationships, not causes and not direction.

Related

Open in Statable