CaliforniaKid wrote:There are always tradeoffs. The Jockers method homogenizes each author corpus into a single average, and then compares this average to small blocks of Book of Mormon text. This obscures differences that may exist between texts in the author's known corpus. (In fact, my Oliver Cowdery sample currently consists of two letters, and they have radically different word prints. They are closer to Chris Smith's average word print and to Joseph Smith's average word print, respectively, than they are to each other.) At least in comparing author averages to large, average Book of Mormon samples, we're comparing apples to apples.
The Jocker's word print has 110 parameters, yours has ten. And if I understand your method, you average that down to one figure. The Jockers word list was repeatedly tested with split-half testing of known documents to determine which set of words gave the most accurate
differentiation between the known authors. You are not comparing apples to apples at all.
for what it's worth I disagree with Marg that there was more to the Jockers' conclusion than their study findings alone (if that was what she was actually saying). Their hypothesis was based on reports of the work of other authors appearing in the BoMor, but their findings stand alone as results of their statistical investigation.
There are free programs on the Internet that will perform Delta authorship analysis, the best-known being
Signature. However, the present version of Signature relies largely on measures that don't work for the Book of Mormon, such as sentence and paragraph length. I actually programmed my own statistical tool for this study, which I can tweak and customize at will in order to account for new variables or perform different kinds of analyses.
Are you following the Jockers' methodology though? You cannot arbitrarily change their methodology then claim to have 'disproved' it. You have changed an important feature by using a very short list of 'function words', which is essential to your genre theory, but to change any more that that, you are introducing too many confounds to allow comparison. Have you tested to see whether your function words actually differentiate between your known authors? The point of Jockers' study is that the words they use have been tested and shown to differentiate between the authors at about 90% accuracy. Without knowing how well your function words do this, it is impossible to calculate the probability of getting the results you got and thus see how useful they are.
The methodology is strongly similar to the Jockers methodology, except that I'm focusing on "function words" rather than extending the number of studied words to include less frequent, presumably more contextual words like "power" and "king". Basically, it works let this. For each sample text/author corpus, we generate an average word frequency for each of the words being studied. We then transform these separate word frequencies into what's called a z-score (the purpose of which is basically to "weight" each word vector equally). We then find the "distance" between the author z-score and the sample text z-score for that vector. And then, finally, we average all the "distances" for the various word vectors together in order to get an average "distance" between the two texts. The author with the lowest "distance" score for a sample text is theoretically the most probable author of that text. Scores under "1" indicate that the text falls within the standard deviation for that author.
Can you explain what you used to calculate Z-scores and why - this calculation is not part of delta which uses relative frequencies.
However, NSC does do this for each of the 110 words across known all samples. Assuming you used all your samples to calculate z-scores, you have then obliterated any 'word-print' pattern by combining the z-scores into what is effectively a single 'difference' (distance) score. Another critical feature of Jockers' NSC work is that the scores for each word are compared separately to get a pattern across the target vocab - one author may use 'and' at twice the normal rate, another 'the' - in your analysis they will have the same 'distance' score. This is directly related to the original development of NSC as a classification tool in genetic analysis. Your analysis obliterates the 'print', and would be unable to detect and weigh different author prints within a target sample. You need to provide some heavy justification for 'lumping' as opposed to the 'splitting' Jockers method describes.
In sum, I think you have changed too many features to claim to have either replicated Jockers, or to have performed a delta test.
Critical features you need to address are:
Validating your target word list before applying the test
Conducting analysis which looks at the use of each target word, (the word-print), not a single difference score (basically, just applying delta according to Jockers' method but using your validated wordlist).
Using chapters instead of books (which you say you are moving on to).
-------------------------------------------------
Here is Jockers' method from the pre-print (I know it is a lot to post, but their pre-print is available free from Jockers' site now). Note that most of it concentrates on validating the wordlist, which is critical to the analysis:
Jockers' Method:
Methodology
As described in the previous section, our data consist
of 239 samples of unknown authorship (corresponding
to chapters from the Book of Mormon) and
217 samples written by seven known authors. We
refer to this analysis as the ‘seven-author case’. The
number of text samples used for this analysis is
as follows: Cowdery (nineteen), Pratt (fifty-three),
Rigdon (twenty-three), Spalding (seventeen),
Isaiah-Malachi (seventy), Barlow (twelve), and
Longfellow (twenty-three). We used a set of 110
words or ‘features’, obtained in three steps:
(1) We selected the words that occurred at least
once in the samples from each author and
also at least once in the Book of Mormon.
This resulted in a set of 521 words.
(2) We selected the subset of these 521 words that
have a mean relative frequency, across the
456 samples, of at least 0.1%. This resulted
in a set of 114 words.
(3) We removed the words ‘god’, ‘ye’, ‘thy’, and
‘behold’, as these occurred at much higher
frequencies in texts relating to biblical subject
matter.
The resulting list of 110 words is available in
Appendix B.31
In order to compute delta scores and apply
NSC, we first converted the 110 word counts for
each text into relative word frequencies. For NSC,
we formatted the data as a matrix of dimension
456 x 110 (number of samples by number of
words). We subtracted out the mean from each
column and divided the entries in each column
by the standard deviation for that column. We
then applied NSC to the data, using the ‘pamr’
(Prediction Analysis for Microarrays) package that
is freely available on the R-statistical software
website.32
Both delta and NSC involve the selection of
tuning parameters. For both methods, this tuning
parameter determines the number of words to
include in the classifier. In order to determine the
success rates of NSC and delta at classifying chapters
of known authorship, and in order to select a
value for the tuning parameters, we performed
cross-validation. Roughly speaking, cross-validation
is performed as follows, for a range of values of the
tuning parameter:
(1) Randomly split the samples of known authorship
into two sets: a ‘training set’, containing
most of the samples, and a ‘test set’, containing
a smaller portion of the samples.
(2) Perform the classification method of interest
(either delta or NSC) for a given value of the
tuning parameter, training on the training set
and testing on the test set.
(3) Compute the error fraction from the number
of misclassified test set samples.
Cross-validation allowed us to estimate the error
that we would obtain if we tried to classify the
samples of known authorship using NSC and delta.
The above process was repeated multiple times, and
the average misclassification error rate recorded.
The lowest delta error rate of 11.1% was obtained
using ninety words. This means that if we used delta
to classify a new sample written by one of the seven
known authors, then the probability of correct classification
would be 88.9%. The lowest NSC error
rate was obtained when all 110 words were included;
the error rate was 8.8%. This means that we would
expect to classify correctly a new sample written
by one of the seven candidate authors 91.2% of
the time. Since there are seven candidate authors,
a classifier that selected an author completely at
random would give a correct classification rate of
1/7 or 14.3%, and an average misclassification error
rate of 6/7, or 85.7%. Therefore, the low error rates
obtained using NSC and delta are impressive. The
fact that NSC results in lower error rates indicates
that this method is appropriate for authorship attribution,
and may in this case be superior to delta.
Using delta, five of the 239 chapters of the
Book of Mormon were incorrectly assigned to control
author Longfellow (none to Barlow), an error
rate of 2.1%. Using NSC, only two chapters
were assigned incorrectly to Longfellow (none to
Barlow), an error rate of 0.8%. To provide best
estimates of individual chapter authorship for
the five authors who are linked historically to the
Book of Mormon (Spalding, Rigdon, Cowdery, and
Pratt) or who are known to have contributed
(Isaiah-Malachi), we also performed a second delta
and NSC analysis (hereafter referred to as the ‘fiveauthor
case’) in which we omitted the Barlow and
Longfellow control texts. In the five-author case,
the lowest NSC error rate was obtained using 108
words (listed in Appendix B)