Springer Verlag published a general-reader statistics book in the 1980s that had a chapter on using computer programs to analyze literary style. Literary style has its own fingerprints that can identify who wrote what.
The Springer Verlag book told how it was used to determine who wrote the various Federalist Papers originally published under pseudonyms.
Later, such a computer program was used to help prove that Ed Klein was "Anonymous" who wrote the book on the Clinton campaign.
But I haven't seen any such analysis to compare Obama's books to Bill Ayers' writing style. In any event, there was no MSM publicity, unlike the Ed Klein case.
Joe Klein
Analysis was done, IIRK, that said Obama’s ‘successful’ book (DReams of my father?) was very much in Ayers’ style.