lack of confidence vs perplexity

lack of confidence

perplexity

noun
  • The state or quality of being perplexed; puzzled or confused. 

  • Something that perplexes. 

  • In information theory, a measurement of how well a probability distribution or model predicts a sample. 

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