Gravitational Attraction
What would happen if two people out in space a few meters apart, abandoned by their spacecraft, decided to wait until gravity pulled them together? My initial thought was that …
In #religion
It is said that a published work without the code is little more than an advertisement. It is for this reason that I try to make sure that I publish all of the code needed reproduce any work that I do, and encourage all researchers to do the same.
I recently had to go through Richard Carrier's In Richard Carrier’s On the Historicity of Jesus[@carrier2014historicity] the author calculates the probability of the historicity of Jesus, , and Jesus mythicism, . Although his numbers are sometimes based on quantitative estimates, many are not. His probability is contained in the summary tables in his book.[@carrier2014historicity, p. 597]. Unfortunately, the tables are all scattered through the book and he doesn't explicitly lay out the equations for the final calculation. Here, as an exercise, I show his full calculation and in the process developed some Python code to make such calculations and their presentation easier.
Note that the term ‘prior probability’ here depends on what one calls evidence – the posterior of one calculation becomes the prior for the next – because it is ‘prior’ to new evidence. Unlike Carrier, we prefer to make explicit the evidence used at all steps, even from the start.
Carrier’s prior probability is based on a reference class consisting of two defining features,
Here Carrier uses a set of 14 Rank-Raglan heroes and proceeds to calculate the probability of historicity in two ways: a charitable-to-historicity calculation (a fortiori) with 4 out of the 14 historical and a non-charitable calculation (a judicantiori) with 0 out of the 14 historical. The data Carrier uses for these cases is shown in the following table:
a fortiori | a judicantiori | |
---|---|---|
Historical | ||
Non-historical | ||
Total |
Carrier then applies Laplace's Rule of Succession[@Jaynes2003] to calculate the relevant probabilities. Laplace's Rule of Succession arises from the process of estimating a proportion, , given "successes" out of total samples (e.g. flipping heads out of a total flips of a coin). The mean value of the proportion, , assuming a uniform distribution for is
Intuitively, this is the fraction of successes one would observe if, in addition to the actual data, we have one extra "success" and one extra "failure".
Applied to Carrier’s own calculations, we get a charitable-to-historicity (a fortiori) calculation: We also get a non-charitable (a judicantiori) calculation:
Another way to do the same calculation (giving the same result, as expected) is to write out a full Bayes' theorem formulation for , and using an uninformative prior on given that we're talking about people from Mediterranean antiquity, . In this formulation, the Rank-Raglan feature () is now evidence and Carrier's "prior" is a posterior on that evidence. This has the advantage of being able to handle some data that is independent of and some that is dependent on which we will see below.
As a matter of process, we choose to calculate Bayes' Theorem in three steps as described in [@Blais:2014aa]:
We find this makes the layout of the calculation more consistent and clear, and as a bonus, we rely less on posterior ratios.
This approach yields identical results -- as it should.^[E.T. Jaynes refers to this as "equivalent states of knowledge must have equivalent probability assignments."]
For completeness we show the result of Carrier's original posterior calculation, using evidence he presents in [@carrier2014historicity], which we denote as . While Carrier's prior probability calculation was based on counts of texts, the rest of his calculations come from his personal judgments on specific aspects of the texts. His calculations involve looking at Extrabiblical texts, Acts of the Apostles, the Gospels, and the Epistles of Paul. He further assumes the statistical independence of all of these individual judgments, which may be questionable. We won't explore these problems here, but proceed to reproduce his calculation as-is. The procedure is then
The following table shows each prior or likelihood ratio for this entire process, both for the charitable and the uncharitable calculations.
a fortiori | a judicantiori | Source | |
---|---|---|---|
prior (,) | 1/2 | 1/15 | Prior |
Twin traditions | 4/5 | 1/2 | Extrabiblical |
Documentary silence | 1 | 1 | Extrabiblical |
1 Clement | 4/5 | 1/2 | Extrabiblical |
Ignatius and Ascension of Isaiah | 4/5 | 1/2 | Extrabiblical |
Papias | 1 | 1 | Extrabiblical |
Hegesippus | 9/10 | 4/5 | Extrabiblical |
Josephus | 1 | 1 | Extrabiblical |
Pliny | 1 | 1 | Extrabiblical |
Tacitus | 1 | 1 | Extrabiblical |
Suetonius | 1 | 1 | Extrabiblical |
Thallus | 1 | 1 | Extrabiblical |
Lack of gainsaying witnesses | 1 | 1 | Extrabiblical |
Vanishing family et al. | 4/5 | 2/5 | Acts |
Omissions in Paul's trials | 9/10 | 1/2 | Acts |
Remainder of Acts | 1 | 1 | Acts |
Reasons | 1 | 1 | Gospels |
Other canonical Epistles | 4/5 | 3/5 | Epistles |
Gospels in Paul, Hebrews, Colossians | 3/5 | 2/5 | Epistles |
Things Jesus said | 1 | 1 | Epistles |
The Eucharist (1 Cor. 11.23-26) | 1 | 1 | Epistles |
Things Jesus did | 3/4 | 1/2 | Epistles |
Made from sperm | 2 | 1 | Epistles |
Made from a woman | 2 | 1 | Epistles |
Brothers of the Lord | 2 | 1/2 | Epistles |
One thing about this calculation is that it is fairly long and quite tedious. There are a number of places it can go wrong. Updating with new data becomes a challenge of bookkeeping, and it is a challenge to make sure that the equations written match the data and the numerical results without typos or missing terms. This is the sort of thing that computers do quite well - tedious and systematic calculations and presentations.
I put all the code here: https://github.com/bblais/Reproduce-Richard-Carrier-Calculations
The code allows me to do:
PP={'h|e_1,e_2':[ ['e_2|h,e_1',LS(N_h,N),['N_h','N']],
['h|e_1',F(1,2),'1/2']],
'\\neg h|e_1,e_2':[
['e_2|\\neg h,e_1',LS(N_m,N),['N_m','N']],
['\\neg h|e_1',F(1,2),'1/2']
],
}
vals,S=P_to_display2(PP)
to generate Markdown with all of the steps written out, and the calculations done:
1. $$\begin{aligned}
P(h|e_1,e_2)&\sim \underbrace{P(e_2|h,e_1)}_{\left(\frac{N_h+1}{N+2}\right)} \cdot \underbrace{P(h|e_1)}_{1/2}\\
P(\neg h|e_1,e_2)&\sim \underbrace{P(e_2|\neg h,e_1)}_{\left(\frac{N_m+1}{N+2}\right)} \cdot \underbrace{P(\neg h|e_1)}_{1/2}\\
\end{aligned}$$
$$\begin{aligned}
P(h|e_1,e_2)&\sim \left(\frac{N_h+1}{N+2}\right) \cdot 1/2\\
& \sim \left(\frac{4+1}{14+2}\right) \cdot 1/2 = 0.1562\\
P(\neg h|e_1,e_2)&\sim \left(\frac{N_m+1}{N+2}\right) \cdot 1/2\\
& \sim \left(\frac{10+1}{14+2}\right) \cdot 1/2 = 0.3438\\
\end{aligned}$$
2. $$\begin{aligned}
T_{\text{denominator}}&=0.1562 + 0.3438 = 0.5000\end{aligned}$$
3. $$\begin{aligned}
P(h|e_1,e_2)& =0.1562/0.5000=0.3125\\
P(\neg h|e_1,e_2)& =0.3438/0.5000=0.6875\\
\end{aligned}$$
which looks like