Experiment 20260615-BROD

Maximum rewiring creates more echo chambers than random rewiring which creates more than no or minimal rewiring. However, the two orders opbel and belop show different tendencies between opinion and belief echo chambers.
2026-08-31: Incorrect echo chamber detection (reinforcement)

Experiment design

Date: 2026-06-15

Designer: Hiro KATAOKA (University of Tsukuba)

Hypotheses: The results obtained in [20260610-BROD] are preserved if different order (opbel) over agents applied: More strict rewiring strategy creates more echo chambers

100 agents; 2000 games

Variables

fixed variables: WORKFLOW TOPIC ATOM PACTIVE PREWRITE NBITERATIONS NBAGENTS NBRUNS ALPHA MU VALUE PREHOC

controlled variables: EPSILONS DELTAS SEEDS REWIRINGS

dependent variables: eo eb po pb uo ub

Values

EPSILONS: ['0.05', '0.1', '0.15', '0.2', '0.25', '0.3', '0.35', '0.4', '0.45', '0.5']
DELTAS: ['1', '2', '3', '4', '5', '6', '7']
SEEDS: ['544371', '315590', '903997', '779659', '556198', '160590', '103848', '94821', '501765', '722393', '908149', '490361', '170743', '808653', '204557', '720126', '24083', '756485', '970547', '909432']
REWIRINGS: ['maxnob', 'minnob']

Note. The difference between the rewiring strategies used here and what are used in [20260210-BROD] is:

  • The removed agent from the set of neighbors is always discordant;
  • With minnbo, the rewiring is performed if $a'\prec_a a''$ where $a'$ is the removed agent and $a''$ is the added one.

Other definitions are the same as before.

Note. This notebook does not contain the results and analysis of the experiments with the order belop as this is a complement of [20260610-BROD] with the order opbel only.

Measures

Before testing the hypothesis, we define the measures needed to check them. Let $A$ be the set of agents. Let $\mathcal S^t$ be the set of strongly connected components of the network of agents at time $t$.

eo (Opinion echo chamber)

This measure counts the number of communities (i.e., strongly connected components) such that:

  • they are segregated, i.e., $L^t(C)\leq 0.5$;
  • opinions are homogeneous, i.e., $M_O^t(C)\leq 10^{-4}$;
  • opinions have been reinforced, i.e., $D_O^t(C)$

where

$$ L^t(C)=\frac{|\{(a,a')\in N^t;a\in C\land a'\notin C\}|}{|\{(a,a')\in N^t;a\in C\}|}, $$

$$ M_O^t(C) = \max_{a,a'\in C}|O_a^t-O_{a'}^t| $$

and

$$ D_O^t(C)=\forall s\in [t_C,T),M_O^s(C)\geq M_O^{s+1}(C). $$

Here, $[t_C,T]$ is the maximal time window such that $\forall t\in[t_C,T]$, $C\in\mathcal S^t$ and $T$ is the number of iterations.

More formally, $eo$ is defined as:

$$ eo^t=|\{C\in\mathcal S^t;L^t(C)\leq 0.5\land M_O^t(C)\leq 10^{-4}\land D_O^t(C)\}| $$

eb (Belief echo chamber)

This measure counts the number of communities (i.e., strongly connected components) such that:

  • they are segregated, i.e., $L^t(C)\leq 0.5$;
  • beliefs are homogeneous, i.e., $M_B^t(C)=0$;
  • opinions have been reinforced, i.e., $D_B^t(C)$

where

$$ M_B^t(C) = \max_{a,a'\in C}d_B(B_a^t,B_{a'}^t) $$

and

$$ D_B^t(C)=\forall s\in [t_C,T),M_B^s(C)\geq M_B^{s+1}(C). $$

Here, $d_B$ is the Hamming distance over the models of two beliefs:

$$ d_B(B,B')=|\mathcal M(B)\setminus\mathcal M(B')|+|\mathcal M(B')\setminus\mathcal M(B)|. $$

More formally, $eb$ is defined as:

$$ eb=|\{C\in\mathcal S^t;L^t(C)\leq 0.5\land M_B^t(C)=0\land D_B^t(C)\}| $$

po/pb (Population in opinion/belief echo chambers)

These measures count how many agents are in opinion/belief echo chambers, respectively.

uo (Unique opinions shared within opinion echo chambers)

This measure counts how many opinions are shared within opinion echo chambers. Let $A_O\subseteq A$ be the set of agents in opinion echo chambers. Then, this measure (roughly) returns $|\{O_a;a\in A_O\}|$.

To avoid applying strict equivalence check, i.e., $=$, toward several float numbers, we apply the hierarchical clustering with the allowed maximal distance $10^{-4}$.

ub (Unique belief shared within belief echo chambers)

This measure counts how many beliefs are shared within belief echo chambers. Let $A_B\subseteq A$ be the set of agents in belief echo chambers. Then, this measure returns $|\{B_a;a\in A_B\}|$.

Experiment

Date: 2026-06-15

Performer: Hiro KATAOKA (University of Tsukuba)

The whole experiment, from scratch, can be executed through:

In principle, this could be generated from command line through:

# only once, not checked in
$ bash utils/clone.sh 

# depends on ${HASH}, if it does not change, no need to recompile
# to compile a further version use 'last' as argument
$ bash utils/compile.sh

# Perform experiments
$ bash script.sh

# Python and library version are frozen by uv
$ uv sync

# The analysis is done through jupyter
$ bash utils/launch.sh &
# Do not forget to trust the notebook

# Before commiting the notebook
$ uv run nb-clean -e notebook.ipynb

# suppresses results and experiments
$ bash utils/cleanup.sh

# bash utils/anonymize.sh

Parameter file: params.sh

Executed command (script.sh):

#!/bin/bash

_NBITERATIONS=$NBITERATIONS

. params.sh

# For dry-run
NBITERATIONS=${_NBITERATIONS:-$NBITERATIONS}

set -u
mkdir -p ${RESDIR}

MAX_PROCESS=10
current_process=0

# run

date > ${RESDIR}/log.txt

for rewire in ${REWIRINGS}
do
for eps in ${EPSILONS}
do
for delta in ${DELTAS}
do
for seed in ${SEEDS}
do
EXP=${rewire}-${eps}-${delta}-${seed}
mkdir -p ${RESDIR}/${EXP}

echo ${EXP}
./${SIMDIR}/soba --seed ${seed} --dir "${RESDIR}/${EXP}" --nbAgent ${NBAGENTS} \
    --tick ${NBITERATIONS} --atoms ${ATOM} --update ${WORKFLOW} \
    --prehoc "${PREHOC}" \
    --mu "${MU}" --alpha "${ALPHA}" \
    --rewrite `cat ${TEMPLATEDIR}/rewiring-${rewire}.txt` \
    --pUnfollow "${PREWRITE}" --pActive "${PACTIVE}" --epsilon "${eps}"  \
    --delta ${delta} \
    --values """`cat ${TEMPLATEDIR}/val-${VALUES}.json`""" \
    --topics "${TOPIC}" --reevaluateCatBeforeRewiring &
current_process=$((current_process + 1))

if [[ $current_process = $MAX_PROCESS ]]; then
wait
current_process=0
fi

done
done
done
done

date >> ${RESDIR}/log.txt

# analyse

Hardware: AMD EPYC 7302P (16) @ 3.000GHz, Memory 128GB

OS: Ubuntu 22.04.5 LTS x86_64

Nim version: 2.2.0

Simulator version: 2c1b6fbeb6b101f8cf965f6f875f8e7f3e5a9087

Duration and Output

  • Duration: 5 hours and 31 minutes
  • Output: 21 GB

Raw Results

Experimental raw results are available at Zenodo:

DOI:10.5281/zenodo.20710413

Analysis

We will use 0.01 for the significance threshold for the statistical tests.

Computing the measures

First, we compute the measures.

Out[15]:
rewire eps delta seed eo po uo eb pb ub scc wcc
maxnob-0.05-1-315590 maxnob 0.05 1 315590 9 72 6 3 30 3 16 7
maxnob-0.05-1-779659 maxnob 0.05 1 779659 11 81 8 2 15 2 17 5
maxnob-0.05-1-903997 maxnob 0.05 1 903997 11 75 7 5 38 5 18 7
maxnob-0.05-1-544371 maxnob 0.05 1 544371 9 72 8 3 18 3 15 7
maxnob-0.05-1-94821 maxnob 0.05 1 94821 9 65 6 1 8 1 19 7
... ... ... ... ... ... ... ... ... ... ... ... ...
minnob-0.5-7-720126 minnob 0.50 7 720126 1 98 1 1 98 1 3 1
minnob-0.5-7-24083 minnob 0.50 7 24083 1 97 1 1 97 1 4 1
minnob-0.5-7-756485 minnob 0.50 7 756485 1 98 1 1 98 1 3 1
minnob-0.5-7-909432 minnob 0.50 7 909432 1 98 1 1 98 1 3 1
minnob-0.5-7-970547 minnob 0.50 7 970547 1 94 1 1 94 1 7 1

2800 rows × 12 columns

We reuse the obtained results in [20260210-BROD] and [20260610-BROD] for other rewiring strategies.

Do echo chambers coincide?

Before seeing all data, we test whether opinion and belief echo chambers coincide. This can be achieved by testing $eo=eb$ for each result.

But in fact, in some cases (482 out of 2800; here we consider the experiments with the rewiring strategies {min,max}n{ob,bo} only), they do not coincide:

Out[17]:
rewire eps delta seed eo po uo eb pb ub scc wcc
maxnob-0.05-1-315590 maxnob 0.05 1 315590 9 72 6 3 30 3 16 7
maxnob-0.05-1-779659 maxnob 0.05 1 779659 11 81 8 2 15 2 17 5
maxnob-0.05-1-903997 maxnob 0.05 1 903997 11 75 7 5 38 5 18 7
maxnob-0.05-1-544371 maxnob 0.05 1 544371 9 72 8 3 18 3 15 7
maxnob-0.05-1-94821 maxnob 0.05 1 94821 9 65 6 1 8 1 19 7
... ... ... ... ... ... ... ... ... ... ... ... ...
minnbo-0.35-4-908149 minnbo 0.35 4 908149 1 97 1 0 0 0 4 1
minnbo-0.35-4-170743 minnbo 0.35 4 170743 0 0 0 1 94 1 4 1
minnbo-0.4-4-315590 minnbo 0.40 4 315590 1 99 1 0 0 0 2 1
minnbo-0.45-3-970547 minnbo 0.45 3 970547 0 0 0 1 77 1 11 1
minnbo-0.45-4-908149 minnbo 0.45 4 908149 0 0 0 1 97 1 3 1

1054 rows × 12 columns

The number of such experiments aggregated by $\varepsilon$, $\delta$, and the rewiring algorithms is:

Out[18]:
rewiring algorithms
rewire maxnbo maxnob minnbo minnob
eps delta
0.05 1 13.0 20.0 0.0 0.0
2 7.0 20.0 0.0 0.0
3 9.0 17.0 0.0 0.0
4 10.0 15.0 0.0 0.0
5 12.0 11.0 0.0 0.0
6 10.0 14.0 0.0 0.0
7 10.0 14.0 0.0 0.0
0.10 1 14.0 20.0 0.0 0.0
2 12.0 15.0 0.0 0.0
3 10.0 7.0 1.0 1.0
4 8.0 12.0 0.0 0.0
5 12.0 10.0 0.0 0.0
6 14.0 5.0 0.0 0.0
7 11.0 4.0 2.0 0.0
0.15 1 14.0 20.0 0.0 0.0
2 14.0 18.0 0.0 0.0
3 9.0 5.0 0.0 0.0
4 10.0 3.0 3.0 2.0
5 3.0 3.0 2.0 5.0
6 10.0 2.0 7.0 6.0
7 5.0 3.0 4.0 4.0
0.20 1 15.0 20.0 0.0 0.0
2 11.0 11.0 1.0 0.0
3 10.0 8.0 0.0 0.0
4 7.0 3.0 0.0 1.0
5 5.0 2.0 3.0 2.0
6 5.0 3.0 4.0 3.0
7 6.0 3.0 2.0 1.0
0.25 1 12.0 20.0 0.0 0.0
2 7.0 15.0 1.0 0.0
3 4.0 3.0 0.0 0.0
4 2.0 3.0 1.0 0.0
5 0.0 1.0 1.0 0.0
6 2.0 1.0 1.0 0.0
7 2.0 1.0 2.0 0.0
0.30 1 12.0 20.0 0.0 0.0
2 10.0 13.0 0.0 0.0
3 5.0 7.0 0.0 1.0
4 1.0 2.0 0.0 0.0
0.35 1 12.0 20.0 0.0 0.0
2 7.0 14.0 0.0 0.0
3 4.0 5.0 1.0 0.0
4 2.0 1.0 2.0 0.0
5 2.0 0.0 0.0 0.0
0.40 1 14.0 20.0 0.0 0.0
2 6.0 12.0 0.0 1.0
3 2.0 6.0 0.0 1.0
4 0.0 2.0 1.0 0.0
5 1.0 0.0 0.0 0.0
0.45 1 15.0 20.0 0.0 0.0
2 9.0 16.0 0.0 1.0
3 5.0 6.0 1.0 1.0
4 1.0 1.0 1.0 0.0
5 1.0 0.0 0.0 0.0
0.50 1 16.0 20.0 0.0 0.0
2 9.0 14.0 0.0 1.0
3 1.0 5.0 0.0 0.0
4 0.0 4.0 0.0 1.0
5 1.0 0.0 0.0 0.0

Opinion echo chambers ($eo$)

As expected, the strong rewiring strategy allows agents to form more echo chambers. The difference caused by the order between agents is small.

$$ \begin{aligned} \text{minbo2}\\ \text{minob2}\\ \text{no rewiring}\\ \textbf{minNbo} \\ \textbf{minNob} \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \end{aligned} \leq \textbf{maxNob} < \begin{aligned} \text{maxob} \\ \text{maxbo} \end{aligned} $$

Note: we show the additional results by bold font. Other results are obtained in [20260210-BROD].

No description has been provided for this image

It is interesting to see the difference between maxob, maxbo, maxNbo, and random. Taking the maximal discordant neighbors does not contribute to create more echo chambers.

We observe the similar tendencies if they are aggregated by $\delta$ except for that there is a cross of the maximal rewirings.

No description has been provided for this image

The average of the measure $eo$ grouped by $\varepsilon$, $\delta$, and the rewiring algorithms is as follows (blue = 0.0, max = 12.0):

Measure eo with the rewiring algorithm maxnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 11.450000 10.350000 9.550000 8.250000 7.850000 8.200000 8.150000
0.100000 11.150000 7.950000 3.700000 3.150000 3.350000 3.700000 3.650000
0.150000 10.250000 4.050000 2.150000 2.200000 2.300000 2.600000 2.450000
0.200000 10.100000 3.650000 2.100000 2.200000 2.350000 2.350000 2.550000
0.250000 10.250000 3.300000 1.550000 1.450000 1.500000 1.700000 1.450000
0.300000 10.500000 3.050000 1.300000 1.450000 1.100000 1.150000 1.150000
0.350000 10.500000 2.650000 1.350000 1.200000 0.950000 1.000000 1.000000
0.400000 10.350000 2.700000 1.300000 0.950000 1.000000 1.000000 1.000000
0.450000 10.500000 2.900000 1.350000 1.000000 1.000000 1.000000 1.000000
0.500000 10.350000 2.450000 1.200000 1.000000 1.000000 1.000000 1.000000
Measure eo with the rewiring algorithm minnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.100000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.150000 0.000000 0.000000 0.000000 0.000000 0.050000 0.000000 0.000000
0.200000 0.000000 0.000000 0.050000 0.000000 0.000000 0.050000 0.050000
0.250000 0.000000 0.000000 0.000000 0.000000 0.100000 0.050000 0.050000
0.300000 0.000000 0.000000 0.050000 0.100000 0.350000 0.300000 0.450000
0.350000 0.000000 0.000000 0.050000 0.200000 0.500000 0.650000 0.700000
0.400000 0.000000 0.000000 0.000000 0.350000 0.800000 0.900000 0.850000
0.450000 0.050000 0.050000 0.100000 0.500000 0.850000 0.950000 1.000000
0.500000 0.050000 0.050000 0.100000 0.650000 0.850000 1.000000 1.000000

Pairwise comparisons

We cannot observe direct relations by changing the rewiring strategies, while overall we can see the same tendencies as before:

Pairwise comparisons on eo between minob2 and maxbo:
0
minob2 < maxbo 1396
minob2 == maxbo 4
minob2 > maxbo 0
Pairwise comparisons on eo between minob2 and maxnbo:
0
minob2 < maxnbo 1076
minob2 == maxnbo 321
minob2 > maxnbo 3
Pairwise comparisons on eo between minob2 and minnbo:
0
minob2 < minnbo 67
minob2 == minnbo 1312
minob2 > minnbo 21
Pairwise comparisons on eo between minob2 and minbo2:
0
minob2 < minbo2 2
minob2 == minbo2 1397
minob2 > minbo2 1
Pairwise comparisons on eo between minob2 and minnob:
0
minob2 < minnob 44
minob2 == minnob 1319
minob2 > minnob 37
Pairwise comparisons on eo between minob2 and random:
0
minob2 < random 1130
minob2 == random 270
minob2 > random 0
Pairwise comparisons on eo between minob2 and norewiring:
0
minob2 < norewiring 0
minob2 == norewiring 1400
minob2 > norewiring 0
Pairwise comparisons on eo between minob2 and maxnob:
0
minob2 < maxnob 1096
minob2 == maxnob 302
minob2 > maxnob 2
Pairwise comparisons on eo between minob2 and maxob:
0
minob2 < maxob 1353
minob2 == maxob 47
minob2 > maxob 0
Pairwise comparisons on eo between maxbo and maxnbo:
0
maxbo < maxnbo 63
maxbo == maxnbo 126
maxbo > maxnbo 1211
Pairwise comparisons on eo between maxbo and minnbo:
0
maxbo < minnbo 0
maxbo == minnbo 5
maxbo > minnbo 1395
Pairwise comparisons on eo between maxbo and minbo2:
0
maxbo < minbo2 0
maxbo == minbo2 4
maxbo > minbo2 1396
Pairwise comparisons on eo between maxbo and minnob:
0
maxbo < minnob 0
maxbo == minnob 4
maxbo > minnob 1396
Pairwise comparisons on eo between maxbo and random:
0
maxbo < random 44
maxbo == random 54
maxbo > random 1302
Pairwise comparisons on eo between maxbo and norewiring:
0
maxbo < norewiring 0
maxbo == norewiring 4
maxbo > norewiring 1396
Pairwise comparisons on eo between maxbo and maxnob:
0
maxbo < maxnob 199
maxbo == maxnob 69
maxbo > maxnob 1132
Pairwise comparisons on eo between maxbo and maxob:
0
maxbo < maxob 540
maxbo == maxob 265
maxbo > maxob 595
Pairwise comparisons on eo between maxnbo and minnbo:
0
maxnbo < minnbo 8
maxnbo == minnbo 337
maxnbo > minnbo 1055
Pairwise comparisons on eo between maxnbo and minbo2:
0
maxnbo < minbo2 3
maxnbo == minbo2 322
maxnbo > minbo2 1075
Pairwise comparisons on eo between maxnbo and minnob:
0
maxnbo < minnob 5
maxnbo == minnob 318
maxnbo > minnob 1077
Pairwise comparisons on eo between maxnbo and random:
0
maxnbo < random 450
maxnbo == random 560
maxnbo > random 390
Pairwise comparisons on eo between maxnbo and norewiring:
0
maxnbo < norewiring 3
maxnbo == norewiring 321
maxnbo > norewiring 1076
Pairwise comparisons on eo between maxnbo and maxnob:
0
maxnbo < maxnob 519
maxnbo == maxnob 647
maxnbo > maxnob 234
Pairwise comparisons on eo between maxnbo and maxob:
0
maxnbo < maxob 1237
maxnbo == maxob 124
maxnbo > maxob 39
Pairwise comparisons on eo between minnbo and minbo2:
0
minnbo < minbo2 23
minnbo == minbo2 1309
minnbo > minbo2 68
Pairwise comparisons on eo between minnbo and minnob:
0
minnbo < minnob 39
minnbo == minnob 1283
minnbo > minnob 78
Pairwise comparisons on eo between minnbo and random:
0
minnbo < random 1105
minnbo == random 295
minnbo > random 0
Pairwise comparisons on eo between minnbo and norewiring:
0
minnbo < norewiring 21
minnbo == norewiring 1312
minnbo > norewiring 67
Pairwise comparisons on eo between minnbo and maxnob:
0
minnbo < maxnob 1075
minnbo == maxnob 320
minnbo > maxnob 5
Pairwise comparisons on eo between minnbo and maxob:
0
minnbo < maxob 1349
minnbo == maxob 51
minnbo > maxob 0
Pairwise comparisons on eo between minbo2 and minnob:
0
minbo2 < minnob 43
minbo2 == minnob 1320
minbo2 > minnob 37
Pairwise comparisons on eo between minbo2 and random:
0
minbo2 < random 1129
minbo2 == random 271
minbo2 > random 0
Pairwise comparisons on eo between minbo2 and norewiring:
0
minbo2 < norewiring 1
minbo2 == norewiring 1397
minbo2 > norewiring 2
Pairwise comparisons on eo between minbo2 and maxnob:
0
minbo2 < maxnob 1095
minbo2 == maxnob 303
minbo2 > maxnob 2
Pairwise comparisons on eo between minbo2 and maxob:
0
minbo2 < maxob 1353
minbo2 == maxob 47
minbo2 > maxob 0
Pairwise comparisons on eo between minnob and random:
0
minnob < random 1132
minnob == random 268
minnob > random 0
Pairwise comparisons on eo between minnob and norewiring:
0
minnob < norewiring 37
minnob == norewiring 1319
minnob > norewiring 44
Pairwise comparisons on eo between minnob and maxnob:
0
minnob < maxnob 1102
minnob == maxnob 294
minnob > maxnob 4
Pairwise comparisons on eo between minnob and maxob:
0
minnob < maxob 1351
minnob == maxob 49
minnob > maxob 0
Pairwise comparisons on eo between random and norewiring:
0
random < norewiring 0
random == norewiring 270
random > norewiring 1130
Pairwise comparisons on eo between random and maxnob:
0
random < maxnob 441
random == maxnob 560
random > maxnob 399
Pairwise comparisons on eo between random and maxob:
0
random < maxob 1238
random == maxob 132
random > maxob 30
Pairwise comparisons on eo between norewiring and maxnob:
0
norewiring < maxnob 1096
norewiring == maxnob 302
norewiring > maxnob 2
Pairwise comparisons on eo between norewiring and maxob:
0
norewiring < maxob 1353
norewiring == maxob 47
norewiring > maxob 0
Pairwise comparisons on eo between maxnob and maxob:
0
maxnob < maxob 1164
maxnob == maxob 177
maxnob > maxob 59

ANOVA

We apply ANOVA to $eo$ (each group shares the same rewiring strategy).

Out[27]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 77177.60 8575.29 1833.02 0.0
Residual 13990.0 65448.54 4.68 NaN NaN

The effect of the rewiring strategy is significant. Hence, we apply the post hoc tests:

Out[28]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True False True True True True True True
maxnbo nan True True True True True True True False
maxnob nan nan True True True True True True True
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

The differences are significant except for:

  • maxbo-maxob;
  • maxnbo-random;
  • between minNbo, minNob, minob2, minbo2, and norewiring

Hence, we cannot conclude that the rewiring strategy minNbo creates different results from norewiring etc.

This results support the following relationship:

$$ \begin{aligned} \text{minbo2}\\ \text{minob2}\\ \text{no rewiring}\\ \textbf{minNbo} \\ \textbf{minNob} \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \end{aligned} \leq \textbf{maxNob} < \begin{aligned} \text{maxob} \\ \text{maxbo} \end{aligned} $$

Here, it is interesting to see:

  • minNob and minNbo produced roughly the same number of echo chambers, while
  • maxNob produced more echo chambers than minNbo, which is roughly the same as random.

This may be because maxNob first evaluate the difference between opinions, which is more strict evaluation than measuring the difference between beliefs, as:

  • different opinions should be supported by different beliefs, while
  • different beliefs can support the same opinions

We also apply ANOVA after aggregating the data (computing the mean of the runs that share the same parameters except for seed):

Out[29]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 3858.88 428.76 108.02 1.92e-125
Residual 690.0 2738.80 3.97 NaN NaN
Out[30]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True False True True True True True True
maxnbo nan False True True True True True True False
maxnob nan nan True True True True True True False
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

The suggestion from ANOVA is slightly different:

$$ \begin{aligned} \text{minbo2}\\ \text{minob2}\\ \text{no rewiring}\\ \textbf{minNbo} \\ \textbf{minNob} \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \\ \textbf{maxNob} \\ \end{aligned} < \begin{aligned} \text{maxob} \\ \text{maxbo} \end{aligned} $$

Population in opinion echo chambers ($po$)

The plot below shows:

$$ \begin{aligned} \text{no rewire}\\ \text{minbo2} \\ \text{maxbo2} \\ \textbf{minNbo} \\ \textbf{minNob} \\ \end{aligned} < \begin{aligned} \text{maxbo} \\ \text{maxob} \\ \textbf{maxNbo} \\ \textbf{maxNob} \end{aligned} \leq \text{random} $$

i.e., random rewiring can make the size of the population in echo chambers larger than oriented rewirings.

No description has been provided for this image

We observe this tendency if we aggregate by $\delta$. However, especially if $\delta$ is small, the maximal rewiring allows the size of echo chambers larger than the random rewiring.

No description has been provided for this image

The average of the measure $po$ grouped by $\varepsilon$, $\delta$, and the rewiring algorithms is as follows (blue = 0.0, max = 97.85):

Measure po with the rewiring algorithm maxnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 81.700000 80.050000 84.400000 83.600000 80.250000 81.650000 82.200000
0.100000 81.750000 74.900000 52.600000 57.900000 58.900000 66.050000 70.450000
0.150000 75.450000 36.550000 48.950000 52.250000 70.150000 76.950000 70.350000
0.200000 74.700000 34.550000 37.150000 60.850000 75.150000 80.250000 76.050000
0.250000 75.000000 30.100000 68.350000 70.700000 75.300000 95.300000 87.000000
0.300000 75.650000 26.400000 71.550000 96.150000 87.600000 92.900000 97.650000
0.350000 75.500000 21.450000 76.850000 81.800000 86.850000 92.650000 97.400000
0.400000 74.550000 20.400000 68.450000 87.350000 97.450000 97.550000 97.600000
0.450000 75.200000 35.900000 82.300000 87.000000 97.550000 97.650000 97.600000
0.500000 74.650000 19.300000 76.900000 82.650000 97.550000 97.600000 97.650000
Measure po with the rewiring algorithm minnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.100000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.150000 0.000000 0.000000 0.000000 0.000000 0.150000 0.000000 0.000000
0.200000 0.000000 0.000000 0.100000 0.000000 0.000000 0.800000 4.050000
0.250000 0.000000 0.000000 0.000000 0.000000 9.600000 4.950000 4.950000
0.300000 0.000000 0.000000 0.100000 9.650000 34.350000 29.300000 44.050000
0.350000 0.000000 0.000000 4.000000 19.600000 48.700000 63.600000 68.450000
0.400000 0.000000 0.000000 0.000000 33.800000 77.900000 87.800000 82.850000
0.450000 0.100000 0.100000 8.000000 48.750000 82.850000 92.750000 97.650000
0.500000 0.100000 0.100000 3.950000 62.550000 82.850000 97.700000 97.650000

ANOVA

Now we perform ANOVA.

Out[34]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 1.11e+07 1.23e+06 1172.62 0.0
Residual 13990.0 1.47e+07 1.05e+03 NaN NaN

Changing the rewiring strategies has significant effect on $po$. Now we perform the post-hoc test:

Out[35]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True False False True True True True True True
maxnbo nan True True True True True True True True
maxnob nan nan False True True True True True True
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

Changing the rewiring strategies has significant effect on $po$, except for:

  • between maxbo, maxNob, and maxob;
  • minNbo, minNob, minob2, and norewiring.

Unique opinions in opinion echo chambers ($uo$)

The same tendency as before, but maxob slightly creates more unique opinions than maxbo.

$$ \begin{aligned} \text{no rewire}\\ \text{minbo2} \\ \text{minob2} \\ \textbf{minNbo} \\ \textbf{minNob} \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \\ \end{aligned} \leq \textbf{maxNob} < \text{maxbo} < \text{maxob} $$

No description has been provided for this image

We can observe the similar tendency as before when aggregated by $\delta$.

No description has been provided for this image

The average of the measure $uo$ grouped by $\varepsilon$, $\delta$, and the rewiring algorithms is as follows (blue = 0.0, max = 9.15):

Measure uo with the rewiring algorithm maxnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 9.000000 8.100000 7.700000 7.050000 6.950000 7.200000 7.150000
0.100000 8.550000 6.050000 3.350000 3.100000 3.100000 3.400000 3.350000
0.150000 7.900000 3.350000 2.100000 2.100000 2.100000 2.500000 2.350000
0.200000 7.800000 3.000000 1.950000 2.150000 2.350000 2.250000 2.400000
0.250000 7.950000 2.800000 1.450000 1.400000 1.450000 1.650000 1.450000
0.300000 7.950000 2.650000 1.200000 1.450000 1.100000 1.150000 1.100000
0.350000 7.950000 2.250000 1.250000 1.200000 0.950000 1.000000 1.000000
0.400000 7.900000 2.150000 1.200000 0.950000 1.000000 1.000000 1.000000
0.450000 8.050000 2.450000 1.250000 1.000000 1.000000 1.000000 1.000000
0.500000 7.850000 2.150000 1.100000 0.950000 1.000000 1.000000 1.000000
Measure uo with the rewiring algorithm minnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.100000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.150000 0.000000 0.000000 0.000000 0.000000 0.050000 0.000000 0.000000
0.200000 0.000000 0.000000 0.050000 0.000000 0.000000 0.050000 0.050000
0.250000 0.000000 0.000000 0.000000 0.000000 0.100000 0.050000 0.050000
0.300000 0.000000 0.000000 0.050000 0.100000 0.350000 0.300000 0.450000
0.350000 0.000000 0.000000 0.050000 0.200000 0.500000 0.650000 0.700000
0.400000 0.000000 0.000000 0.000000 0.350000 0.800000 0.900000 0.850000
0.450000 0.050000 0.050000 0.100000 0.500000 0.850000 0.950000 1.000000
0.500000 0.050000 0.050000 0.100000 0.650000 0.850000 1.000000 1.000000

ANOVA

Now we apply the statistical test (ANOVA).

Out[39]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 47505.21 5278.36 1826.32 0.0
Residual 13990.0 40433.35 2.89 NaN NaN

Now we apply the post-hoc test:

Out[40]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True True True True True True True True
maxnbo nan True True True True True True True False
maxnob nan nan True True True True True True True
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

Changing the rewiring strategies has significant effect on $uo$, except for:

  • maxNbo-random;
  • minbo2-minNbo-minob2-norewire.

Relationship with $eo$

Note that several opinion echo chambers can share the same opinions. The list of the runs with $eo\neq uo$ is as follows:

Out[41]:
rewire eps delta seed eo po uo eb pb ub scc wcc
maxnob-0.05-1-315590 maxnob 0.05 1 315590 9 72 6 3 30 3 16 7
maxnob-0.05-1-779659 maxnob 0.05 1 779659 11 81 8 2 15 2 17 5
maxnob-0.05-1-903997 maxnob 0.05 1 903997 11 75 7 5 38 5 18 7
maxnob-0.05-1-544371 maxnob 0.05 1 544371 9 72 8 3 18 3 15 7
maxnob-0.05-1-94821 maxnob 0.05 1 94821 9 65 6 1 8 1 19 7
... ... ... ... ... ... ... ... ... ... ... ... ...
maxnbo-0.5-2-970547 maxnbo 0.50 2 970547 3 86 2 2 8 2 10 3
maxnbo-0.5-3-779659 maxnbo 0.50 3 779659 3 16 2 3 16 3 4 1
maxnbo-0.5-3-722393 maxnbo 0.50 3 722393 2 98 1 2 98 1 4 1
maxnbo-0.5-3-756485 maxnbo 0.50 3 756485 2 96 1 2 96 1 6 1
minnbo-0.1-5-556198 minnbo 0.10 5 556198 2 13 1 2 13 1 59 1

3034 rows × 12 columns

It contains >3000 experiments. In all the runs listed above, $eo>uo$. This means that several echo chambers can share the same opinions.

Belief echo chambers ($eb$)

The tendency is quite similar to opinion echo chambers. However, maxbo creates more echo chambers than maxob.

$$ \begin{aligned} \text{no rewire}\\ \text{minbo} \\ \text{minob} \\ \textbf{minNbo} \\ \textbf{maxNob} \\ \end{aligned} < \textbf{maxNob} \leq \begin{aligned} \text{random} \\ \textbf{maxNbo} \\ \end{aligned} \leq \text{maxob} \leq \text{maxbo} $$

No description has been provided for this image

We could observe the same tendencies as above if aggregated by $\varepsilon$.

No description has been provided for this image

The average of the measure $eb$ grouped by $\varepsilon$, $\delta$, and the rewiring algorithms is as follows (blue = 0.0, max = 9.9):

Measure eb with the rewiring algorithm maxnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 3.900000 7.200000 8.350000 7.800000 7.850000 8.200000 8.500000
0.100000 4.050000 6.600000 3.550000 3.050000 3.600000 3.850000 3.550000
0.150000 3.700000 2.750000 1.900000 2.400000 2.250000 2.700000 2.600000
0.200000 3.300000 3.200000 1.900000 2.300000 2.500000 2.550000 2.700000
0.250000 3.300000 2.450000 1.400000 1.500000 1.550000 1.650000 1.400000
0.300000 3.600000 2.200000 1.150000 1.450000 1.100000 1.150000 1.150000
0.350000 3.600000 1.800000 1.200000 1.250000 0.950000 1.000000 1.000000
0.400000 3.500000 2.100000 1.200000 0.950000 1.000000 1.000000 1.000000
0.450000 3.500000 1.750000 1.250000 1.050000 1.000000 1.000000 1.000000
0.500000 3.550000 1.450000 1.050000 1.050000 1.000000 1.000000 1.000000
Measure eb with the rewiring algorithm minnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.100000 0.000000 0.000000 0.050000 0.000000 0.000000 0.000000 0.000000
0.150000 0.000000 0.000000 0.000000 0.100000 0.300000 0.300000 0.200000
0.200000 0.000000 0.000000 0.050000 0.050000 0.100000 0.200000 0.100000
0.250000 0.000000 0.000000 0.000000 0.000000 0.100000 0.050000 0.050000
0.300000 0.000000 0.000000 0.100000 0.100000 0.350000 0.300000 0.450000
0.350000 0.000000 0.000000 0.050000 0.200000 0.500000 0.650000 0.700000
0.400000 0.000000 0.050000 0.050000 0.350000 0.800000 0.900000 0.850000
0.450000 0.050000 0.100000 0.150000 0.500000 0.850000 0.950000 1.000000
0.500000 0.050000 0.100000 0.100000 0.700000 0.850000 1.000000 1.000000

ANOVA

Now we apply ANOVA:

Out[45]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 60443.58 6715.95 2197.57 0.0
Residual 13990.0 42754.52 3.06 NaN NaN

Changing the rewiring strategies has significant effect on $eb$. Hence we apply the post-hoc tests:

Out[46]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True True True True True True True True
maxnbo nan True True True True True True True False
maxnob nan nan True True True True True True True
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

Changing the rewiring strategies has significant effect on $uo$, except for:

  • maxNbo-random;
  • minbo2-minNbo-minob2-norewire.

This supports the following relationship:

$$ \begin{aligned} \text{no rewire}\\ \text{minbo} \\ \text{minob} \\ \textbf{minNbo} \\ \textbf{minNob} \\ \end{aligned} < \textbf{maxNob} \leq \begin{aligned} \text{random} \\ \textbf{maxNbo} \\ \end{aligned} \leq \text{maxob} \leq \text{maxbo} $$

We also apply ANOVA after aggregation:

Out[47]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 3022.18 335.80 148.38 7.12e-155
Residual 690.0 1561.56 2.26 NaN NaN
Out[48]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True True True True True True True True
maxnbo nan False True True True True True True False
maxnob nan nan True True True True True True False
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

Tendencies are slightly different:

$$ \begin{aligned} \text{no rewire}\\ \text{minbo} \\ \text{minob} \\ \textbf{minNbo} \\ \textbf{minNob} \\ \end{aligned} < \begin{aligned} \text{random} \\ \textbf{maxNbo} \\ \textbf{maxNob} \\ \end{aligned} \leq \text{maxob} \leq \text{maxbo} $$

Population of belief echo chambers ($pb$)

When $\delta$ is small, maxbo rewiring allows the size of the population to be the largest among such algorithms; otherwise the random rewiring is the maximal.

$$ \begin{aligned} \text{no rewire}\\ \text{minbo} \\ \text{minob} \\ \textbf{minNob} \\ \end{aligned} < \textbf{minNbo} < \begin{aligned} \text{maxbo} \\ \text{maxob} \\ \textbf{maxNbo} \\ \textbf{maxNob} \end{aligned} \leq \text{random} $$

No description has been provided for this image

If aggregated by $\varepsilon$, the random rewiring (almost) always creates larger population than the maximal rewirings.

No description has been provided for this image

The average of the measure $pb$ grouped by $\varepsilon$, $\delta$, and the rewiring algorithms is as follows (blue = 0.0, max = 97.85):

Measure pb with the rewiring algorithm maxnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 26.550000 55.800000 75.200000 75.700000 75.350000 76.350000 80.950000
0.100000 29.600000 63.750000 47.800000 53.500000 61.100000 66.050000 64.100000
0.150000 28.350000 32.050000 41.700000 56.500000 64.950000 76.400000 74.350000
0.200000 25.250000 30.250000 32.700000 63.700000 79.450000 83.750000 79.200000
0.250000 25.000000 27.850000 59.000000 67.600000 80.200000 90.650000 82.150000
0.300000 27.050000 24.350000 57.250000 91.600000 87.600000 92.900000 97.650000
0.350000 27.050000 15.800000 62.400000 86.350000 86.850000 92.650000 97.400000
0.400000 26.300000 23.400000 62.800000 87.200000 97.450000 97.550000 97.600000
0.450000 26.350000 25.550000 72.850000 91.800000 97.550000 97.650000 97.600000
0.500000 26.900000 13.250000 62.650000 82.400000 97.550000 97.600000 97.650000
Measure pb with the rewiring algorithm minnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.100000 0.000000 0.000000 0.350000 0.000000 0.000000 0.000000 0.000000
0.150000 0.000000 0.000000 0.000000 4.800000 12.800000 15.050000 11.850000
0.200000 0.000000 0.000000 0.100000 1.900000 3.900000 7.700000 7.800000
0.250000 0.000000 0.000000 0.000000 0.000000 9.600000 4.950000 4.950000
0.300000 0.000000 0.000000 4.250000 9.650000 34.350000 29.300000 44.050000
0.350000 0.000000 0.000000 4.000000 19.600000 48.700000 63.600000 68.450000
0.400000 0.000000 1.350000 4.500000 33.800000 77.900000 87.800000 82.850000
0.450000 0.100000 1.350000 12.250000 48.750000 82.850000 92.750000 97.650000
0.500000 0.100000 1.350000 3.950000 62.650000 82.850000 97.700000 97.650000

ANOVA

Now we perform ANOVA:

Out[52]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 9.20e+06 1.02e+06 909.05 0.0
Residual 13990.0 1.57e+07 1.12e+03 NaN NaN

Changing the rewiring strategies has significant effect on $pb$. Now we perform the post-hoc test:

Out[53]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True True True True True True True True
maxnbo nan False False True True True True True True
maxnob nan nan False True True True True True True
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

Changing the rewiring strategies has significant effect on $pb$, except for:

  • maxNbo-maxob-maxNob;
  • minbo2-minNbo-minob2-norewire.

Unique beliefs in belief echo chambers ($ub$)

The relationship is similar to #belief echo chambers.

$$ \begin{aligned} \text{no rewire}\\ \text{minbo2} \\ \text{minob2} \\ \textbf{minNbo} \\ \textbf{minNob} \\ \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \\ \textbf{maxNob} \\ \end{aligned} < \text{maxob} < \text{maxbo} $$

No description has been provided for this image

We could observe the same tendency:

No description has been provided for this image

The average of the measure $ub$ grouped by $\varepsilon$, $\delta$, and the rewiring algorithms is as follows (blue = 0.0, max = 9.65):

Measure ub with the rewiring algorithm maxnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 3.800000 6.750000 7.750000 7.350000 7.250000 7.700000 7.900000
0.100000 3.800000 6.000000 3.500000 2.950000 3.400000 3.550000 3.350000
0.150000 3.600000 2.650000 1.900000 2.350000 2.100000 2.550000 2.500000
0.200000 3.200000 3.050000 1.850000 2.300000 2.450000 2.450000 2.550000
0.250000 3.150000 2.300000 1.350000 1.450000 1.500000 1.600000 1.400000
0.300000 3.450000 2.100000 1.150000 1.450000 1.100000 1.150000 1.100000
0.350000 3.450000 1.750000 1.150000 1.250000 0.950000 1.000000 1.000000
0.400000 3.400000 2.000000 1.100000 0.950000 1.000000 1.000000 1.000000
0.450000 3.400000 1.700000 1.200000 1.050000 1.000000 1.000000 1.000000
0.500000 3.450000 1.450000 1.000000 1.050000 1.000000 1.000000 1.000000
Measure ub with the rewiring algorithm minnob
delta 1.000000 2.000000 3.000000 4.000000 5.000000 6.000000 7.000000
eps              
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.100000 0.000000 0.000000 0.050000 0.000000 0.000000 0.000000 0.000000
0.150000 0.000000 0.000000 0.000000 0.100000 0.300000 0.300000 0.200000
0.200000 0.000000 0.000000 0.050000 0.050000 0.100000 0.200000 0.100000
0.250000 0.000000 0.000000 0.000000 0.000000 0.100000 0.050000 0.050000
0.300000 0.000000 0.000000 0.100000 0.100000 0.350000 0.300000 0.450000
0.350000 0.000000 0.000000 0.050000 0.200000 0.500000 0.650000 0.700000
0.400000 0.000000 0.050000 0.050000 0.350000 0.800000 0.900000 0.850000
0.450000 0.050000 0.100000 0.150000 0.500000 0.850000 0.950000 1.000000
0.500000 0.050000 0.100000 0.100000 0.700000 0.850000 1.000000 1.000000

ANOVA

Now we perform ANOVA:

Out[57]:
df sum_sq mean_sq F PR(>F)
C(Q("rewire")) 9.0 50664.50 5629.39 1994.09 0.0
Residual 13990.0 39494.26 2.82 NaN NaN

The effect of changing the rewiring strategies is significant. Now we apply the post-hoc tests:

Out[58]:
group2 maxnbo maxnob maxob minbo2 minnbo minnob minob2 norewiring random
group1                  
maxbo True True True True True True True True True
maxnbo nan True True True True True True True False
maxnob nan nan True True True True True True True
maxob nan nan nan True True True True True True
minbo2 nan nan nan nan False False False False True
minnbo nan nan nan nan nan False False False True
minnob nan nan nan nan nan nan False False True
minob2 nan nan nan nan nan nan nan False True
norewiring nan nan nan nan nan nan nan nan True

Changing the rewiring strategies has significant effect on $ub$, except for:

  • maxNbo-random;
  • minbo2-minNbo-minob2-norewire.

Relationship to $eb$

It is not necessarily that each echo chamber shares the unique beliefs. The list of runs with $eb\neq ub$ is as follows:

Out[59]:
rewire eps delta seed eo po uo eb pb ub scc wcc
maxnob-0.05-1-490361 maxnob 0.05 1 490361 12 81 8 3 20 2 21 6
maxnob-0.05-1-970547 maxnob 0.05 1 970547 13 82 10 5 29 4 19 8
maxnob-0.05-2-903997 maxnob 0.05 2 903997 11 88 8 7 53 6 18 7
maxnob-0.05-2-94821 maxnob 0.05 2 94821 11 78 8 5 32 3 19 5
maxnob-0.05-2-160590 maxnob 0.05 2 160590 10 87 8 7 56 6 13 8
... ... ... ... ... ... ... ... ... ... ... ... ...
maxnbo-0.5-2-490361 maxnbo 0.50 2 490361 4 21 3 5 27 4 7 3
maxnbo-0.5-3-722393 maxnbo 0.50 3 722393 2 98 1 2 98 1 4 1
maxnbo-0.5-3-756485 maxnbo 0.50 3 756485 2 96 1 2 96 1 6 1
minnbo-0.1-5-556198 minnbo 0.10 5 556198 2 13 1 2 13 1 59 1
minnbo-0.2-5-24083 minnbo 0.20 5 24083 1 2 1 2 47 1 22 1

1429 rows × 12 columns

It contains >1200 runs.

Summary so far

With opinion echo chambers ($eo$):

$$ \begin{aligned} \text{minbo2}\\ \text{minob2}\\ \text{no rewiring}\\ \textbf{minNbo} \\ \textbf{minNob} \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \end{aligned} \leq \textbf{maxNob} < \begin{aligned} \text{maxob} \\ \text{maxbo} \end{aligned} $$

With the results from $po$, maxNob produced smaller echo chambers than maxNbo.

With belief echo chambers ($eb$):

$$ \begin{aligned} \text{no rewire}\\ \text{minbo} \\ \text{minob} \\ \textbf{minNbo} \\ \textbf{minNob} \\ \end{aligned} < \textbf{maxNob} \leq \begin{aligned} \text{random} \\ \textbf{maxNbo} \\ \end{aligned} \leq \text{maxob} \leq \text{maxbo} $$

With the results from $pb$, maxNob produced larger echo chambers than maxNbo.

The differences are:

  • whether maxNob produces more echo chambers than random;
  • whether maxbo produces more echo chambers than maxob.

Hence, apparently the effect of maximal-oriented rewirings is not monotonic: sometimes it does not produce more echo chambers than random rewiring, sometimes it creates opinion echo chambers but not belief echo chambers...

maxnob-0.15-2-544371
SCCs=8 (singletons=0), WCCs=4, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=8 (singletons=0), WCCs=4, ECs=1
No description has been provided for this image
maxnob-0.15-2-903997
SCCs=9 (singletons=3), WCCs=3, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=9 (singletons=3), WCCs=3, ECs=3
No description has been provided for this image
maxnob-0.15-2-315590
SCCs=12 (singletons=6), WCCs=2, ECs=3
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=12 (singletons=6), WCCs=2, ECs=4
No description has been provided for this image
maxnob-0.15-2-779659
SCCs=10 (singletons=1), WCCs=2, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=10 (singletons=1), WCCs=2, ECs=3
No description has been provided for this image
maxnob-0.15-2-556198
SCCs=11 (singletons=4), WCCs=4, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=11 (singletons=4), WCCs=4, ECs=2
No description has been provided for this image
maxnob-0.15-2-160590
SCCs=12 (singletons=5), WCCs=3, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=12 (singletons=5), WCCs=3, ECs=2
No description has been provided for this image
maxnob-0.15-2-501765
SCCs=10 (singletons=4), WCCs=2, ECs=3
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=10 (singletons=4), WCCs=2, ECs=2
No description has been provided for this image
maxnob-0.15-2-103848
SCCs=10 (singletons=3), WCCs=4, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=10 (singletons=3), WCCs=4, ECs=2
No description has been provided for this image
maxnob-0.15-2-908149
SCCs=5 (singletons=1), WCCs=2, ECs=2
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=5 (singletons=1), WCCs=2, ECs=2
No description has been provided for this image
maxnob-0.15-2-170743
SCCs=5 (singletons=0), WCCs=2, ECs=2
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=5 (singletons=0), WCCs=2, ECs=1
No description has been provided for this image
maxnob-0.15-2-94821
SCCs=10 (singletons=3), WCCs=3, ECs=5
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=10 (singletons=3), WCCs=3, ECs=2
No description has been provided for this image
maxnob-0.15-2-490361
SCCs=13 (singletons=2), WCCs=3, ECs=5
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=13 (singletons=2), WCCs=3, ECs=4
No description has been provided for this image
maxnob-0.15-2-722393
SCCs=11 (singletons=3), WCCs=4, ECs=6
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=11 (singletons=3), WCCs=4, ECs=4
No description has been provided for this image
maxnob-0.15-2-808653
SCCs=9 (singletons=1), WCCs=2, ECs=5
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=9 (singletons=1), WCCs=2, ECs=4
No description has been provided for this image
maxnob-0.15-2-204557
SCCs=9 (singletons=1), WCCs=4, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=9 (singletons=1), WCCs=4, ECs=2
No description has been provided for this image
maxnob-0.15-2-720126
SCCs=11 (singletons=3), WCCs=2, ECs=5
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=11 (singletons=3), WCCs=2, ECs=4
No description has been provided for this image
maxnob-0.15-2-24083
SCCs=13 (singletons=5), WCCs=4, ECs=5
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=13 (singletons=5), WCCs=4, ECs=5
No description has been provided for this image
maxnob-0.15-2-756485
SCCs=12 (singletons=5), WCCs=1, ECs=4
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=12 (singletons=5), WCCs=1, ECs=3
No description has been provided for this image
maxnob-0.15-2-970547
SCCs=6 (singletons=1), WCCs=4, ECs=3
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=6 (singletons=1), WCCs=4, ECs=1
No description has been provided for this image
maxnob-0.15-2-909432
SCCs=16 (singletons=8), WCCs=4, ECs=5
<Figure size 800x800 with 0 Axes>
No description has been provided for this image
SCCs=16 (singletons=8), WCCs=4, ECs=4
No description has been provided for this image

It seems that components are not well segregated. And some belief echo chambers are not opinion echo chambers.

eo_r < eo_ob and eb_r < eb_ob 238
eo_r < eo_ob and eb_r == eb_ob 81
eo_r < eo_ob and eb_r > eb_ob 122
eo_r == eo_ob and eb_r < eb_ob 26
eo_r == eo_ob and eb_r == eb_ob 481
eo_r == eo_ob and eb_r > eb_ob 53
eo_r > eo_ob and eb_r < eb_ob 7
eo_r > eo_ob and eb_r == eb_ob 22
eo_r > eo_ob and eb_r > eb_ob 370

But there are no direct relation.

Connected components

As a complement, we show the number of (weakly) connected components.

average #wccs with no rewiring 1.0
average #wccs with the minimal-oriented rewiring 1.0
average #wccs with random rewiring 1.3264285714285715
average #wccs with the maximal-oriented rewiring 4.361428571428571
/tmp/ipykernel_104935/190523385.py:26: Pandas4Warning: Constructing a Categorical with a dtype and values containing non-null entries not in that dtype's categories is deprecated and will raise in a future version.
  ddf['kind'] = pd.Categorical(ddf['kind'], categories=['no rewiring', 'minimal', 'random', 'maximal'], ordered=True)
Out[66]:
  eps 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
delta kind                    
1 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
maximal 4.60 5.15 5.42 5.45 5.45 5.45 5.62 5.70 5.80 5.83
2 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 1.05 1.00 1.10 1.25 1.05 1.15 1.25 1.10 1.20 1.15
maximal 6.00 6.38 6.30 5.85 5.70 5.33 5.50 5.28 5.25 5.35
3 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 1.10 1.70 1.35 1.40 1.40 1.65 1.40 1.45 1.15 1.15
maximal 6.75 6.20 5.20 4.80 4.10 3.88 3.40 3.95 3.67 3.42
4 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 1.20 1.50 2.00 1.75 1.50 1.30 1.15 1.00 1.05 1.00
maximal 6.12 6.08 4.95 4.40 3.50 2.77 2.70 2.55 2.55 2.52
5 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 1.50 2.25 2.40 1.95 1.35 1.00 1.10 1.05 1.00 1.00
maximal 6.33 5.80 4.65 4.15 3.27 2.90 2.62 2.58 2.35 2.60
6 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 1.95 2.25 2.45 1.75 1.30 1.05 1.05 1.00 1.00 1.00
maximal 6.38 5.85 4.42 3.92 3.20 2.88 2.33 2.70 2.35 2.35
7 no rewiring 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
minimal 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
random 2.05 2.40 2.25 1.85 1.25 1.10 1.05 1.00 1.00 1.00
maximal 6.38 5.75 4.38 4.08 3.17 2.88 2.75 2.62 2.35 2.40

The maximal-oriented rewirings create more connected components than the others.

Table in the paper

Now we show the effect of $\varepsilon$, $\delta$, and the rewiring algorithms in tables (one for $eo$ and another for $eb$). From the observations above, it is enough to show the only three results:

  • results from the minimal-oriented rewirings and the no rewiring;
  • results from the random rewiring;
  • results from the maximal-oriented rewirings.
Out[68]:
    eps 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
delta kind measure                    
1 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal2 eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
random eb 2.75 3.85 3.70 3.95 4.25 4.35 4.35 4.30 4.40 4.45
eo 2.75 3.85 3.70 3.95 4.25 4.35 4.35 4.30 4.40 4.45
maximal eb 4.75 5.85 5.80 5.78 5.80 5.83 5.80 5.95 5.95 5.75
eo 8.95 10.15 10.07 10.05 10.10 10.18 10.18 10.30 10.30 10.28
maximal2 eb 5.25 7.45 7.40 7.05 6.75 6.80 6.75 6.80 7.00 6.80
eo 6.25 8.20 8.50 7.75 7.65 7.80 7.85 8.05 7.95 7.85
2 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal2 eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.05 0.05 0.00 0.00 0.00 0.00 0.00
random eb 7.50 7.15 4.30 5.25 3.75 3.90 3.40 3.50 3.15 3.60
eo 7.60 7.20 4.10 5.30 3.40 3.75 3.40 3.40 3.15 3.70
maximal eb 7.97 8.60 8.05 7.17 6.97 6.55 6.50 6.60 6.45 6.53
eo 9.62 9.72 8.85 8.07 7.80 7.33 7.08 7.28 7.12 7.17
maximal2 eb 9.05 8.10 3.00 2.55 2.55 2.30 2.10 1.95 1.65 1.85
eo 8.60 8.00 2.35 2.50 2.20 1.75 1.75 1.55 1.40 1.70
3 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal2 eb 0.00 0.00 0.00 0.05 0.00 0.05 0.05 0.00 0.05 0.05
eo 0.00 0.05 0.00 0.05 0.00 0.05 0.00 0.00 0.00 0.05
random eb 8.50 4.35 3.35 2.85 2.30 2.40 1.85 2.10 1.85 1.85
eo 8.50 4.40 3.40 2.90 2.30 2.40 1.90 2.15 1.95 2.05
maximal eb 9.10 8.25 6.50 5.80 5.25 5.10 4.40 4.75 4.83 4.42
eo 9.65 8.10 6.60 5.78 5.35 5.10 4.33 4.70 4.72 4.30
maximal2 eb 8.85 4.30 1.90 2.15 1.40 1.55 1.40 1.20 1.10 1.20
eo 8.55 4.15 2.15 2.35 1.35 1.50 1.50 1.20 1.15 1.15
4 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.10 0.25 0.35 0.35
eo 0.00 0.00 0.00 0.00 0.00 0.05 0.10 0.25 0.35 0.40
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.10 0.25 0.35 0.38
eo 0.00 0.00 0.00 0.00 0.00 0.05 0.10 0.25 0.35 0.42
minimal2 eb 0.00 0.00 0.15 0.00 0.15 0.00 0.10 0.30 0.45 0.40
eo 0.00 0.00 0.00 0.00 0.10 0.00 0.10 0.35 0.40 0.40
random eb 8.45 3.80 2.80 2.30 1.85 1.70 1.45 1.10 1.10 1.05
eo 8.50 3.85 2.75 2.30 1.85 1.70 1.35 1.10 1.10 1.05
maximal eb 9.12 7.30 5.97 5.58 4.47 3.90 3.65 3.55 3.33 3.20
eo 9.25 7.35 5.85 5.40 4.42 3.75 3.58 3.42 3.27 3.17
maximal2 eb 8.80 3.35 2.15 2.00 1.45 1.30 1.00 1.05 1.00 1.00
eo 8.70 3.20 2.25 2.25 1.45 1.25 1.10 1.05 1.05 1.00
5 no rewiring eb 0.00 0.00 0.00 0.00 0.05 0.40 0.65 0.80 0.85 1.00
eo 0.00 0.00 0.00 0.00 0.05 0.40 0.65 0.80 0.85 1.00
minimal eb 0.00 0.00 0.00 0.00 0.05 0.40 0.65 0.80 0.88 0.97
eo 0.00 0.00 0.00 0.00 0.05 0.40 0.65 0.80 0.88 0.97
minimal2 eb 0.00 0.10 0.20 0.30 0.25 0.35 0.50 0.85 0.95 1.00
eo 0.00 0.10 0.10 0.15 0.20 0.35 0.50 0.85 0.95 1.00
random eb 8.00 3.55 2.95 2.45 1.80 1.25 1.10 1.05 1.00 1.00
eo 8.00 3.60 2.95 2.45 1.75 1.25 1.10 1.05 1.00 1.00
maximal eb 9.35 7.62 5.67 5.17 4.38 3.70 3.33 3.35 3.08 3.12
eo 9.25 7.42 5.42 5.05 4.33 3.60 3.25 3.23 2.98 3.10
maximal2 eb 8.35 3.65 2.20 2.25 1.55 1.15 1.05 1.05 1.05 1.05
eo 8.10 3.65 2.25 2.25 1.55 1.15 1.05 1.00 1.00 1.00
6 no rewiring eb 0.00 0.00 0.00 0.00 0.05 0.70 0.80 0.95 0.95 1.00
eo 0.00 0.00 0.00 0.00 0.05 0.70 0.80 0.95 0.95 1.00
minimal eb 0.00 0.00 0.00 0.00 0.05 0.70 0.80 0.95 0.95 1.00
eo 0.00 0.00 0.00 0.00 0.05 0.70 0.80 0.95 0.95 1.00
minimal2 eb 0.00 0.15 0.45 0.20 0.20 0.75 0.75 1.00 1.00 1.00
eo 0.00 0.15 0.10 0.00 0.25 0.75 0.75 1.00 1.00 1.00
random eb 7.70 3.25 2.55 2.50 1.65 1.20 1.05 1.00 1.00 1.00
eo 7.75 3.30 2.60 2.50 1.65 1.20 1.05 1.00 1.00 1.00
maximal eb 9.28 7.45 5.53 4.92 4.08 3.52 3.33 3.50 3.10 2.83
eo 9.15 7.35 5.17 4.85 4.05 3.38 3.10 3.45 3.02 2.80
maximal2 eb 8.10 4.05 2.15 2.30 1.45 1.15 1.00 0.95 1.00 1.00
eo 8.00 4.10 2.35 2.15 1.55 1.15 1.00 0.95 1.00 1.00
7 no rewiring eb 0.00 0.00 0.00 0.00 0.05 0.50 0.75 0.90 0.95 1.00
eo 0.00 0.00 0.00 0.00 0.05 0.50 0.75 0.90 0.95 1.00
minimal eb 0.00 0.00 0.00 0.00 0.05 0.50 0.75 0.90 0.95 1.00
eo 0.00 0.00 0.00 0.00 0.05 0.50 0.75 0.90 0.95 1.00
minimal2 eb 0.00 0.15 0.30 0.20 0.35 0.75 0.70 1.00 1.00 1.00
eo 0.00 0.05 0.10 0.10 0.35 0.75 0.70 1.00 1.00 1.00
random eb 7.70 3.40 2.70 2.40 1.35 1.20 1.05 1.00 1.00 1.00
eo 7.75 3.40 2.75 2.40 1.40 1.20 1.05 1.00 1.00 1.00
maximal eb 9.47 7.40 5.45 4.85 4.15 3.73 3.50 3.35 3.05 3.08
eo 9.30 7.28 5.28 4.70 4.08 3.58 3.45 3.23 2.95 2.90
maximal2 eb 7.75 3.90 1.85 2.05 1.35 1.25 1.00 1.00 1.00 1.00
eo 7.80 3.75 2.10 2.15 1.30 1.25 1.00 1.00 1.00 1.00

For the standard deviations are:

Out[70]:
    eps 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
delta kind measure                    
1 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal2 eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
random eb 1.74 1.60 1.49 1.19 1.52 1.57 1.50 1.45 1.39 1.43
eo 1.74 1.60 1.49 1.19 1.52 1.57 1.50 1.45 1.39 1.43
maximal eb 1.72 2.26 2.31 2.15 2.28 2.19 2.20 2.22 2.17 2.15
eo 3.34 2.30 1.90 1.92 2.19 2.23 2.17 2.21 2.32 2.16
maximal2 eb 1.71 1.96 1.79 1.70 1.68 1.96 2.07 1.99 2.10 2.46
eo 2.12 1.58 1.73 1.62 1.73 1.67 1.81 1.82 1.70 1.95
2 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal2 eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.22 0.22 0.00 0.00 0.00 0.00 0.00
random eb 2.31 1.50 1.69 1.45 2.02 1.29 0.82 1.32 1.39 1.27
eo 2.33 1.44 2.22 1.45 2.01 1.25 0.75 1.23 1.27 1.03
maximal eb 2.29 1.89 1.75 1.60 1.44 1.75 1.71 1.69 1.63 1.65
eo 2.03 1.69 1.78 1.76 1.81 2.00 1.59 1.60 1.59 1.63
maximal2 eb 2.46 2.17 1.34 1.28 1.05 1.72 1.59 1.67 1.69 1.42
eo 2.21 1.59 1.18 1.67 0.95 1.37 1.41 1.10 1.19 1.26
3 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
eo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
minimal2 eb 0.00 0.00 0.00 0.22 0.00 0.22 0.22 0.00 0.22 0.22
eo 0.00 0.22 0.00 0.22 0.00 0.22 0.00 0.00 0.00 0.22
random eb 1.05 1.42 1.14 1.27 0.98 0.82 0.67 0.79 0.81 0.88
eo 1.05 1.39 1.19 1.21 0.98 0.82 0.64 0.67 0.69 0.76
maximal eb 1.68 1.43 1.43 1.83 1.71 1.39 1.35 1.39 1.36 1.32
eo 1.39 1.46 1.28 1.66 1.70 1.35 1.38 1.32 1.36 1.29
maximal2 eb 2.16 1.81 1.02 1.23 1.14 1.00 0.99 0.62 0.72 0.70
eo 2.09 1.95 1.31 1.14 0.88 0.89 0.69 0.62 0.59 0.67
4 no rewiring eb 0.00 0.00 0.00 0.00 0.00 0.00 0.31 0.44 0.49 0.49
eo 0.00 0.00 0.00 0.00 0.00 0.22 0.31 0.44 0.49 0.50
minimal eb 0.00 0.00 0.00 0.00 0.00 0.00 0.30 0.44 0.48 0.49
eo 0.00 0.00 0.00 0.00 0.00 0.22 0.30 0.44 0.48 0.50
minimal2 eb 0.00 0.00 0.37 0.00 0.37 0.00 0.31 0.47 0.51 0.50
eo 0.00 0.00 0.00 0.00 0.31 0.00 0.31 0.49 0.50 0.50
random eb 0.89 1.28 0.77 0.86 0.59 0.57 0.51 0.31 0.31 0.22
eo 0.89 1.27 0.72 0.86 0.59 0.57 0.49 0.31 0.31 0.22
maximal eb 2.00 1.80 1.58 1.53 1.52 1.52 1.37 1.32 1.59 1.34
eo 1.93 1.59 1.56 1.48 1.55 1.53 1.32 1.32 1.60 1.34
maximal2 eb 2.19 1.09 0.93 0.97 0.94 0.66 0.56 0.39 0.32 0.00
eo 1.95 1.15 1.02 1.02 0.83 0.55 0.45 0.39 0.22 0.00
5 no rewiring eb 0.00 0.00 0.00 0.00 0.22 0.50 0.49 0.41 0.37 0.00
eo 0.00 0.00 0.00 0.00 0.22 0.50 0.49 0.41 0.37 0.00
minimal eb 0.00 0.00 0.00 0.00 0.22 0.50 0.48 0.41 0.33 0.16
eo 0.00 0.00 0.00 0.00 0.22 0.50 0.48 0.41 0.33 0.16
minimal2 eb 0.00 0.45 0.41 0.57 0.44 0.49 0.51 0.37 0.22 0.00
eo 0.00 0.45 0.31 0.37 0.41 0.49 0.51 0.37 0.22 0.00
random eb 0.92 0.94 0.60 0.76 0.62 0.44 0.31 0.22 0.00 0.00
eo 0.92 0.94 0.60 0.76 0.64 0.44 0.31 0.22 0.00 0.00
maximal eb 1.55 1.27 1.27 1.41 1.43 1.26 1.12 1.35 1.56 1.28
eo 1.58 1.22 1.28 1.40 1.42 1.28 1.03 1.33 1.54 1.30
maximal2 eb 2.23 1.31 1.20 1.12 0.76 0.59 0.60 0.22 0.22 0.22
eo 2.00 1.42 1.29 0.97 0.76 0.59 0.39 0.00 0.00 0.00
6 no rewiring eb 0.00 0.00 0.00 0.00 0.22 0.47 0.41 0.22 0.22 0.00
eo 0.00 0.00 0.00 0.00 0.22 0.47 0.41 0.22 0.22 0.00
minimal eb 0.00 0.00 0.00 0.00 0.22 0.46 0.41 0.22 0.22 0.00
eo 0.00 0.00 0.00 0.00 0.22 0.46 0.41 0.22 0.22 0.00
minimal2 eb 0.00 0.37 0.51 0.41 0.52 0.44 0.44 0.00 0.00 0.00
eo 0.00 0.37 0.31 0.00 0.55 0.44 0.44 0.00 0.00 0.00
random eb 1.38 1.21 0.83 0.83 0.59 0.41 0.22 0.00 0.00 0.00
eo 1.29 1.26 0.82 0.83 0.59 0.41 0.22 0.00 0.00 0.00
maximal eb 1.58 1.62 1.40 1.37 1.16 1.38 1.23 1.36 1.15 1.22
eo 1.63 1.63 1.32 1.33 1.20 1.29 1.22 1.43 1.14 1.16
maximal2 eb 2.51 1.96 0.88 1.13 0.76 0.37 0.00 0.22 0.00 0.00
eo 1.89 1.65 0.99 0.75 0.69 0.37 0.00 0.22 0.00 0.00
7 no rewiring eb 0.00 0.00 0.00 0.00 0.22 0.51 0.44 0.31 0.22 0.00
eo 0.00 0.00 0.00 0.00 0.22 0.51 0.44 0.31 0.22 0.00
minimal eb 0.00 0.00 0.00 0.00 0.22 0.51 0.44 0.30 0.22 0.00
eo 0.00 0.00 0.00 0.00 0.22 0.51 0.44 0.30 0.22 0.00
minimal2 eb 0.00 0.37 0.47 0.41 0.59 0.44 0.47 0.00 0.00 0.00
eo 0.00 0.22 0.31 0.31 0.49 0.44 0.47 0.00 0.00 0.00
random eb 1.08 1.31 0.57 0.82 0.59 0.41 0.22 0.00 0.00 0.00
eo 1.02 1.31 0.55 0.82 0.50 0.41 0.22 0.00 0.00 0.00
maximal eb 1.55 1.50 1.32 1.14 1.41 1.04 1.38 1.33 1.57 1.37
eo 1.54 1.48 1.30 1.14 1.38 1.11 1.41 1.37 1.57 1.35
maximal2 eb 2.07 1.89 0.93 1.05 1.31 0.55 0.00 0.00 0.00 0.00
eo 1.85 1.55 1.02 0.93 1.03 0.55 0.00 0.00 0.00 0.00

Table in the paper (without background colors)

We show the number, size, and unique beliefs and opinions in echo chambers:

Out[71]:
no rewiring minimal minimal2 random maximal maximal2
eb 0.19±0.34 0.19±0.34 0.25±0.35 3.04±2.01 5.45±1.84 3.14±2.63
eo 0.19±0.34 0.19±0.34 0.23±0.35 3.04±2.01 6.13±2.59 3.24±2.81
ub 0.19±0.34 0.19±0.34 0.24±0.35 3.02±2.00 4.92±1.88 3.02±2.49
uo 0.19±0.34 0.19±0.34 0.23±0.35 2.88±1.84 4.73±2.06 2.74±2.07

Plot for the paper

The list of pairs of $\varepsilon$, $\delta$, and the seed such that $eo^t$ monotonically increases by changing the rewiring strategy is:

0.05 2 315590
0.05 2 808653
0.05 2 970547
0.05 3 722393
0.05 3 204557
0.05 4 94821
0.05 5 160590
0.05 5 24083
0.05 5 909432
0.05 6 556198
0.05 6 908149
0.05 7 903997
0.05 7 908149
0.1 2 556198
0.1 2 103848
0.1 2 94821
0.1 2 204557
0.1 2 24083
0.1 3 903997
0.1 3 556198
0.1 3 908149
0.1 3 490361
0.1 3 909432
0.1 4 903997
0.1 4 103848
0.1 4 94821
0.1 4 490361
0.1 4 24083
0.1 4 756485
0.1 4 970547
0.1 5 315590
0.1 5 903997
0.1 5 779659
0.1 5 160590
0.1 5 103848
0.1 5 94821
0.1 5 501765
0.1 5 490361
0.1 5 808653
0.1 5 720126
0.1 5 909432
0.1 6 544371
0.1 6 315590
0.1 6 903997
0.1 6 103848
0.1 6 501765
0.1 6 490361
0.1 6 170743
0.1 6 204557
0.1 7 544371
0.1 7 315590
0.1 7 903997
0.1 7 779659
0.1 7 103848
0.1 7 94821
0.1 7 490361
0.1 7 170743
0.1 7 756485
0.1 7 970547
0.15 1 160590
0.15 1 908149
0.15 2 903997
0.15 2 722393
0.15 2 490361
0.15 3 544371
0.15 3 903997
0.15 3 908149
0.15 3 490361
0.15 4 779659
0.15 4 908149
0.15 4 490361
0.15 4 204557
0.15 5 903997
0.15 5 779659
0.15 5 94821
0.15 5 908149
0.15 5 204557
0.15 5 720126
0.15 6 556198
0.15 6 160590
0.15 6 94821
0.15 6 490361
0.15 6 204557
0.15 6 970547
0.15 6 909432
0.15 7 779659
0.15 7 556198
0.15 7 160590
0.15 7 501765
0.15 7 170743
0.15 7 204557
0.15 7 24083
0.15 7 970547
0.2 1 544371
0.2 1 160590
0.2 2 970547
0.2 3 544371
0.2 3 315590
0.2 3 501765
0.2 3 720126
0.2 3 970547
0.2 4 315590
0.2 4 903997
0.2 4 556198
0.2 4 103848
0.2 4 501765
0.2 4 170743
0.2 4 24083
0.2 4 970547
0.2 4 909432
0.2 5 315590
0.2 5 779659
0.2 5 556198
0.2 5 722393
0.2 5 808653
0.2 5 720126
0.2 5 909432
0.2 6 315590
0.2 6 779659
0.2 6 556198
0.2 6 94821
0.2 6 501765
0.2 6 808653
0.2 6 970547
0.2 7 544371
0.2 7 315590
0.2 7 903997
0.2 7 779659
0.2 7 94821
0.2 7 808653
0.2 7 204557
0.2 7 970547
0.25 1 160590
0.25 1 490361
0.25 2 315590
0.25 2 103848
0.25 3 315590
0.25 3 160590
0.25 3 722393
0.25 3 204557
0.25 3 756485
0.25 3 970547
0.25 4 779659
0.25 4 103848
0.25 4 501765
0.25 4 722393
0.25 4 490361
0.25 5 779659
0.25 5 556198
0.25 5 103848
0.25 5 490361
0.25 5 204557
0.25 5 756485
0.25 6 556198
0.25 6 501765
0.25 6 908149
0.25 6 490361
0.25 6 170743
0.25 6 808653
0.25 6 24083
0.25 6 756485
0.25 6 970547
0.25 7 779659
0.25 7 722393
0.25 7 908149
0.25 7 170743
0.25 7 204557
0.25 7 720126
0.25 7 24083
0.3 1 160590
0.3 1 490361
0.3 2 722393
0.3 2 204557
0.3 2 970547
0.3 3 544371
0.3 3 315590
0.3 3 103848
0.3 3 94821
0.3 3 204557
0.3 3 756485
0.3 4 315590
0.3 4 556198
0.3 4 103848
0.3 4 720126
0.3 4 970547
0.3 4 909432
0.3 5 160590
0.3 5 204557
0.3 5 756485
0.3 6 160590
0.35 1 779659
0.35 1 160590
0.35 2 722393
0.35 3 779659
0.35 3 160590
0.35 3 103848
0.35 3 908149
0.35 3 490361
0.35 3 756485
0.35 4 103848
0.35 4 170743
0.35 4 909432
0.35 5 160590
0.35 5 722393
0.35 5 170743
0.35 5 204557
0.35 6 94821
0.35 6 204557
0.35 7 779659
0.35 7 94821
0.35 7 808653
0.35 7 204557
0.4 1 903997
0.4 1 779659
0.4 1 490361
0.4 2 908149
0.4 3 903997
0.4 3 160590
0.4 3 501765
0.4 3 909432
0.4 4 903997
0.4 4 501765
0.4 4 908149
0.4 4 490361
0.4 4 24083
0.4 4 970547
0.4 5 722393
0.4 5 908149
0.45 1 903997
0.45 1 94821
0.45 1 490361
0.45 2 544371
0.45 2 908149
0.45 3 556198
0.45 3 490361
0.45 3 204557
0.45 4 779659
0.45 4 160590
0.45 4 908149
0.45 4 24083
0.5 1 903997
0.5 1 94821
0.5 1 490361
0.5 2 779659
0.5 3 903997
0.5 3 160590
0.5 3 722393
0.5 3 490361
0.5 4 544371
0.5 4 315590
0.5 4 903997
0.5 4 160590
0.5 4 94821
0.5 4 909432

Such pairs for $eb^T$ is:

0.05 1 556198
0.05 1 808653
0.05 3 722393
0.05 4 903997
0.05 5 160590
0.05 5 24083
0.05 6 556198
0.05 6 94821
0.05 6 501765
0.05 7 94821
0.05 7 501765
0.05 7 909432
0.1 2 103848
0.1 2 24083
0.1 3 315590
0.1 3 903997
0.1 3 556198
0.1 3 501765
0.1 3 490361
0.1 3 970547
0.1 3 909432
0.1 4 903997
0.1 4 556198
0.1 4 103848
0.1 4 94821
0.1 4 490361
0.1 4 24083
0.1 4 756485
0.1 4 970547
0.1 5 315590
0.1 5 903997
0.1 5 779659
0.1 5 160590
0.1 5 103848
0.1 5 94821
0.1 5 490361
0.1 5 720126
0.1 5 970547
0.1 5 909432
0.1 6 315590
0.1 6 903997
0.1 6 556198
0.1 6 490361
0.1 6 170743
0.1 7 544371
0.1 7 903997
0.1 7 779659
0.1 7 94821
0.1 7 490361
0.1 7 170743
0.1 7 720126
0.1 7 756485
0.1 7 970547
0.15 2 722393
0.15 2 490361
0.15 2 808653
0.15 2 204557
0.15 3 903997
0.15 3 490361
0.15 4 94821
0.15 4 501765
0.15 4 908149
0.15 4 490361
0.15 5 903997
0.15 5 779659
0.15 5 94821
0.15 5 908149
0.15 5 204557
0.15 5 720126
0.15 6 556198
0.15 6 160590
0.15 6 501765
0.15 6 490361
0.15 6 204557
0.15 6 756485
0.15 6 909432
0.15 7 556198
0.15 7 501765
0.15 7 204557
0.15 7 970547
0.2 2 722393
0.2 2 970547
0.2 3 315590
0.2 3 103848
0.2 4 315590
0.2 4 903997
0.2 4 779659
0.2 4 204557
0.2 4 24083
0.2 4 909432
0.2 5 315590
0.2 5 779659
0.2 5 556198
0.2 5 756485
0.2 5 909432
0.2 6 315590
0.2 6 556198
0.2 6 94821
0.2 6 501765
0.2 7 544371
0.2 7 315590
0.2 7 903997
0.2 7 779659
0.2 7 94821
0.2 7 204557
0.2 7 970547
0.25 1 490361
0.25 2 160590
0.25 2 103848
0.25 2 490361
0.25 3 315590
0.25 3 160590
0.25 3 722393
0.25 3 490361
0.25 3 204557
0.25 3 756485
0.25 3 970547
0.25 4 779659
0.25 4 103848
0.25 4 501765
0.25 4 722393
0.25 4 490361
0.25 5 779659
0.25 5 556198
0.25 5 103848
0.25 5 490361
0.25 5 204557
0.25 5 756485
0.25 6 556198
0.25 6 501765
0.25 6 908149
0.25 6 490361
0.25 6 170743
0.25 6 808653
0.25 6 756485
0.25 6 970547
0.25 6 909432
0.25 7 779659
0.25 7 722393
0.25 7 908149
0.25 7 170743
0.25 7 204557
0.25 7 720126
0.25 7 24083
0.3 1 490361
0.3 2 903997
0.3 2 722393
0.3 2 490361
0.3 2 970547
0.3 3 544371
0.3 3 315590
0.3 3 94821
0.3 3 204557
0.3 3 756485
0.3 4 315590
0.3 4 556198
0.3 4 103848
0.3 4 720126
0.3 4 970547
0.3 4 909432
0.3 5 160590
0.3 5 204557
0.3 5 756485
0.3 6 160590
0.35 1 490361
0.35 2 160590
0.35 2 103848
0.35 2 722393
0.35 2 908149
0.35 3 315590
0.35 3 779659
0.35 3 160590
0.35 3 103848
0.35 3 908149
0.35 3 490361
0.35 3 756485
0.35 4 103848
0.35 4 909432
0.35 5 160590
0.35 5 722393
0.35 5 170743
0.35 5 204557
0.35 6 94821
0.35 6 204557
0.35 7 779659
0.35 7 94821
0.35 7 808653
0.35 7 204557
0.4 2 779659
0.4 2 908149
0.4 3 903997
0.4 3 501765
0.4 4 544371
0.4 4 903997
0.4 4 501765
0.4 4 908149
0.4 4 490361
0.4 4 970547
0.4 5 722393
0.4 5 908149
0.45 2 544371
0.45 2 779659
0.45 2 103848
0.45 3 556198
0.45 3 490361
0.45 3 204557
0.45 4 544371
0.45 4 779659
0.45 4 160590
0.45 4 24083
0.5 2 556198
0.5 3 903997
0.5 3 779659
0.5 3 160590
0.5 3 94821
0.5 3 722393
0.5 3 490361
0.5 3 204557
0.5 4 544371
0.5 4 315590
0.5 4 903997
0.5 4 160590
0.5 4 94821
0.5 4 909432

We choose $\varepsilon=0.15$, $\delta=2$, and the same seed. In addition, in the plots below, two echo chambers coincide except for maxob.

maxnob NOT COINCIDE
opinion ec [{0, 5, 11, 13, 14, 25, 29, 34, 35, 36, 37, 38, 41, 47, 49, 52, 55, 56, 57, 61, 62, 66, 67, 69, 72, 77, 91, 94, 98}, {1, 4, 15, 17, 18, 20, 21, 22, 23, 26, 30, 31, 33, 45, 46, 48, 53, 58, 59, 63, 65, 68, 75, 79, 82, 83, 85, 88, 89, 92, 96, 99}, {97, 2, 40, 78, 80, 60}, {6, 7, 70, 9, 71, 74, 76, 12, 50, 54, 24, 27, 28}, {64, 3, 39, 42, 19, 84, 87, 93}, {32, 10, 43, 44, 81}]
belief ec [{1, 4, 15, 17, 18, 20, 21, 22, 23, 26, 30, 31, 33, 45, 46, 48, 53, 58, 59, 63, 65, 68, 75, 79, 82, 83, 85, 88, 89, 92, 96, 99}, {6, 7, 70, 9, 71, 74, 76, 12, 50, 54, 24, 27, 28}, {64, 3, 39, 42, 19, 84, 87, 93}, {32, 10, 43, 44, 81}]
difference [{0, 5, 11, 13, 14, 25, 29, 34, 35, 36, 37, 38, 41, 47, 49, 52, 55, 56, 57, 61, 62, 66, 67, 69, 72, 77, 91, 94, 98}, {97, 2, 40, 78, 80, 60}]
minnob COINCIDE

The following opinion echo chambers are not belief echo chambers:

  • $\{0, 5, 11, 13, 14, 25, 29, 34, 35, 36, 37, 38, 41, 47, 49, 52, 55, 56, 57, 61, 62, 66, 67, 69, 72, 77, 91, 94, 98\}$
  • $\{97, 2, 40, 78, 80, 60\}$

Note that to display following plots, you need to obtain the experimental raw data from [20260210-BROD] and [20260610-BROD].

Final network with norewiring

Note that this plot is the same as what is displayed in [20260610-BROD].

SCCs=4 (singletons=3), WCCs=1, ECs=0
No description has been provided for this image

Final network with the minimal-oriented rewirings

The final networks are the same as before.

Same beliefs?
minob2-norewiring True
minbo2-norewiring True
Same networks?
minob2-norewiring True
minbo2-norewiring True

Hence, we do not show the final networks from these experiments.

Final network with the random rewiring

They are also the same as [20260610-BROD]

SCCs=14 (singletons=11), WCCs=1, ECs=2
No description has been provided for this image
SCCs=14 (singletons=11), WCCs=1, ECs=2
No description has been provided for this image

Final network with the maximal-oriented rewirings

As seen before, with maxob, opinion echo chambers and belief echo chambers do not coincide. Hence, we show both. The component surrounded by the green line is an opinion echo chamber but not a belief echo chamber.

SCCs=15 (singletons=5), WCCs=7, ECs=9
No description has been provided for this image
SCCs=15 (singletons=5), WCCs=7, ECs=7
No description has been provided for this image

Then, for the final network from maxbo, see [20260610-BROD].

Conclusion

Applying more strict rewiring algorithm creates more echo chambers.

For opinion echo chambers:

$$ \begin{aligned} \text{minbo2}\\ \text{minob2}\\ \text{no rewiring}\\ \textbf{minNbo} \\ \textbf{minNob} \end{aligned} < \begin{aligned} \text{random}\\ \textbf{maxNbo} \end{aligned} \leq \textbf{maxNob} < \begin{aligned} \text{maxob} \\ \text{maxbo} \end{aligned} $$

For belief echo chambers:

$$ \begin{aligned} \text{no rewire}\\ \text{minbo} \\ \text{minob} \\ \textbf{minNbo} \\ \textbf{minNob} \\ \end{aligned} < \textbf{maxNob} \leq \begin{aligned} \text{random} \\ \textbf{maxNbo} \\ \end{aligned} \leq \text{maxob} \leq \text{maxbo} $$

They are almost the same but how many echo chambers are created with maxNob is different.

This file can be retrieved from URL https://sake.re/20260615-BROD