by Qem · 2y ago · 0 comments
> Around 10% of Gaza's journalists have been killed versus 2.5% of healthcare workers.
These figures are insane! The number of journalists killed crossed the threshold where Gaza journalists can be declared officially decimated, according to the historical definition of the term as 1/10 killed[1]. I noticed if we plot the journalist killings against general population killings in Gaza, the graph deviates from an approximately straight line that might be expected if journalists were merely being killed as a result of "collateral damage" amidst indiscriminated bombings, and I got nerd sniped[2] by the question: Do data give any clues Israel purposefully targets journalists, beyond the large values[3]?
After spending some days grappling with it, I think the shape of data supports it, as displayed here:
Graph: https://imgur.com/a/SWNSYOn Journalist killing data: https://pastebin.com/S1ykpSMR (from https://en.wikipedia.org/wiki/List_of_journalists_killed_in_...) General population killing data: https://pastebin.com/EGq6cgH8 (from https://www.ochaopt.org/)
Discussion:
Looking at the plot of the ratio of journalists killed by israeli forces over all killed, it appears to be slightly decreasing over time instead of keeping constant. My working hypothesis is, as journalists are dispoportionally targeted, their numbers get comparatively depleted over time, making slightly harder to kill more journalists. This can be modelled as an urn problem[4], when each ball colour has different odds of being drawn, in addition to being present in different numbers. But instead of black/white balls, we have people, and instead of being drawn out from an urn, they are drawn out of life, by being shot at[5], shelled, bombed, run over by bulldozers[6], et cetera. The urn problem with different weights on each color can be modeled by a noncentral hypergeometric distribution[7], either Wallenius' noncentral hypergeometric distribution[8], for the case where balls are sampled one by one in such a way that there is competition between the balls, or Fisher's noncentral hypergeometric distribution[9], for the case where the balls are sampled simultaneously or independently of each other.
There's some disagreement on published numbers of killed journalists. For example, the Comitee to Protect Journalists counts around 90 jornalists killed[10]. The Euro-Med Monitor over 130[11]. I'm not sure about the causes of this disagreement, but I suspect is due to who is counted as journalist, only people that actualy write reports and give face and voice to established news sources, or also their supporting crews (camera men, fixers, drivers...) and freelancers. In doubt I used data extracted from a table given by wikipedia[12], that is closer to the more conservative estimate given by CPJ and lists individual names and sources. The pattern of journalists killed each day in the dataset (1, 3, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 2, 2, 2, 1, 1, 2, 1, 2, 6, 1, 2, 1, 2, 1, 2, 1, 4, 2, 1, 3, 1, 1, 2, 1, 1, 1, 3, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1) indicates they're taken down mostly one at a time, and even large individual massacres, like the recent flour bag massacre[13], kills less than 1/10000 of the total population from Gaza Strip each, so Wallenius' distribution should approximate it better. In fact, it appears it is more likely for journalists to be killed together with their families at home than together with other journalists doing fieldwork, as we can infer by reading the entries in the description field of the table. For the figures on the whole strip, I collected daily reports published in the site of United Nations Office for the Coordination of Humanitarian Affairs (OCHA), and scraped some barcharts[14].
1/3 (continues)
I think this assumption is wrong. Journalists are known to try to get the most shocking photos and reports. I would expect their rates of injury compared to random Joes in similar situations to be similar to that of people doing extreme sports compared to people doing recreational sports.
For example, iirc Palestine health authority reports the names of all the civilians[0] that have been killed. I think the number is something like 30k. I frequently wonder if that number is simply exaggerated, as it would be in Palestine's interest to do so. However, if the number is supported by a corresponding list of the names of individuals, I would think the Israeli intelligence services would be incentivised and capable of refuting a significant enough number of false claims[1] to cast serious doubt upon the claimed number of civilian deaths.
To my knowledge, Israel has not done so, and so I don't doubt the number too much.
[0] As noted, it is extremely challenging to pin down whether or not someone is 'Hamas'. I assume Palestine is reporting all deaths as civilian, in the same way Israel seems to report them all as combatant.
[1] whether it is an individual that does not exist, perished prior to Oct 7. '23, or is still alive.
But the uncertainty here probably is dominated by uncertainty in the inputs. I used the lower estimates for journalists deaths, about 90 on 01/03. But some organizations publish figures as high as 130. The uncertainty in total deaths also high, I would not be surprised if 1.5-2x higher, given all missing people.
The best fit I got over the search grid had an effective journalist population of 155 and odds ratio of 75:1. As the data is noisy, I took the top 20 matches to have some idea of error intervals, and got ranges of 135 - 205 effective population and 51 - 96 odds ratio. The odds ratio is larger than our estimate for Hamas militants, indicating that in fact Israeli forces are busier targeting journalists than Hamas militants. Even if we assume the total kill counts are underestimates, given all people missing under the rubble and lack of proper rescue work due to targeting of rescue crews, say, adding a xs = [2*x for x in xs] line after the first definition of xs, to double the total counts, we still get killing odds for journalists equal or greater than for militants.
[1]. https://en.wikipedia.org/wiki/Decimation_(punishment) [2]. https://xkcd.com/356/ [3]. https://www.reuters.com/world/middle-east/global-media-outle... [4]. https://en.wikipedia.org/wiki/Urn_problem [5]. https://www.bbc.com/news/world-middle-east-68445973 [6]. https://euromedmonitor.org/en/article/6202/Israeli-tanks-hav... [7]. https://en.wikipedia.org/wiki/Noncentral_hypergeometric_dist... [8]. https://en.wikipedia.org/wiki/Wallenius%27_noncentral_hyperg... [9]. https://en.wikipedia.org/wiki/Fisher%27s_noncentral_hypergeo... [10]. https://cpj.org/2024/03/journalist-casualties-in-the-israel-... [11]. https://twitter.com/EuroMedHR/status/1761121386347516095 [12]. https://en.wikipedia.org/wiki/List_of_journalists_killed_in_... [13]. https://en.wikipedia.org/wiki/Al-Rashid_humanitarian_aid_inc... [14]. https://www.ochaopt.org/ [15]. https://docs.scipy.org/doc/scipy/reference/generated/scipy.s... [16]. https://www.instagram.com/byplestia/p/Cz9MfelKk3x/ [17]. https://english.ahram.org.eg/News/516373.aspx [18]. https://www.timesofisrael.com/us-said-to-believe-israel-kill...
2/3 (Continues)
import csv
from collections import Counter
from datetime import date, timedelta
from itertools import accumulate, islice
from matplotlib import pyplot as plt
from scipy.stats import nchypergeom_wallenius
from statistics import linear_regression
def batched(iterable, n):
# batched('ABCDEFG', 3) --> ABC DEF G
if n < 1:
raise ValueError('n must be at least one')
it = iter(iterable)
while batch := tuple(islice(it, n)):
yield batch
def dateab(a, b):
# Lists dates from day a to day b.
i = 0
while (c := a + timedelta(days = i)) <= b:
yield c.isoformat()
i += 1
def reader(file):
with open(file, newline='', encoding='utf-8') as csvfile:
for row in csv.reader(csvfile, delimiter=';', quotechar='"'):
yield row[0:2]
def sum_absdiff(iter1, iter2):
# Compute absolute differences sum between vectors, as error measure.
return sum(abs(x - y) for x, y in zip(iter1, iter2))
days = list(dateab(date(2023, 10, 7), date(2024, 3, 1)))
weeks = [e for e in batched(days, 7) if len(e) == 7]
total_killings = [(d, int(n)) for d, n in islice(reader('gs_cummulative_total_killings.csv'), 1, None)]
d = dict(total_killings)
xs = list(max(d.setdefault(e, 0) for e in week) for week in weeks)
journalist_killings = [t[0] for t in reader('gaza_strip_journalists_killed.csv')]
c = Counter(journalist_killings)
ys = list(accumulate(sum(c.setdefault(e, 0) for e in week) for week in weeks))
slope, intercept = linear_regression(xs, ys, proportional=True)
fitted = [slope * x + intercept for x in xs]
print('Linear regression parameters: slope =', slope, ';', 'intercept =', intercept, '\n')
M = 2375259 # 2022 population estimate (source: https://en.wikipedia.org/wiki/Gaza_Strip)
ns = [i for i in range(1, 1200) if i % 5 == 0]
odds = [i for i in range(1, 100) if i % 3 == 0]
candidate_store = {}
for n in ns:
for odd in odds:
L = []
for x in xs:
r = nchypergeom_wallenius(M, n, x, odd).mean()
L.append(r)
candidate_store[(n, odd)] = L[:]
best_wallenius_fit = min(candidate_store, key= lambda e: sum_absdiff(candidate_store[e], ys))
print('n, odds (best Wallenius fit):', best_wallenius_fit, '\n')
top_20 = sorted(candidate_store, key= lambda e: sum_absdiff(candidate_store[e], ys))[:20]
print('Top 20 (n, odds):', top_20, '\n')
top_20_ns = [e[0] for e in top_20]
top_20_odds = [e[1] for e in top_20]
print('Top 20 n variation in range:', min(top_20_ns), '-', max(top_20_ns))
print('Top 20 odds variation in range:', min(top_20_odds), '-', max(top_20_odds))
fig, ax1 = plt.subplots()
ax1.plot(xs, ys, label='Available data')
ax1.plot(xs, fitted, label='Linear regression fit')
ax1.plot(xs, candidate_store[best_wallenius_fit], label='Wallenius\' distribution fit')
ax1.set_xlabel('General population (source: ochaopt.org)')
ax1.set_ylabel('Journalists (source: wikipedia.org)')
ax1.set_title('Cummulative killings by Israeli forces in Gaza Strip\n2023-10-07 to 2024-03-01')
ax1.legend()
plt.show()
Output (in addition to figure above): Python 3.11.8 (main, Feb 7 2024, 00:00:00) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)] on linux
Type "help", "copyright", "credits" or "license()" for more information.
========== RESTART: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ==========
Linear regression parameters: slope = 0.00344597608865967 ; intercept = 0.0
n, odds (best Wallenius fit): (155, 75)
Top 20 (n, odds): [(155, 75), (160, 72), (145, 84), (165, 69), (170, 66), (150, 78), (175, 63), (140, 87), (135, 93), (150, 81), (185, 60), (140, 90), (180, 60), (190, 57), (195, 54), (200, 54), (135, 96), (180, 63), (205, 51), (185, 57)]
Top 20 n variation in range: 135 - 205
Top 20 odds variation in range: 51 - 96