The Itching Palm: A Study of the Habit of Tipping in America by Scott, William R. (William Rufus)
 is a Project Gutenberg book, now on Github.