I used the Gutenberg EBook of the King James Bible, and manually copied each of the books of the Old Testament (other than Psalms, which is a collection written by several authors), and compared them to one another by:
1) Average length of words 2) Average length of sentences
3) Words in common used 4) Frequency of common function words
5) Word lengths ratio (short:medium) 6) Word lengths ratio (long:medium)
7) Frequency of unique words
Then, I decided that for each comparison if two texts were closer to one another than at least 3/4 of all other text comparisons, then they might have similar authorship. I ran all of the above tests for each text comparison, and when they returned at least 5/7 successes, I determined that they may have the same authorship.