For example, "the higher the intelligence of the Three Kingdoms, the higher the politics", or "whether the higher the Force, the higher the command;"
Prepare the data Analysis environment:
SELECT * from FactSanguo11 WHERE inch (n' xunyu ', n' zhow ', n' brag ' , n' cheng Yufan ', n' guo Jia ' )
Cao Wei adviser, refers to Xunyu, Zhow, brag, Cheng Yufan, Guo Jia five people. Because these five people have great contribution to the establishment and consolidation of Cao Wei forces, so they are called Cao Wei adviser.
Scatter maps of "intelligence" and "politics"
Once we've made the charts, we can see if they are associated with the two variables.
But! How high is the relevance of it? It's a pity! We have no way of knowing exactly how the two relate. What should we do then?
Usually the graph is combined and then the indicator values that represent the degree of association of the 2 variables are calculated.
Analysis Conclusion:
The correlation coefficient between intelligence and politics is 0.5418, which is a little weak;
The correlation coefficient of force and command is 0.8802, the correlation is a bit strong;
Correlation analysis of two variables in Bi's affair--correlation coefficient