python 卡方检验_Python-卡方检验

python 卡方检验_Python-卡方检验_第1张图片

python 卡方检验

Python-卡方检验 (Python - Chi-Square Test)

Chi-Square test is a statistical method to determine if two categorical variables have a significant correlation between them. Both those variables should be from same population and they should be categorical like − Yes/No, Male/Female, Red/Green etc. For example, we can build a data set with observations on people's ice-cream buying pattern and try to correlate the gender of a person with the flavour of the ice-cream they prefer. If a correlation is found we can plan for appropriate stock of flavours by knowing the number of gender of people visiting.

卡方检验是一种统计方法,用于确定两个类别变量之间是否具有显着相关性。 这些变量都应来自相同的人群

你可能感兴趣的:(python,numpy,数据分析,机器学习,数据挖掘)