Friday, November 21, 2014

Really early, very small, printed German literature (in the narrow sense)

If you want to look at the literary works that would have been accessible to the broadest range of people in the fifteenth century, then one place to start is with works printed in the vernacular and in smaller formats. In the vernacular, education is less of a barrier, and in the smaller formats (initially defined as broadsides, octavos, and quartos of less than 48 leaves), the economic challenge of acquiring literature is as low as it gets at the time. To look at the market for these works before printing reorganized the market for texts and the medium of the book, it makes sense to look only as late of 1480.

While I'm actually in favor of an expansive definition of literature and an inclusive approach to the objects of literary study, a narrow definition of literature is sometimes pragmatically necessary. We'll eliminate for now saints' lives and other devotional works, and pragmatic and educational texts (including history, current events, and the natural world).

Given those criteria, the resulting bibliography is quite short. It can be succinctly categorized like this:

Narrative works and literary classics
The first two clearly belong together. The Ackermann is an established part of the literary canon, but it's more similar in some ways to the humanist works below. On the other hand, the Ackermann and Pfaffe Amis have a considerable manuscript tradition, while the Pfarrer von Kahlenberg is only known in print.
  • Der Stricker, Pfaffe Amis (ca. 1478, GW M4411)
  • Philipp Frankfurter, Der Pfarrer von Kahlenberg (ca. 1480, GW 10287)
  • Johannes von Tepl, Der Ackermann von Böhmen (1463-1477, GW 193-198)
Humanist translations
These end up being the works of just two translators: Heinrich Steinhöwel and Nikolaus von Wyle.
  • Heinrch Steinhöwel/Fracesco Petrarca, Griseldis (1470-1480, GW M31576-78, M31580-81, M31583, M3158410, M31597)
  • Heinrch Steinhöwel, Apollonius of Tyre (1471, GW 2273)
  • Leonardus Aretinus/Nikolaus von Wyle, Guiscardus et Sigismunda (1476, GW 5643, 564210N)
  • Aeneas Sylvius Piccolomini/Nikolaus von Wyle, Euryalus et Lucretia (1478, GW M33548)
  • Lucian/Nikolaus von Wyle, Der goldene Esel (1477-1480, GW M18985, M18988)
Hans Folz
For shorter literary works to 1480, Folz only makes it in by two years, but even in that short time he has too many titles to list.
  • Sixteen titles (in seventeen editions) from 1479-80
Border cases
These are works that might be excluded as devotional or educational works under a narrow definition of literature. As I prefer a broad definition, I'll include them here.
  • Die wunderbare Meerfahrt des hl. Brandan (1476, GW 5004)
  • Sibyllen Weissagung (1452, 1475; GW M41981, M41983)
  • Visio Fulberti (1473, GW 10422)
  • Wie Arent Bosman ein Geist erschien (1479, GW 4944)

Friday, November 14, 2014

Georg Meder reads Wilhelm Friess

File this under "things I wish I had seen two years ago."

When writing about prophecies, prognostications, or other sixteenth-century booklets, one naturally wonders who the readers were. (That was the question Xenia von Tippelskirch asked of me and Courtney Kneupper in June at the conference in London about "Dietrich von Zengg.") Usually the only evidence is indirect - who is the printer, what audiences does that printer usually serve, what kinds of demands does the text make on the reader.

But sometimes we have the good fortune of finding someone in the sixteenth century who quotes or cites the work in question. Here, for example, is what Georg Meder says about the second prophecy of Wilhelm Friess in Meder's practica for 1583 (VD16 M 1853, fol. c5r):
Halt auch gentzlich darfür / das derselbige ein gewiser vorbot sein / eines schnellen grossen Kriegsvolcks / so vom Nidergang gegen Mitternacht zuziehen werde / da denn andere mehr Bundsverwandten sich versamlet / und dann mit gemeinem hauffen auff die Berg Israel herein fallen werden. Man lese hievon Wilhelmi Frysii Mastricensis weissagung / so ime von einem Angelo, Anno 77. den 24. Aprilis ist eröffnet worden / und albereit vor lengst in Truck ausgangen ist / und halt hiegegen das 39. und 39. Capitel des Propheten Ezechieleis / und denn auch das 19. und 20. Capitel der Offenbarung Joannis des Evangelisten / so wirdt man endlich befinden / was für jammer sich erheben / und wie Gog und Magog mit all seinem anhang sich wider uns versamlen / und letzlichen nach dem Ezechiele / mit allem solchen grossen hauffen Volcks / vom Himel herab sol nidergelegt und ausgetilget werden. Aber wir Teutschen verachten alle solche warnung / glauben weder den Propheten / noch andern Wunderzeichen / so schier alle tag am Himel und auff Erden sich begeben / ja wol auch den Engeln nicht / und solchs am meisten dise / so andere zu bus vermanen solten. Derhalben wir anders nichts / denn endlichen uberfals Gog und magogs zugewarten haben.
From the date that Meder cites, it's clear that he had read one of the Basel editions printed by Samuel Apiarius, or a copy of one of those editions, probably printed in 1577. Prior editions attribute the vision to 1574, and later ones change the month and year.

For an astrologer, Meder strikes an unusually (but hardly unique) apocalyptic tone. This was not a new development for Meder; one finds similar references in his earlier and alter prognostications. Meder's reading of Wilhelm Friess also appears to begin earlier than 1582. He states in his practica for 1580 (VD16 M 1852, fol. c4r):
[Because of various eclipses and comets,] weiß ich anders nichts zu iudicirn, denn was in fertiger Practica vermeldet / nemlich das ein Occidentischer Potentat / mit hülff etzlicher mitternechtigen und Orientischen Monarhen von mitternacht hero ein unzelich Volck zusammen bringen / und auff die berg Israhel herein fallen / und deß heerlager der heiligen umbringen werden. [Read Ezechiel 38-39 and Revelation 18-19; those who cause this bloodbath will have their reward.] Denn was einmal der liebe Gott von diser grossen und letzten Niderlag und feldschlacht (deren gleiche keine von anfang der welt niemals sich begeben hat) durch seine lieben Propheten und Apostel zuvor verkündiget / wirdt zu diser jetzigen Zeit gewißlich erfüllet werden müssen / wie dann hievon auch neulich ein Prophecey außgangen / in Belgico beschehen / hievon genugsame Zeugniß gibt / und wir gewißlich bessers nichts zu erwarten haben.
The combination of ideas and sources in both practicas is nearly identical, so that it seems that the "Belgian prophecy" is none other than that of Wilhelm Friess of Maastricht. In his practica for 1579 (VD16 M 1851, fol. e4v), Meder explicitly identifies the mountain: "auff den Bergen Israhel / das ist / (wie es denn von allen außgelegt wirdt) in Germania."

Georg Meder is another astrologer about whom not much is known. There are eleven known practicas from him, spanning the years 1577-1599. On the title page, he is described as an astronomer and poet in Kitzingen, and his practica for 1578 (VD16 ZV 22615, fol. a3r) gives Mainbernheim, just south of Kitzingen, as his ancestral origin. The dedications of his practicas suggest a long and difficult search for stable patronage. He dedicated his practica for 1578 to Marggrave Georg Friedrich I of Brandenburg-Ansbach, but for 1579 he dedicated his work to the mayor and city council of Rothenburg ob der Tauber, and to the mayor and city council of Kitzingen the year after that. His practica for 1583 was dedicated to the mayor and city council of Windsheim. For 1597, he dedicated his practica to a lesser nobleman, Johann Fuchs von Dornheim, and for 1599, he refers to a lawyer, Johann Büttner, as his lord and patron. One can't escape the impression of a continuous decline in the status of the patrons to which Meder aspired. His location does not change, however. After his practica for 1577 places him in Dettelsbach, the rest of his practicas give his location as Kitzingen. Meder seems to have been a Lutheran of the Philipist variety, with little good to say about Catholics or Calvinists, while also rejecting the followers of Matthias Flacius.

Friday, November 7, 2014

Astrological prognostications and Bildungsniveaulimbo in the sixteenth century

Now that I've had a chance to check about half of the facsimiles that I discovered, have I found anything interesting? Yes, yes I have.

* * *

One of the constitutive features of practicas, or annual astrological prognostic booklets, is how they identify themselves as a reduced version of some other text. The genre as a whole defines itself as the specific and concrete application of theoretical texts, but practicas also describe themselves as reduced versions of other works. Johannes von Glogau, the first German astrologer whose practicas appeared in print, regularly referred the readers of his Latin prognosticastions to another work for the complete astrological argumentation, usually with a phrase such as Horum omnium cause patent in iudicio maiori. Georg Tannstetter made reference to such a work as late as 1523, but by then most astrologers had switched to referring readers not from a smaller to a larger work, but from a German to a Latin work for the complete astrological reasoning. Interestingly, these longer works with more extensive reasoning do not seem to have been published, and one may wonder if they actually existed. While there are many practicas that were published in both Latin and German translation, the astrological argumentation is usually similar in both. So for their authority, practicas often direct the reader to other texts that are nearly unattainable, if they exist at all.

Even eight-leaf vernacular astrological booklets did not constitute the extreme low end of popular versus learned, however. One of the facsimiles I found this week is VD16 H 3291, an extract from the practica for 1548 of Simon Heuring (see the facsimile here). Looking through VD16, this work appears to be unique, as I don't find any other similar extracts from annual prognostications. Comparing its text to Heuring's complete German practica for 1548 (VD16 H 3290), the extract is clearly based on the complete practica, but the text has been radically shortened. Compare the first sections of each; shared material from the complete practica is underlined, while new or added words in the extract are in bold.

VD16 H 3290 VD16 H 3291
Das Erst Capitel / Von den Planeten so diß 48. Jar regieren und herschen werden. Von Regierung der Planeten.
Auß dem Lauff aller Planetenn / Auch eingang der Sonnenn in die 4. Angel. zeichen / Als da sindt der Wider / Kreps / Wag / unnd Steinbock erlernenn wir / Das in disem 48. Jar abermals Saturnus am geweltigsten sein / Und mit hinwegnemen viler waydlichen leut / Das fürnembst Regiment habenn sol / Mit welchem sehr der gütig Jupiter lauffen / Unnd sein wütenn etwas wirdt miltern wöllenn / Das dieweil er so gar / Nicht allein für sich selbest / Sonder auch auß krafft der grossenn Finsternuß /  Darzu der andern Constellation krefftig / Wenig schaffenn / Dieweil der mars das Zaichenn auch darzu thon / Unnd mit Saturno in sterblicher und blutdürstigender art / einreissenn wird / Gott der almechtig wöll ein genediges einsehen haben / das doch nicht so gar grosser unradt / als höhlich zubesorgen / wie und zum teil gantz wol verdient / volge. In disem Acht und viertzigisten Jar / wird abermals Saturnus / das fürnembst Regiment haben / unnd vil tapffere Leütte hinweg nemen. Unnd wiewol der gütig Jupiter / sein wüten etwas zu miltern begert / So wirdt doch der grimmig Mars / dem Saturno zu hilff / mit sterblicher und blůtdürstiger art / einreyssen. 

It's noteworthy that the extract includes two sections, on human fates and on cities or regions, that do not appear as chapters in Heuring's complete practica. The texts are drawn from his chapter on illness, but are moved to new sections following the section on war. This is exactly where human fates and geographical areas would typically be treated in practicas, for example in those of Johannes Virdung. Heuring's preface, on the other hand, disappears entirely.

From the comparison of the text and other features of just these two editions, we can get a sense of steps that sixteenth-century editors took to adapt texts to less educated and less practiced readers:
  • larger type face
  • fewer lines of text per page
  • smaller text blocks
  • clearer distinction between texts and paratexts
  • simpler syntax, reduction in dependent clauses
  • explicit marking of sentence breaks
  • more certainty in statements about the future, less hedging or ambiguity
  • switch from numbered chapters to topical sections
  • more traditional organization of topics
  • reduction of metadiscourse
One thing that isn't missing from the extract is diglossia, however: Unlike the complete practica, the title page and concluding leaf of the extract include the motto "Iusto, et Spem suam in Domino ponenti, secura sunt omnia" ("All things are assured to the just and he who places his hope in the Lord").

Friday, October 31, 2014

Word, Zotero, Excel, Perl and back: online facsimiles and the digital research process in the humanities (with source code)

At a recent conference on book history and digital humanities in Wolfenbüttel, I was struck by the very different places the presenters were in with respect to adopting digital tools. Some presenters did little more than write their papers using Word, some made use of bleeding-edge visualization tools, and others were everywhere in between. One is not necessarily better than the others, as long as the appropriate tools are being used for the task - some projects just don't require complex visualization strategies. While watching the presentations, it occurred to me that selecting digital tools for my own research is like peeling back the layers of an onion.
For the simplest research projects, Word is enough for taking notes and then turning those notes into a written text. When I write book reviews, for example, I rarely need anything more than Word.

For more complex projects, I use Zotero to manage notes and bibliography, and for creating footnotes. For my forthcoming article on Lienhard Jost, I took several pages of notes in Word. Then I created a subcollection in Zotero that held a few dozen bibliographical sources, some with child notes. When I started writing, I used Zotero to create all the footnotes.

If I have a significant amount of tabular data, however, of if I need to do any calculation, then Excel becomes an essential tool for analysis and information management. If I'm working with more than five or ten editions, I'll create a spreadsheet to keep track of them. For a joint article in progress on "Dietrich von Zengg," I have notes from Word, a Zotero subcollection to manage bibliography and additional notes, and an Excel spreadsheet of 20+ relevant editions (including among other things the date and place of printing, VD16 number, and whether I have a facsimile or not). For establishing the textual history, I start with Word, but I need Excel to keep track of all the variants. I use Zotero again for footnotes as I write the article in Word.

Once I have more than several dozen primary sources, however, neither Excel nor Zotero are sufficient, especially if I need to look at subsets of the primary sources. For Printing and Prophecy, I made a systematic search of GW/ISTC/VD16 for relevant printed editions before 1550 (extended to 1620 for an article I published in AGB), then entered all the information into an Access database. It took months of daily data-entry, and I still update the database whenever I come across something that sounds relevant. For my work now, it's a huge time-saver. If I want to know what prophetic texts were printed in Nuremberg between 1530 and 1540, it takes me about ten seconds to find out, and I can also create much more complex queries. Or if I'm planning to visit Wolfenbüttel and want to find out which printed editions in the Herzog August Bibliothek I've never seen in person or in facsimile, a database search will send me in the right direction. I'll also import tabular data into Access and export tables from Access into Excel based on particular queries, such as the table of all editions attributed to Wilhelm Friess. The Strange and Terrible Visions was an Excel project, but Printing and Prophecy was driven by Access.

For projects that require very specific or complex analysis, or that involve online interaction, Access is not the right tool for me. To create the Access database for "The Shape of Incunable Survival and Statistical Estimation of Lost Editions," I spent several hours writing Perl scripts to query the ISTC and analyze the results. Every so often I'll need to write a new Perl script to extend one of the Access databases that I work with. (One doesn't have to use Perl, of course. Oliver Duntze's presentation involved some very interesting work on typographic history using Python. R and other statistical packages probably belong here, too.)

* * *

Problem: As I'm located a few thousand miles from most of my primary sources, digital facsimiles have become especially important to my work. I check several digitization projects daily for new facsimiles and update my database accordingly. Systematic searching for facsimiles led me to the discovery Lienhard Jost's lost visions, so I've already seen real professional benefit from keeping track of new digital editions. But what if I miss a day or skip over an important title? I might be missing out on something important.

Solution: Create an Access query to check my database and find all the titles in VD16 for which no facsimile is known. Time: 10 seconds. Result: 1,565 editions.
Export the results to Excel, and save them as a text file. Time: 10 more seconds.
Search VD16 for all 1,565 editions by hand and check for new facsimiles? Time: 13 mind-numbing hours?


Instead, write a short Perl script (see below) to read the text file, query the VD16 database, and spit out the VD16 numbers when it finds a link to a digital edition. Time: 1 hour (30 minutes programming, 30 minutes run time). Result: 280 new digital facsimiles that I had overlooked.

To inspect all of those facsimiles and see if they're hiding anything exciting will take a few weeks, but most of the time I spend on it will involve core scholarly competencies of reading and evaluating primary sources, and it will make my knowledge of the sources more comprehensive and complete. In cases like this, digital tools let me get to the heart of my scholarship more efficiently and spend less time on repetitive tasks.

Does every humanist need to know a programming language, as some conference participants suggested? I don't know. We need to constantly acquire or become conversant in new skills, both within and outside our discipline, but sometimes it makes more sense to rely on the help of experts. I don't think it's implausible, however, that before long it will be as common for scholars in the humanities to use programming languages as it is for us to use Excel today.

* * *

After all, if you can learn Latin, Perl isn't difficult.

### This script reads through a list of VD16 numbers (assumed to be named 'vd16.txt' and found in the same directory where the
### script is run, with one entry on each line in the form 'VD16 S 843'). The script loads the corresponding VD16 entry and checks
### to see if a digital facsimile is available. If it is, it prints the VD16 number.

### This script relies on the following Perl modules: LWP

use strict;
use LWP::Simple;    ### For grabbing web pages

my $VD16number;
my $url;
my $baseurl = '';
my $VD16page;
my $formatVD16number;

open FILE , "<VD16.txt";

while (<FILE>) {
    ### Create the URL to check
    ($VD16number) = ($_);
    ### Remove the newlines
    chomp ($VD16number);
    ### Replace spaces with + signs for the durable URL (seems not to be strictly necessary, will accept spaces OK)
    $formatVD16number = $VD16number;
    $formatVD16number =~ s/[ ]/+/g;
    ### Set up the URL we want to retrieve
    $url = $baseurl . $formatVD16number;
### Now load that page
    $VD16page = get $url;
    ### Now look for a facsimile link
    if ($VD16page =~ / {
    ### If we find one, print the VD16 number
        print "$VD16number\n";

Friday, October 24, 2014

Let's learn R: Confidence intervals, and the "So what?" question for history and literary studies

To catch up with the last two posts (one, two): In 2007, Goran Proot and Leo Egghe published an article in Papers of the Bibliographical Society of America (102: 149-74) in which they suggested a method for estimating the number of missing editions of printed works based on surviving copies. In 2008, Quentin Burrell (in Journal of Informetrics 2:101-5) showed that their approach was a special case of the unseen species problem, which has been widely studied in statistics, and suggested a more robust approach based on the statistical literature. The problem is that applying Proot and Egghe's method is within the abilities of most book historians, while applying Burrell's is not. The last few posts have been dedicated to implementing Burrell's approach in R and bringing it within reach of the non-statistician.

The specific estimate that Burrell's method offers is not substantially different from Proot and Egghe's. Burrell's approach does offer two important advantages, however. The first is a confidence interval: within what range are we 95% confident that the actual number of lost or total editions lies? Burrell offers the following formula, where n is the number of editions (804 in Proot and Egghe's data):

This formula in turn relies on the formula for the Fisher information of a truncated Poisson distribution, which Burrell derives for us:

This again looks fearsome, but all we have to do is plug the right numbers into R, with e = Euler's number and λ = .2461 (as we found last time).

Let's define i according to Burrell's equation (5):
> i=(1-(1+.2461)*exp(1)^-.2461)/(.2461*(1-exp(1)^-.2461)^2)
> i
[1] 2.198025

So according to Burrell's equation (4), the confidence interval is .2461 plus or minus the result of this:
> 1.96/(sqrt(804*i))
[1] 0.04662423

Or in other words,
> .2461-1.96/(sqrt(804*i))
[1] 0.1994758
> .2461+1.96/(sqrt(804*i))
[1] 0.2927242

So we expect that there is a 95% chance that the actual fraction of missing editions lies somewhere between .7462 and .8192, which we find in the same way as mentioned in the last post, which also lets us estimate a range for the number of total editions:

> exp(-.1994758)
[1] 0.81916
> exp(-.2927242)
[1] 0.7462279

> 804/(1-exp(-.1994758))
[1] 4445.92
> 804/(1-exp(-.2927242))
[1] 3168.197

The second advantage of using Burrell's method is of fundamental importance: It forces us to think about when we can apply it, and when we can't. We can observe both numerically and graphically that Proot and Egghe's data are a very good fit for a truncated Poisson distribution, and therefore plug numbers into Burrell's equations with a clean conscience. (NB: I have stated in print that a truncated Poisson distribution is a very poor fit for modelling incunable survival, and I think it will usually be a poor model for most situations involving book survival. What to do about that is a problem that still needs to be addressed.)

In addition, Burrell offers a statistical test of how well the truncated Poisson distribution fits the observed data. Burrell's Table 1 compares the observed and the expected number of editions with the given number of copies, to which he applies a chi-square test for goodness of fit. Note, however, that a rule of thumb for chi-square tests is that no category should have five or less observations, and so Burrell combines the number of 3-, 4-, and 5-copy editions into one category.

Can R do this? Of course it can. R was made to do this.

> observed <- c(714,82,8)
> expected <- c(709.11,87.27,7.62)

> chisq.test (observed, p=expected, rescale.p=TRUE)

        Chi-squared test for given probabilities

data:  observed
X-squared = 0.3709, df = 2, p-value = 0.8307

So we derive nearly the same chi-squared value as Burrell does, .371 compared to his .370. My quibble with Burrell is that I can't see how there can be only 1 degree of freedom (df), as Burrell says, rather than 2, or .89 for a p-value rather than .831. The chi-squared value can be anything from zero (for a perfect fit) on up (for increasingly poor fits), while the degrees of freedom is defined as the number of categories (which here are the 1-copy editions, 2-copy editions, or 3/4/5-copy editions) minus one. The p-value ranges from very small (for a terrible fit) up to 1 (for a perfect fit). There is a great deal written about how to apply and interpret the results of a chi-square or other statistical tests, but the values above support the visual impression, as Burrell notes, that Proot and Egghe's data is a very close fit to a truncated Poisson distribution.

* * *

So why should a book historian or scholar of older literature care about any of this? Stated very briefly, the answer is:

For studying older literature, we often implicitly assume that what we can find in libraries today reflects what could have been found in the fifteenth or sixteenth centuries, and that manuscript catalogs and bibliographies of early printing are a reasonably accurate map of the past. But we need to have a clearer idea of what we don't know. We need to understand what kinds of books are most likely to disappear without a trace.

For book history, the question of incunable survival has been debated for over a century, with the consensus opinion holding until recently that a small fraction of editions are entirely unknown. It now seems clear that the consensus view is not correct.

For over seventy years, the field of statistics has been working on ways to provide estimates of unobserved cases, the "unseen species problem." The information that the statistical methods require - the number of editions and copies - is information that can be found, with some effort, in bibliographic databases. The ISTC, GW, VD16, and others are coming closer to providing a complete census and a usable copy count for each edition.

Attempts to estimate lost editions from within the field of book history have taken place independently of the statistical literature. This has only recently begun to change. Quentin Burrell's 2008 article made an important contribution to moving the discussion forward, and he challenged those studying lost books to make use of the method he outlined.

Statistical arguments are difficult for scholars in the humanities to follow, however, and the statistical methods Burrell suggested are difficult for scholars in the humanities to implement. The algebraic formula offered by Proot and Egghe is much more accessible - but limited. We have a statistical problem on our hands, and making progress requires engaging with the statistical arguments.

We can do it. We have to understand the concepts, but humanists are good at grappling with abstractions. We can use R to handle the calculations. These three posts on R and Burrell provide all we need in order to turn copy counts into an estimation of lost editions along with confidence intervals and a test of goodness of fit. Every part of the more robust approach suggested by Burrell is now implemented in R. We could write a script to automate the whole process. This doesn't solve all our problems - there's the problem of most kinds of book survival not being good fits for a Poisson distribution - but it at least gets us caught up to 2008.

Friday, October 17, 2014

Let's learn R: Estimating what we can't see

How amazing is R? It's so amazing that you can throw some data at it and ask R to fit it to a distribution, and R will do it. So let's take Proot and Egghe's data and throw it at a Poisson distribution (like Burrell suggests). For that, we'll need to use the fitdistr() function from the MASS library:

> require(MASS)

Also, we need to set up a vector filled with Proot and Egghe's data by filling it with 714 ones, 82 twos, and so on:
> x<-rep(1,714)
> x<-c(x,rep(2,82))
> x<-c(x,rep(3,84))
> x<-c(x,rep(4,3))
> x<-c(x,rep(5,1))

Let's make sure it looks right:
> table(x)
  1   2   3   4   5
714  82  84   3   1

Now we'll tell it to fit the data to a poisson distribution:

> fitdistr(x,"poisson")

Wow! That was easy. So what do 804 data points (the number of editions in Proot and Egghe's sample) look like in a Poisson distribution with a lamda value of 1.2975? It looks like this, which is nothing like our data:

> hist(rpois(804,1.2975))

What went wrong?

Picking up where we left off: What Proot and Egghe are observing is a truncated Poisson distribution: There are 0-copy editions, and we don't know how many--but they also affect the distribution's defining parameter. Burrell's equations (1) and (2) give the formulas for a truncated Poisson distribution and its log-likelihood function, which is needed for determining the formula for a maximum likelihood estimation (or in other words: estimating the missing editions), which Burrell also provides in (3):

This looks impenetrable, but it isn't so bad: Lamda (λ) is the number we're looking for, e is Euler's number (2.718...), and x-bar is just the average number of copies per edition, 907/804 = 1.1281. So all we have to do is solve for λ...which, as Burrell points out, is not possible by using algebra. It can only be estimated numerically. How are we going to do that?

With R, of course. Here's Burrell's equation (3) in R.

> g <- function (lamda) (lamda/(1-exp(1)^-lamda))-907/804

Now that R knows what the equation is, let's tell R to solve it for us. We have to give R a range to look for the root in. We'll try a range between "very small" and 5, since only values above 0 make sense (we could try a range from -1 to 5 for the same result).

> uniroot(g,c(.0001,5))
[1] 0.2461318

[1] -2.516872e-07

[1] 6

[1] NA

[1] 6.103516e-05

And there's λ = .2461, just like Burrell said it would be. Now that we know λ, we can create Burrell's equation (1) and generate some expected values:

> h <- function (r) (((exp(1)^.2461)-1)^-1)*((.2461^r)/factorial(r))

Between the range of  1 and 5, let's see what we would expect to find, given 804 editions:

> h(seq(1:5))*804
[1] 709.12157887  87.25741028   7.15801622   0.44039695   0.02167634

Graphically, it's clear that there's a close match between what we expect to find and what Proot and Egghe's data - note how closely the red and blue dots are:

> range<-seq(1:5)
> y<-h(range)*804
> plot(x,col="red",pch=19);points(range,y,col="blue",pch=19)

This is an important step, as it tells us that we're not completely mistaken in treating Proot and Egghe's data as a truncated Poisson distribution. Burrell also provides a statistical test of goodness of fit, but we'll come back to that later. Now that we know λ, we can calculate the fraction of 0-copy editions with the formula that Burrell provides on p. 103:

Or in R:

> exp(-.2461)
[1] 0.781844

And there we have it. If there are 804 known editions, then there are 804/(1-.781844) = 3685 missing editions (approximately - we'll look at confidence intervals later).

> 804/(1-exp(-.2461))
[1] 3685.437

So that gives us 3685 + 804 = 4489 total editions. What do we expect a truncated Poisson distribution with a lamda of .2461 and 4489 data points to look like?

> x<-rpois(4489,.2461)
> x<-x[x>0]
> table(x)

  1   2   3   4
850 109   8   1  

> hist(x,breaks=c(0,1,2,3,4))

Now that's more like it:

Next time: Confidence intervals, a quibble with Burrell, and final thoughts.

Friday, October 10, 2014

Egenolff, Grünpeck, and list prophecies

The most significant contribution to the formation of a canon of fifteenth- and sixteenth-century German prophecies was probably that of the Frankfurt printer Christian Egenolff the Elder. After a brush with the law in Strasbourg in the early 1530s, Egenolff moved to Frankfurt and became one of the leading publishers of popular vernacular literature. Between 1531 and 1537, Egenolff published a collection of sibylline prophecies, Zwölff Sibyllen Weissagungen, along with some additional material (VD16 Z 941-945). A decade later, Egenolff expanded the collection significantly by adding the work of Johannes Lichtenberger, Johann Carion, and Paracelsus (VD16 P 5065-5066, P 5068). Reprints of both the smaller and the larger collections appear through the end of the sixteenth century and into the seventeenth and even eighteenth centuries.

While working on Printing and Prophecy, I wanted to consult the 1537 edition (VD16 Z 945), but by itself it didn't seem enough to justify a trip to Wolfenbüttel when obtaining a facsimile would be cheaper - but then, after I was back in the U.S., I learned the the condition of the volume was too fragile for the Herzog August Bibliothek to digitize it. Now that I've had a chance to look at it, it turns out to contain a few surprises.

The collection is the first of Egenolff's to include a work by Josef Grünpeck, but it isn't the same work that shows up in the expanded 1548-50 editions (that work, Von der Reformation der Christenheyt und der Kirchen, is known only from the latest Egenolff collections). For the 1537 sibylline collection, Egenolff instead included Grünpeck's Prognosticum of 1532 (VD16 G 3634-3640, ZV 7115, ZV 23147), making the 1537 Egenolff collection the latest edition of that work. Since the Prognosticum didn't foresee much left of the world's future after 1540, Egenolff in 1548 reached farther back to find a more timely work by Grünpeck.

The other unusual feature of the 1537 edition is that it claims to include a work by Filippo Cattaneo, identifed as being "vom Thurn auß Italia." Another prognostication attributed to Cattaneo appeared in 1535 (VD16 C 1725) - but that is not the work included by Egenolff in 1537. Instead, the work that appears in the 1537 collection is a set of terse prophecies for 1537-1550. The basic structure is a governing planet and year, the abundance of oil, wine, and grain, and then an additional brief prognostication. For example:
Mon 1537.
Ols wenig
Weins abgang
Treydt wenig
Zwitracht der Fürsten.
The interesting thing is what happens when you look only at the year and last line:
Mon 1537. Zwitracht der Fürsten
Mars 1538. Vil pestilent in allen landen
Mercurius 1539. Krieg undern Christen
Jupiter 1540. Sterben der Fürsten
Saturnus 1541. Frid in allen landen
Sonn 1542. Außbruch der verschlossen juden
Mon 1543. Juden wider die Christen
Mars 1544. Juden von Christen überwunden
Jupiter 1545. Falsche Propheten
Venus 1546. Vil laster und übels
Saturnus 1547. Kranckheyt der Pestilentz
Sonn 1548. Ein heylger man
1549. Wütten der ungleubigen
1550. Durch disen heyligen man werden alle unglaubigen zum glauben bekert / Als dann würdt werden ein Schaffstal / ein Hirt / und ein Herr / der die gantze welt under seine Herrschafft bringen und regieren würdt. Unnd als dann würdt das Gülden alter herfür kommen.
This looks to me very much like a predecessor of the list prophecy for 1570-80. Compare "Sterben der Fürsten" with "Pastor non erit," or "Ein heylger man" with "Surget maximus vir," or the culmination in "ein Schaffstal / ein Hirt / und ein Herr" with "unum ovile et unus pastor." All of these are common prophetic tropes, of course, but their combination in a list rather than a narrative suggests there may be some direct influence.

The set of people who are interested in Joseph Grünpeck, Christian Egenolff, and the list prophecy for 1570-80 may be somewhat restricted. But for those people, VD16 Z 945 is an extremely interesting edition.