affectation vs egotism

affectation

noun
  • An unusual mannerism. 

  • An attempt to assume or exhibit what is not natural or real; false display; artificial show. 

egotism

noun
  • The result or product of being egoistic. 

  • A belief that one is superior to or more important than others. 

  • Egoism (belief that behavior should be directed towards one's self-interest). 

  • A tendency to talk excessively about oneself. 

How often have the words affectation and egotism occurred in a corpus of books? (source: Google Ngram Viewer )