Two standard works that discusss this are Metzger's "Text of the New Testament" and Kurt and Barbara Aland's book of the same name. You might also want to consult selected essays in "Studies In The Theory and Method Of NT Textual Criticism" by Fee and Epp, and Westcott and Hort's "Introduction To The NT In The Original Greek".