attribute to vs infer from

attribute to

infer from

How often have the words attribute to and infer from occurred in a corpus of books? (source: Google Ngram Viewer )