Correlation analysis of two variables in Bi's affair--correlation coefficient

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.