<human>:  When was the first statistical analysis done?
<bot>: The first statistical analysis was done by Karl Pearson in 1884. Pearson developed the first method for analyzing correlation between variables. He was also the first to use the term "correlation" in his paper, "On lines and planes of closest fit to systems of points."